Hello Roman,

On Mon, 22 Jan 2001, Roman Le Houelleur wrote:

>  I use FreeBSD 4.2 stable + bridge + dummynet + ipfw. I would like
> to calculate the bandwidth of each authorized IP source flowing
> through the bridge from a user program.
>
>  As this bandwidth calculation should be done very often (10 to 20
> times per second) I first tried to use the if_data structure from
> sysctl.

I think /usr/ports/net/argus does some analysis (however I don't think
in real time.)  Otherwise (shameless plug) try tcpstat:

  http://www.frenchfries.net/paul/tcpstat/index.html

It's like a vmstat for networks (pcap filters and all), and sounds
like what you are describing.

-Paul.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to