fasttrack.pat 1.2 KB

12345678910111213141516171819202122
  1. # FastTrack - P2P filesharing (Kazaa, Morpheus, iMesh, Grokster, etc)
  2. # Pattern attributes: good slow notsofast
  3. # Protocol groups: p2p
  4. # Wiki: http://www.protocolinfo.org/wiki/Fasttrack
  5. #
  6. # Tested with Kazaa Lite Resurrection 0.0.7.6F
  7. #
  8. # This appears to match the download connections well, but not the search
  9. # connections (I think they are encrypted :-( ).
  10. fasttrack
  11. # while this is a valid http request, this will be caught because
  12. # the http pattern matches the response (and therefore the next packet)
  13. # Even so, it's best to put this match earlier in the chain.
  14. # http://cvs.berlios.de/cgi-bin/viewcvs.cgi/gift-fasttrack/giFT-FastTrack/PROTOCOL?rev=HEAD&content-type=text/vnd.viewcvs-markup
  15. # This pattern is kinda slow, but not too bad.
  16. ^get (/.download/[ -~]*|/.supernode[ -~]|/.status[ -~]|/.network[ -~]*|/.files|/.hash=[0-9a-f]*/[ -~]*) http/1.1|user-agent: kazaa|x-kazaa(-username|-network|-ip|-supernodeip|-xferid|-xferuid|tag)|^give [0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]?[0-9]?[0-9]?
  17. # This isn't much faster:
  18. #^get (/.download/.*|/.supernode.|/.status.|/.network.*|/.files|/.hash=[0-9a-f]*/.*) http/1.1|user-agent: kazaa|x-kazaa(-username|-network|-ip|-supernodeip|-xferid|-xferuid|tag)|^give [0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]?[0-9]?[0-9]?