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
|
# Copyright (C) 2008 Matthew Strait, Ethan Sommer; See ../LICENSE
|
6
|
|
7
|
# This pattern was tested only by listening to a Linksys WRT54G. However,
|
8
|
# I expect it works in general given the simplicity of the protocol.
|
9
|
|
10
|
# SSDP packets should _always_ be sent to the multicast address
|
11
|
# 239.255.255.250, making this pattern irrelevant. (Moreover, SSDP
|
12
|
# packets should be resitricted to local networks that have plenty of
|
13
|
# bandwidth.) However, Microsoft, as usual, has other ideas, so maybe
|
14
|
# it could be useful. Can't hurt, anyway. :-)
|
15
|
#
|
16
|
# http://www.upnp.org/download/draft_cai_ssdp_v1_03.txt
|
17
|
# http://msdn.microsoft.com/library/default.asp?url=/library/en-us/randz/protocol/ssdp.asp
|
18
|
|
19
|
ssdp
|
20
|
^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
|
21
|
|