iam - iptables accounting monster
What is iam?
iptables accounting monster (iam) is a traffic reporting tool for iptables.
Currently it can generate daily reports in plain text and HTML format, or
summaries of these daily reports for a complete month or year.
IP traffic (2001-08-01..2001-08-31):
| traffic |
cost |
description |
|
| 2465.3 MB |
|
local (local network) |
| 586.4 MB |
|
intevation (Intevation office) |
| 3051.7 MB |
|
free of charge |
| |
|
|
| 1770.8 MB |
88.54 DM |
www (http/https/caudium) |
| 1531.7 MB |
76.58 DM |
cvs (grass-cvs) |
| 1423.8 MB |
71.19 DM |
ip_local_port_range (probably FTP) |
| 1307.3 MB |
65.37 DM |
ftp (FTP (without passive data)) |
| 203.8 MB |
10.19 DM |
mail (smtp) |
| 0.7 MB |
0.03 DM |
misc (ssh, dns, identd) |
| 0.6 MB |
0.03 DM |
outgoing (without other listed services) |
| 0.0 MB |
0.00 DM |
rsync (rsync server (not backup)) |
| 6238.6 MB |
311.93 DM |
internet services |
| |
|
|
| 0.2 MB |
0.01 DM |
related (related connections) |
| 0.2 MB |
0.01 DM |
unknown (not in any chain) |
| 0.0 MB |
0.00 DM |
fragment (fragmented packets) |
| 0.4 MB |
0.02 DM |
other traffic (unspecified) |
|
Sample plain text report:
IP traffic (2001-08-01..2001-08-31):
====================================
| traffic | cost | description |
+-----------+-----------+------------------------------------------+
| 2465.3 MB | | local (local network) |
| 586.4 MB | | intevation (Intevation office) |
+-----------+-----------+------------------------------------------+
| 3051.7 MB | | free of charge |
+-----------+-----------+------------------------------------------+
| | | |
| 1770.8 MB | 88.54 DM | www (http/https/caudium) |
| 1531.7 MB | 76.58 DM | cvs (grass-cvs) |
| 1423.8 MB | 71.19 DM | ip_local_port_range (probably FTP) |
| 1307.3 MB | 65.37 DM | ftp (FTP (without passive data)) |
| 203.8 MB | 10.19 DM | mail (smtp) |
| 0.7 MB | 0.03 DM | misc (ssh, dns, identd) |
| 0.6 MB | 0.03 DM | outgoing (without other listed services) |
| 0.0 MB | 0.00 DM | rsync (rsync server (not backup)) |
+-----------+-----------+------------------------------------------+
| 6238.6 MB | 311.93 DM | internet services |
+-----------+-----------+------------------------------------------+
| | | |
| 0.2 MB | 0.01 DM | related (related connections) |
| 0.2 MB | 0.01 DM | unknown (not in any chain) |
| 0.0 MB | 0.00 DM | fragment (fragmented packets) |
+-----------+-----------+------------------------------------------+
| 0.4 MB | 0.02 DM | other traffic (unspecified) |
+-----------+-----------+------------------------------------------+
|
|