Blame contrib/iptables-accounting/README
|
Packit |
667938 |
From: "Gill, Vern" <vgill@technologist.com>
|
|
Packit |
667938 |
Date: Fri, 9 Mar 2001 18:43:30 -0800
|
|
Packit |
667938 |
Subject: New Module for MRTG
|
|
Packit |
667938 |
|
|
Packit |
667938 |
-----BEGIN PGP SIGNED MESSAGE-----
|
|
Packit |
667938 |
Hash: SHA1
|
|
Packit |
667938 |
|
|
Packit |
667938 |
I have "hacked" together a module for iptables. I used the ipchainacc
|
|
Packit |
667938 |
1.1.0 from the contrib directory. Here's the scoop;
|
|
Packit |
667938 |
Requires Perl
|
|
Packit |
667938 |
|
|
Packit |
667938 |
There is one argument required, and it can be any of the following;
|
|
Packit |
667938 |
filter
|
|
Packit |
667938 |
nat
|
|
Packit |
667938 |
mangle
|
|
Packit |
667938 |
You may extend the functionality, but it also requires editing the
|
|
Packit |
667938 |
script. To use, place the following in your mrtg.cfg;
|
|
Packit |
667938 |
Target[iptables]: `/path-to/iptables-accounting argument`
|
|
Packit |
667938 |
|
|
Packit |
667938 |
The script is probably ugly to perl gurus, but for a guy who has
|
|
Packit |
667938 |
never used perl, I think it's pretty good.
|