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

« back to all changes in this revision

Viewing changes to l7-patterns/socks.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
# SOCKS Version 5 - Firewall traversal protocol - RFC 1928
 
2
# Pattern quality: marginal fast
 
3
# Usually runs on port 1080
 
4
# Also useful: http://www.iana.org/assignments/socks-methods
 
5
#
 
6
# This pattern is untested!  If it does works for you, does not work for
 
7
# you, or you believe it could be improved, please post to
 
8
# l7-filter-developers@lists.sf.net This list may be subscribed to at
 
9
# http://lists.sourceforge.net/lists/listinfo/l7-filter-developers
 
10
 
 
11
# method request, no private methods    \x05[\x01-\x08]*
 
12
# method reply, assumes sucess          \x05[\x01-\x08]?
 
13
# method dependent sub-negotiation      .*
 
14
# request, ipv4 only                    \x05[\x01-\x03][\x01\x03].*
 
15
# reply                                 \x05[\x01-\x08]?[\x01\x03].*
 
16
 
 
17
# username/password method
 
18
# u/p request, assuming reasonable usernames and passwords
 
19
# \x05[\x02-\x10][a-z][a-z0-9\-]*[\x05-\x20][!-~]*
 
20
# server reply
 
21
# \x05
 
22
 
 
23
# GSSAPI method
 
24
# client initial token          \x01\x01\x02.*
 
25
# server reply                  \x01\x01\x02.*
 
26
 
 
27
# any other method  .* (all methods boil down to this until we have information
 
28
# about all the commonly used ones)
 
29
 
 
30
socks
 
31
\x05[\x01-\x08]*\x05[\x01-\x08]?.*\x05[\x01-\x03][\x01\x03].*\x05[\x01-\x08]?[\x01\x03]