~ubuntu-branches/ubuntu/wily/tcpspy/wily

« back to all changes in this revision

Viewing changes to tcpspy.rules

  • Committer: Bazaar Package Importer
  • Author(s): Pablo Lorenzzoni
  • Date: 2002-01-25 00:00:00 UTC
  • Revision ID: james.westby@ubuntu.com-20020125000000-acrs0yl4g2xchacd
Tags: 1.7d-1
* Fixes a crash with an empty ruleset.
* Fixes the split rule problem.
* Fixes the /proc/net/tcp incompatibility problem (Closes: #115613).
* The upstream said that he is out of time to release v2.0, so he'll
  get the 1.x series a little far than originally expected.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# tcpspy.rules for tcpspy Debian GNU/Linux package
 
2
# Written by Pablo Lorenzzoni <spectra@linuxbr.com.br>
 
3
 
4
# Lines containing a # will be ignored. Blank lines too.
 
5
#
 
6
# Rule Syntax - this is a copy of tcpspy.rules(5)
 
7
#       A rule may be  specified  with  the  following  comparison
 
8
#       operators:
 
9
#
 
10
#       user uid
 
11
#              True  if the local user initiating or accepting the
 
12
#              connection has the effective user id uid.
 
13
#
 
14
#       user "username"
 
15
#              Same as above, but using a username  instead  of  a
 
16
#              user id.
 
17
#
 
18
#       lport port
 
19
#              True  if  the  local end of the connection has port
 
20
#              number port.
 
21
#
 
22
#       lport [low] - [high]
 
23
#              True if the local end of the connection has a  port
 
24
#              number  greater  than or equal to low and less than
 
25
#              or equal to high.  If the form low- is  used,  high
 
26
#              is assumed to be 65535.  If the form -high is used,
 
27
#              low is assumed to be 0. It is an error to omit both
 
28
#              low and high.
 
29
#
 
30
#       lport "service"
 
31
#              Same  as  above,  but  using  a  service  name from
 
32
#              /etc/services instead of a port number.
 
33
#
 
34
#       rport  Same as lport but compares the port number  of  the
 
35
#              remote end of the connection.
 
36
#
 
37
#       laddr n.n.n.n[/m.m.m.m]
 
38
#              Interpreted  as  a  "net/mask"  expression; true if
 
39
#              "net" is equal to the  bitwise  AND  of  the  local
 
40
#              address of the connection and "mask". If no mask is
 
41
#              specified,  a  default  mask  with  all  bits   set
 
42
#              (255.255.255.255) is used.
 
43
#
 
44
#       raddr  Same as laddr but compares the remote address.
 
45
#
 
46
#       exe "pattern"
 
47
#              True  if the full filename (including directory) of
 
48
#              the executable that created/accepted the connection
 
49
#              matches  pattern, a glob(7)-style wildcard pattern.
 
50
#
 
51
#              The pattern "" (an empty  string)  matches  connec-
 
52
#              tions  created/accepted  by  processes  whose  exe-
 
53
#              cutable filename is unknown.
 
54
#
 
55
#              If the -p option is not specified, a  warning  mes-
 
56
#              sage  will  be printed, and the result of this com-
 
57
#              parison will always be true.
 
58
#
 
59
# By default this file is empty. This means tcpspy will log everything
 
60
#