For an more organised accounting of packets, u can use natmonitor or zorbstats. such progs parse their data from logs generated by Iptables.
Regards Yayati.
--- Animesh Singh an2rhyme@yahoo.com wrote: > Afternoon Samant,
I want a internet usage logger, for every packet= leaving from PC which acts as a gateway. I need the Source_IP:Destination_= Port:Size.
<snip> U can use ethereal/tcpdump.
Can IPTables be used for this, or will it be an
ove=
rkill.
<snip> Iptables's LOG target causes the kernel to log packets that match IPtable rules.
Regards, Animesh.
Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
________________________________________________________________________ Yahoo! India Careers: Over 65,000 jobs online Go to: http://yahoo.naukri.com/