~ubuntu-branches/ubuntu/trusty/ntop/trusty

« back to all changes in this revision

Viewing changes to l7-patterns/irc.pat

  • Committer: Bazaar Package Importer
  • Author(s): Ola Lundqvist
  • Date: 2008-06-15 14:38:28 UTC
  • mfrom: (2.1.11 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080615143828-oalh84nda2hje4do
Tags: 3:3.3-11
Correction of Polish translation encoding, closes: #479490. Thanks
to Christian Perrier <bubulle@debian.org> for the help.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 
 
15
irc
 
16
# First thing that happens is that the client sends NICK and USER, in 
 
17
# either order.  This allows MIRC color codes (\x02-\x0d instead of
 
18
# \x09-\x0d).
 
19
^(nick[\x09-\x0d -~]*user[\x09-\x0d -~]*:|user[\x09-\x0d -~]*:[\x02-\x0d -~]*nick[\x09-\x0d -~]*\x0d\x0a)
 
20