On Sat, 22 Jun 2002 16:02:06 +0200 "yomega" <[EMAIL PROTECTED]> wrote: > OK this should work, but i still got a question: > > First i start to realize that my log file will become very big with > even little outbound traffic. Now the cron is exectued and all the > data written on the hd is analysed and written on the hd. I'm afraid > that this will injure the health of the HD. Is there any other maybe > more "clean" possibility to do that loggin? or have i made some > mistakes in my thoughts?
I'd suggest you use iptable's byte-counting instead. 'iptables -L -n -v -x' will list the bytes which have _crossed_ each given rule. (So it won't just count which packets have matched.) Probably be a lot faster ;) P.S.: In production, don't forget to use -Z to zero the counters, so you aren't counting the same packets twice. -- ________________________________________________________________________ \ David B. Harris, Systems administrator | http://www.terrabox.com / / [EMAIL PROTECTED], [EMAIL PROTECTED] | http://eelf.ddts.net \ \======================================================================/ / Clan Barclay motto: Aut agere, aut mori. (Either action, or death.) \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
msg04172/pgp00000.pgp
Description: PGP signature
