You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
1.2 KiB
26 lines
1.2 KiB
19 years ago
|
# Bittorrent - P2P filesharing / publishing tool - http://www.bittorrent.com
|
||
16 years ago
|
# Pattern attributes: good slow594 notsofast undermatch
|
||
17 years ago
|
# Protocol groups: p2p open_source
|
||
|
# Wiki: http://www.protocolinfo.org/wiki/Bittorrent
|
||
16 years ago
|
# Copyright (C) 2008 Matthew Strait, Ethan Sommer; See ../LICENSE
|
||
19 years ago
|
#
|
||
17 years ago
|
# This pattern has been tested and is believed to work well.
|
||
|
# It will, however, not work on bittorrent streams that are encrypted, since
|
||
16 years ago
|
# it's impossible to match (well) encrypted data.
|
||
17 years ago
|
|
||
19 years ago
|
bittorrent
|
||
|
|
||
|
# Does not attempt to match the HTTP download of the tracker
|
||
|
# 0x13 is the length of "bittorrent protocol"
|
||
17 years ago
|
# Second two bits match UDP wierdness
|
||
|
# Next bit matches something Azureus does
|
||
|
# Ditto on the next bit. Could also match on "user-agent: azureus", but that's in the next
|
||
|
# packet and perhaps this will match multiple clients.
|
||
16 years ago
|
# bitcomet-specific strings contributed by liangjun.
|
||
17 years ago
|
|
||
|
# This is not a valid GNU basic regular expression (but that's ok).
|
||
16 years ago
|
^(\x13bittorrent protocol|azver\x01$|get /scrape\?info_hash=get /announce\?info_hash=|get /client/bitcomet/|GET /data\?fid=)|d1:ad2:id20:|\x08'7P\)[RP]
|
||
17 years ago
|
|
||
|
# This pattern is "fast", but won't catch as much
|
||
|
#^(\x13bittorrent protocol|azver\x01$|get /scrape\?info_hash=)
|