Project

General

Profile

Download (767 Bytes) Statistics
| Branch: | Tag: | Revision:
1
# IRC - Internet Relay Chat - RFC 1459
2
# Pattern attributes: great veryfast fast
3
# Protocol groups: chat ietf_proposed_standard
4
# Wiki: http://www.protocolinfo.org/wiki/IRC
5
#
6
# Usually runs on port 6666 or 6667
7
# Note that chat traffic runs on these ports, but IRC-DCC traffic (which
8
# can use much more bandwidth) uses a dynamically assigned port, so you 
9
# must have the IRC connection tracking module in your kernel to classify
10
# this.
11
#
12
# This pattern has been tested and is believed to work well.
13

    
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)
19

    
(44-44/109)