Blame contrib/ipchainacc/README

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