Steve Kersley wrote:

I've looked through the pf(4) manpage and the header files and have written some code to display values returned from the DIOCGETSTATUS ioctl. Number of states I can find, but I can't find anything which might correspond to numbers of packets passed or blocked - pf_status.pcounters and bcounters seemed the obvious place to look but they only seem to contain 0.
[ ... ]

Hi Steve. You need to set the loginterface option in pf.conf, then those counters will increase.


.joel


Reply via email to