~ubuntu-branches/ubuntu/trusty/ntop/trusty

« back to all changes in this revision

Viewing changes to l7-patterns/fasttrack.pat

  • Committer: Bazaar Package Importer
  • Author(s): Ola Lundqvist
  • Date: 2008-06-15 14:38:28 UTC
  • mfrom: (2.1.11 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080615143828-oalh84nda2hje4do
Tags: 3:3.3-11
Correction of Polish translation encoding, closes: #479490. Thanks
to Christian Perrier <bubulle@debian.org> for the help.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# FastTrack - P2P filesharing (Kazaa, Morpheus, iMesh, Grokster, etc)
 
2
# Pattern quality: good notsofast
 
3
#
 
4
# Tested with Kazaa Lite Resurrection 0.0.7.6F
 
5
#
 
6
# This appears to match the download connections well, but not the search
 
7
# connections (I think they are encrypted :-( ).
 
8
#
 
9
# Please post to l7-filter-developers@lists.sf.net as to whether it works 
 
10
# for you or not.  If you believe it could be improved please post your 
 
11
# suggestions to that list as well. You may subscribe to this list at 
 
12
# http://lists.sourceforge.net/lists/listinfo/l7-filter-developers
 
13
 
 
14
fasttrack
 
15
# while this is a valid http request, this will be caught because
 
16
# the http pattern matches the response (and therefore the next packet)
 
17
# Even so, it's best to put this match earlier in the chain.
 
18
# http://cvs.berlios.de/cgi-bin/viewcvs.cgi/gift-fasttrack/giFT-FastTrack/PROTOCOL?rev=HEAD&content-type=text/vnd.viewcvs-markup
 
19
 
 
20
# This pattern is kinda slow, but not too bad.
 
21
^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]?
 
22
 
 
23
# This isn't much faster:
 
24
#^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]?
 
25