| 1 |
From: "Gill, Vern" <[email protected]> |
| 2 |
Date: Fri, 9 Mar 2001 18:43:30 -0800 |
| 3 |
Subject: New Module for MRTG |
| 4 |
|
| 5 |
-----BEGIN PGP SIGNED MESSAGE----- |
| 6 |
Hash: SHA1 |
| 7 |
|
| 8 |
I have "hacked" together a module for iptables. I used the ipchainacc |
| 9 |
1.1.0 from the contrib directory. Here's the scoop; |
| 10 |
Requires Perl |
| 11 |
|
| 12 |
There is one argument required, and it can be any of the following; |
| 13 |
filter |
| 14 |
nat |
| 15 |
mangle |
| 16 |
You may extend the functionality, but it also requires editing the |
| 17 |
script. To use, place the following in your mrtg.cfg; |
| 18 |
Target[iptables]: `/path-to/iptables-accounting argument` |
| 19 |
|
| 20 |
The script is probably ugly to perl gurus, but for a guy who has |
| 21 |
never used perl, I think it's pretty good. |