OpenBSD's pf and traffic
    Peter N. M. Hansteen 
    peter at bgnett.no
       
    Sun Mar 20 08:53:47 PST 2005
    
    
  
"Eugene M. Minkovskii" <emin at mccme.ru> writes:
> Does any body know, how can I use OpenBSD's pf (packet filter) for
> determine total traffic volume on network interface? If it's
> impossible, what facility you recommend me to do this?
Various pfctl -s options (eg pfctl -s info) give you counters of bytes
and packets passed or blocked. If you use labels in your pass rules,
you'll get per label counters as well.
-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://www.blug.linux.no/rfc1149/ http://www.datadok.no/ http://www.nuug.no/
"First, we kill all the spammers" The Usenet Bard, "Twice-forwarded tales"
    
    
More information about the freebsd-questions
mailing list