Ales, On Mon, 20 Jan 2003 13:15:38 +0100 ales wrote:
> How can I collect network traffic from my bering router. It is using > onely one FD. > I want to know how much traffic does one IP from LAN made thrue my > bering firewall in a perioed? One way would be to parse the packet and byte counts from the output of "iptables -L -v". If you have a zone setup for each host (or set of hosts) you are interested in that approach is easier because you can specify the chain. E.g. to see the counts for traffic from the "loc" zone to the "net" zone: iptables -vn -L loc2net | head -n 3 | tail -n 1 I believe the values rollover when they get too high, so you would need to account for that. You can also zero them with the iptables "-Z" flag. (Certain shorewall operations may zero them as well.) Another approach would be to use software like ntop or iptraf. IIRC, I have seen (old) LRP packages for both floating around, so you might get lucky and find one that is already compiled for glibc 2.0.7 . --Brad ------------------------------------------------------- This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all your SSL security issues. http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
