path: root/src/usr/local/share/protocols/ssdp.pat
diff options
Diffstat (limited to 'src/usr/local/share/protocols/ssdp.pat')
1 files changed, 21 insertions, 0 deletions
diff --git a/src/usr/local/share/protocols/ssdp.pat b/src/usr/local/share/protocols/ssdp.pat
new file mode 100644
index 0000000..d2de92d
--- /dev/null
+++ b/src/usr/local/share/protocols/ssdp.pat
@@ -0,0 +1,21 @@
+# SSDP - Simple Service Discovery Protocol - easy discovery of network devices
+# Pattern attributes: good slow notsofast
+# Protocol groups: networking ietf_draft_standard
+# Wiki:
+# Copyright (C) 2008 Matthew Strait, Ethan Sommer; See ../LICENSE
+# This pattern was tested only by listening to a Linksys WRT54G. However,
+# I expect it works in general given the simplicity of the protocol.
+# SSDP packets should _always_ be sent to the multicast address
+#, making this pattern irrelevant. (Moreover, SSDP
+# packets should be resitricted to local networks that have plenty of
+# bandwidth.) However, Microsoft, as usual, has other ideas, so maybe
+# it could be useful. Can't hurt, anyway. :-)
+^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
OpenPOWER on IntegriCloud