> 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, [EMAIL PROTECTED]  . 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to