Eugene Grosbein wrote:
> 
> Milan Obuch wrote:
> 
> > > ifInOctets counts broadcasts too.
> > > I finished with ipfw2, thank you all.
> 
> > Maybe you could 'advertise' your solution :)
> 
> I use ipfw2 to count packets:
> 
> from any to any in recv ep0 mac $mymac any
> and
> from any to any out xmit ep0.

The second rule is incorrect for IPFW2, it counts packets twice.
It nust be replaced with
from any to any out xmit ep0 not layer2

Eugene
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to