2005-11-18 16:17:27 +00:00
|
|
|
# MSN Messenger - Microsoft Network chat client
|
2007-11-19 23:07:00 +00:00
|
|
|
# Pattern attributes: good slow notsofast
|
|
|
|
# Protocol groups: chat proprietary
|
|
|
|
# Wiki: http://www.protocolinfo.org/wiki/MSN_Messenger
|
2009-05-01 15:20:34 +00:00
|
|
|
# Copyright (C) 2008 Matthew Strait, Ethan Sommer; See ../LICENSE
|
2005-11-18 16:17:27 +00:00
|
|
|
#
|
2007-11-19 23:07:00 +00:00
|
|
|
# Usually uses TCP port 1863
|
2005-11-18 16:17:27 +00:00
|
|
|
# http://www.hypothetic.org/docs/msn/index.php
|
2007-11-19 23:07:00 +00:00
|
|
|
# http://msnpiki.msnfanatic.com/
|
2005-11-18 16:17:27 +00:00
|
|
|
#
|
2007-11-19 23:07:00 +00:00
|
|
|
# This pattern has been tested and is believed to work well.
|
2005-11-18 16:17:27 +00:00
|
|
|
|
|
|
|
msnmessenger
|
2007-11-19 23:07:00 +00:00
|
|
|
|
|
|
|
# First branch: login
|
|
|
|
# ver: allow versions up to 99.
|
|
|
|
# I've never seen a cvr other than cvr0. Maybe this will be trouble later?
|
|
|
|
# Can't anchor at the beginning because sometimes this is encapsulated in
|
|
|
|
# HTTP. But either way, the first packet ends like this.
|
|
|
|
# Second/Third branches: accepting/sending a message
|
|
|
|
# I will assume that these can also be encapsulated in HTTP, although I have
|
|
|
|
# not checked. Example of each direction:
|
|
|
|
# ANS 1 quadong@hotmail.com 1139803431.29427 17522047
|
|
|
|
# USR 1 quadong@hotmail.com 530423708.968145.366138
|
|
|
|
|
|
|
|
# Branches are written entirely separately for better performance.
|
|
|
|
ver [0-9]+ msnp[1-9][0-9]? [\x09-\x0d -~]*cvr0\x0d\x0a$|usr 1 [!-~]+ [0-9. ]+\x0d\x0a$|ans 1 [!-~]+ [0-9. ]+\x0d\x0a$
|
|
|
|
|