All of lore.kernel.org
 help / color / mirror / Atom feed
* bandwidth measurement
@ 2002-10-15 18:33 Julio Cesar Ody
  2002-10-15 18:47 ` Antony Stone
  0 siblings, 1 reply; 2+ messages in thread
From: Julio Cesar Ody @ 2002-10-15 18:33 UTC (permalink / raw)
  To: netfilter

Hello. I would like to know if it's possible to measure the bandwidth 
usage of each computer (fixed ip numbers) with iptables. Thanks.


Julio Cesar Ody



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: bandwidth measurement
  2002-10-15 18:33 bandwidth measurement Julio Cesar Ody
@ 2002-10-15 18:47 ` Antony Stone
  0 siblings, 0 replies; 2+ messages in thread
From: Antony Stone @ 2002-10-15 18:47 UTC (permalink / raw)
  To: netfilter

On Tuesday 15 October 2002 7:33 pm, Julio Cesar Ody wrote:

> Hello. I would like to know if it's possible to measure the bandwidth
> usage of each computer (fixed ip numbers) with iptables. Thanks.

You can measure the number of packets and bytes sent to or from specific IP 
addresses if you want.   Measure the number of bytes over a known period of 
time and you can work out the bandwidth.

Try something like:

iptables -A FORWARD -s a.b.c.d
iptables -A FORWARD -d a.b.c.d

iptables -L FORWARD -n -v -x

Yes, those rules have no "-j TARGET" at the end.   This is correct.

Antony.

-- 

You can spend the whole of your life trying to be popular,
but at the end of the day the size of the crowd at your funeral
will be largely dictated by the weather.

 - Frank Skinner


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-10-15 18:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-15 18:33 bandwidth measurement Julio Cesar Ody
2002-10-15 18:47 ` Antony Stone

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.