[Shorewall-users] SHorewall and Accounting Scripts

Christian Lox lox@netzwerkplanet.de
Sun, 21 Apr 2002 13:20:51 +0200

Hi everyone!

First of all: Big thanks to Tom for this great work!!

Now on to my qestion:

I am using Shorewall among other machines on an new server where we 
need some kind of accounting.

The script we would like to use for this is iam 

The docs say:
Alternatively you can use your own iptables script and only add the 
'dump' option, which should do:
    DATE=`date '+%Y%m%d%H%M%S'
    echo "START $DATE" >> $DUMPFILE
    iptables -vnxZ -L --line-numbers -t filter >> $DUMPFILE
    echo "END $DATE" >> $DUMPFILE

What is the right place in the shorewall files to place this?

Thanks in advance,