An easier way to do this would be to just parse the results returned by the command "ifconfig". It contains the amount of bandwidth passed through each interface.
Although if you want more detailed information you could use iptables or have a "tcpdump" running in the background. Unfortunately I have tried only the first (easier and faster) way of obtaining the bandwidth, so if you do find some way of getting that from iptables, please let us know. Adrian -----Original Message----- From: Rajkumar [mailto:[EMAIL PROTECTED] Sent: Friday, September 12, 2003 1:02 AM To: [email protected] Subject: hi hi there, Can anybody help me how to build a firewall on a debian system.i want to implement a firewall and a system which will let me know about how to find out who is using how much bandwidth which will be by finding on the basis of the ip address. thank you ! Regards, Raj -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

