Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jan 2001 10:55:21 -0800 (PST)
From:      Luigi Rizzo <rizzo@aciri.org>
To:        roman@IPricot.com (Roman Le Houelleur)
Cc:        freebsd-ipfw@FreeBSD.ORG, freebsd-net@FreeBSD.ORG
Subject:   Re: bandwidth analyser
Message-ID:  <200101221855.f0MItLq39152@iguana.aciri.org>
In-Reply-To: <3A6C7FD0.7E2ABD65@IPricot.com> from Roman Le Houelleur at "Jan 22, 2001  7:45:36 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> hi,
> 
>  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
...
>  Anybody has an advice on the best way to achieve this
> calculation ? what about the counter capabilities of ipfw ?

i think the ipfw interface to access this info is not very well
suited to this kind of task, at least not as often as 20 times
per second.

>  Moreover, concerning the bridge, I was wondering if
> there is a way not to put a third interface in promiscous

yes, there is asysctl interface (net.link.ether.bridge_cfg)

see the manpages.

	cheers
	luigi
----------------------------------+-----------------------------------------
 Luigi RIZZO, luigi@iet.unipi.it  . ACIRI/ICSI (on leave from Univ. di Pisa)
 http://www.iet.unipi.it/~luigi/  . 1947 Center St, Berkeley CA 94704
 Phone: (510) 666 2927
----------------------------------+-----------------------------------------


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?200101221855.f0MItLq39152>