On Wednesday 26 March 2003 22:38, Bjorn Ruberg wrote: > On Wed, 2003-03-26 at 22:01, Kim Jensen wrote: > > On Wednesday 26 March 2003 20:32, Alexandru Coseru wrote: > > > Hello.. > > > > > > I want to see using iptables -L -v the ammount of traffic generated by > > > each of my LAN's IP.. > > > > > > i have masq 192.168.0.2 to 192.168.0.50... > > > > > > and now i want to see the traffic generated by 192.168.0.4 since the > > > last reset of counters.. > > > > > > How can I do that ? I want to be able to see the download and the > > > upload ... > > > > ifconfig > > ifconfig is the worst alternative, because it regularly resets its > counters. > > As Rowan suggested, use MRTG [1] or some other tool (RRDtool [2], > perhaps? :) to read the statistics. > > You may use MRTG with an SNMP daemon on your system or with an iptables > extract script [3]. > Well, I tried to be a little provocative with my remark on ifconfig - seems like it worked. MRTH is a much preferred tool. If the problem is that certain persons are having a very high load, then use host based limiting rules. /Kim