diff --git a/docs/Accounting.xml b/docs/Accounting.xml index 37d98e462..bec8bc483 100644 --- a/docs/Accounting.xml +++ b/docs/Accounting.xml @@ -344,5 +344,27 @@ gateway:~# For a command synopsis: iptaccount --help + + /sbin/shorewall also supports a show + ipa command (from my own gateway just after I flushed the + counters using iptaccount -f -l.: + + gateway:~# shorewall show ipa +Shorewall 4.4.18-Beta1 per-IP Accounting at gateway - Thu Feb 10 13:28:37 PST 2011 + +Showing table: loc-net +IP: 172.20.1.146 SRC packets: 9 bytes: 574 DST packets: 9 bytes: 770 + +Showing table: dmz-net +IP: 70.90.191.124 SRC packets: 243 bytes: 23726 DST packets: 248 bytes: 39036 +IP: 70.90.191.125 SRC packets: 73 bytes: 10640 DST packets: 73 bytes: 4846 + +Showing table: fw-net +IP: 70.90.191.121 SRC packets: 0 bytes: 0 DST packets: 4 bytes: 243 +IP: 70.90.191.122 SRC packets: 11 bytes: 1338 DST packets: 8 bytes: 5465 +IP: 70.90.191.123 SRC packets: 42 bytes: 4604 DST packets: 44 bytes: 10662 + +gateway:~# +