Per Protocol Traffic Accounting

Travis H. solinym at gmail.com
Mon Oct 17 21:23:32 PDT 2005


"set loginterface interface

Sets the interface for which PF should gather statistics such as bytes
in/out and packets passed/blocked. Statistics can only be gathered for
one interface at a time. Note that the match, bad-offset, etc.,
counters and the state table counters are recorded regardless of
whether loginterface is set or not. To turn this option off, set it to
none. The default is none."


Otherwise, couldn't you just use the ifconfig stats?  I think there's
a package for exporting this via SNMP, which could be queried using
ifgraph or rrdtool.
--
http://www.lightconsulting.com/~travis/  -><-
"We already have enough fast, insecure systems." -- Schneier & Ferguson
GPG fingerprint: 50A1 15C5 A9DE 23B9 ED98 C93E 38E9 204A 94C2 641B


More information about the freebsd-pf mailing list