1
0

irc.pat 891 B

1234567891011121314151617181920
  1. # IRC - Internet Relay Chat - RFC 1459
  2. # Pattern quality: good veryfast
  3. #
  4. # Usually runs on port 6666 or 6667
  5. # Note that chat traffic runs on these ports, but IRC-DCC traffic (which
  6. # can use much more bandwidth) uses a dynamically assigned port, so you
  7. # must have the IRC connection tracking module in your kernel to classify
  8. # this.
  9. #
  10. # This pattern has been tested and is believed to work well. If it does not
  11. # work for you, or you believe it could be improved, please post to
  12. # l7-filter-developers@lists.sf.net . This list may be subscribed to at
  13. # http://lists.sourceforge.net/lists/listinfo/l7-filter-developers
  14. irc
  15. # First thing that happens is that the client sends NICK and USER, in
  16. # either order. This allows MIRC color codes (\x02-\x0d instead of
  17. # \x09-\x0d).
  18. ^(nick[\x09-\x0d -~]*user[\x09-\x0d -~]*:|user[\x09-\x0d -~]*:[\x02-\x0d -~]*nick[\x09-\x0d -~]*\x0d\x0a)