summaryrefslogtreecommitdiffstats
path: root/usr/local/share/protocols/soulseek.pat
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/share/protocols/soulseek.pat')
-rw-r--r--usr/local/share/protocols/soulseek.pat16
1 files changed, 16 insertions, 0 deletions
diff --git a/usr/local/share/protocols/soulseek.pat b/usr/local/share/protocols/soulseek.pat
new file mode 100644
index 0000000..4385141
--- /dev/null
+++ b/usr/local/share/protocols/soulseek.pat
@@ -0,0 +1,16 @@
+# Soulseek - P2P filesharing - http://slsknet.org
+# Pattern attributes: good fast fast
+# Protocol groups: p2p
+# Wiki: http://www.protocolinfo.org/wiki/Soulseek
+#
+# All my tests show that this pattern is fast, but one user has reported that
+# it is slow. Your milage may vary.
+
+# This has been tested and works for "pierce firewall" commands and file
+# transfers. It does *not* match all the various sorts of chatter that go on,
+# such as searches, pings and whatnot.
+
+soulseek
+# (Pierce firewall: in theory the token could be 4 bytes, but the last two
+# seem to always be zero.|download: Peer Init)
+^(\x05..?|.\x01.[ -~]+\x01F..?.?.?.?.?.?.?)$
OpenPOWER on IntegriCloud