1# Jabber (XMPP) - open instant messenger protocol - RFC 3920 - http://jabber.org
2# Pattern attributes: good notsofast notsofast
3# Protocol groups: chat ietf_proposed_standard
4# Wiki: http://www.protocolinfo.org/wiki/Jabber
5#
6# This pattern has been tested with Gaim and Gabber.  It is only tested 
7# with non-SSL mode Jabber with no proxies.
8
9# Thanks to Jan Hudec for some improvements.
10
11# Jabber seems to take a long time to set up a connection.  I'm
12# connecting with Gabber 0.8.8 to 12jabber.org and the first 8 packets
13# is this:
14# <stream:stream to='12jabber.com' xmlns='jabber:client'
15# xmlns:stream='http://etherx.jabber.org/streams'><?xml
16# version='1.0'?><stream:stream
17# xmlns:stream='http://etherx.jabber.org/streams' id='3f73e951'
18# xmlns='jabber:client' from='12jabber.com'>
19#
20# No mention of my username or password yet, you'll note.
21
22jabber
23<stream:stream[\x09-\x0d ][ -~]*[\x09-\x0d ]xmlns=['"]jabber
24