add layer7 patterns to iptables-mod-filter
[openwrt-10.03/.git] / package / iptables / files / l7 / jabber.pat
1 # Jabber (XMPP) - an open instant messenger protocol - http://jabber.org
2 # Pattern quality: good fast
3 #
4 # This pattern has been tested with Gaim and Gabber.  It is only tested 
5 # with non-SSL mode Jabber with no proxies.  If it does not
6 # work for you, or you believe it could be improved, please post to 
7 # l7-filter-developers@lists.sf.net .  This list may be subscribed to at
8 # http://lists.sourceforge.net/lists/listinfo/l7-filter-developers
9
10 # Thanks to Jan Hudec for some improvements.
11
12 # Jabber seems to take a long time to set up a connection.  I'm
13 # connecting with Gabber 0.8.8 to 12jabber.org and the first 8 packets
14 # is this:
15 # <stream:stream to='12jabber.com' xmlns='jabber:client'
16 # xmlns:stream='http://etherx.jabber.org/streams'><?xml
17 # version='1.0'?><stream:stream
18 # xmlns:stream='http://etherx.jabber.org/streams' id='3f73e951'
19 # xmlns='jabber:client' from='12jabber.com'>
20 #
21 # No mention of my username or password yet, you'll note.
22
23 jabber
24 <stream:stream[\x09-\x0d ][ -~]*[\x09-\x0d ]xmlns=['"]jabber