Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jan 2001 20:45:08 +0100 (CET)
From:      Paul Herman <pherman@frenchfries.net>
To:        Roman Le Houelleur <roman@IPricot.com>
Cc:        freebsd-ipfw <freebsd-ipfw@FreeBSD.ORG>, freebsd-net <freebsd-net@FreeBSD.ORG>
Subject:   Re: bandwidth analyser
Message-ID:  <Pine.BSF.4.31.0101222041000.6137-100000@husten.security.at12.de>
In-Reply-To: <3A6C7FD0.7E2ABD65@IPricot.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.31.0101222041000.6137-100000>