[Shorewall-users] SHorewall and Accounting Scripts
Sun, 21 Apr 2002 06:30:24 -0700 (PDT)
On Sun, 21 Apr 2002, Christian Lox wrote:
> 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?
Presumably in /etc/shorewall/start (you'll have to create that file).
Tom Eastep \ Shorewall - iptables made easy
AIM: tmeastep \ http://www.shorewall.net
ICQ: #60745924 \ firstname.lastname@example.org