Project

General

Profile

Download (988 Bytes) Statistics
| Branch: | Tag: | Revision:
1
# SSDP - Simple Service Discovery Protocol - easy discovery of network devices
2
# Pattern attributes: good slow notsofast
3
# Protocol groups: networking ietf_draft_standard
4
# Wiki: http://www.protocolinfo.org/wiki/SSDP
5

    
6
# This pattern was tested only by listening to a Linksys WRT54G. However,
7
# I expect it works in general given the simplicity of the protocol.
8

    
9
# SSDP packets should _always_ be sent to the multicast address
10
# 239.255.255.250, making this pattern irrelevant.  (Moreover, SSDP
11
# packets should be resitricted to local networks that have plenty of
12
# bandwidth.)  However, Microsoft, as usual, has other ideas, so maybe
13
# it could be useful.  Can't hurt, anyway. :-)
14
#
15
# http://www.upnp.org/download/draft_cai_ssdp_v1_03.txt
16
# http://msdn.microsoft.com/library/default.asp?url=/library/en-us/randz/protocol/ssdp.asp
17

    
18
ssdp
19
^notify[\x09-\x0d ]\*[\x09-\x0d ]http/1\.1[\x09-\x0d -~]*ssdp:(alive|byebye)|^m-search[\x09-\x0d ]\*[\x09-\x0d ]http/1\.1[\x09-\x0d -~]*ssdp:discover
20

    
(83-83/109)