Date: Thu, 10 Jul 2003 14:40:10 +0800 From: Eugene Grosbein <eugen@kuzbass.ru> To: net@freebsd.org Subject: Re: unicast octets statistics Message-ID: <3F0D0A4A.46C07679@kuzbass.ru> References: <3F0BA58E.1F8888A2@kuzbass.ru> <20030709060958.GD69076@cell.sick.ru><3F0BE1E5.6010201@he.iki.fi> <20030709104614.GA4540@home.bluegrass.sk> <3F0CC9D9.80A1BD78@kuzbass.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F0D0A4A.46C07679>