• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..15-Nov-2011-

READMEH A D26-Feb-2002739 2116

ipchainaccH A D04-Jul-20022.5 KiB9124

README

1From: Ilya Konstantinov <future@galanet.net>
2Date: 06 Sep 2000 18:53:33 -0200
3
4I have tweaked the ipchainacc perl script provided in MRTG's contrib for our
5own use at our LUG, and I thought the rest of the users might find my
6changes helpful.
7
8Changes:
91. Made it account BYTES instead of PACKETS, like it used to do before.
102. It now accepts (optional) two command-line arguments to make it
11return results for the 2nd etc. rules in the chain, so for example,
12I can insert rules into the 'acctin' and 'acctout' chains which'll match
13traffic with destination and source (respectively) port set to 80, so I
14could
15see how much traffic passes through HTTP only.
16
17so:
18ipchainacc 1 1
19should return counters of 2nd acctin and 2nd acctout rules.
20
21