Bogdan Taru wrote:
>
> Hi, Marc,
>
> Thanks for the tip. It's what I've been looking for, but it has one
> disadvantage: if I reboot the server, all the infos are gone (/proc). But
> I guess I can't do anything about it...
>
<snip>
You can. Add this to the stop portion of
/etc/init.d/{firewall,network,whatever}, just before the eth0 gets
destroyed (ifconfig eth0 down).
# (date; echo "--------------------"; ipchains -L -n -v) >> \
/var/log/ipchains
You can the write a little perl script that you can ask to sum all
amount and make some nice pictures for you :-)
Marc
--
Marc Mutz <[EMAIL PROTECTED]> http://marc.mutz.com/
University of Bielefeld, Dep. of Mathematics / Dep. of Physics
PGP-keyID's: 0xd46ce9ab (RSA), 0x7ae55b9e (DSS/DH)