Per Protocol Traffic Accounting

Max Laier max at love2party.net
Tue Oct 18 08:52:31 PDT 2005


On Tuesday 18 October 2005 06:23, Travis H. wrote:
> "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."

"pfctl -vvsI -i <interface>" will give you the same stats for every interface.

> 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.

-- 
/"\  Best regards,                      | mlaier at freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier at EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-pf/attachments/20051018/bdc3de22/attachment.bin


More information about the freebsd-pf mailing list