counters for addresses in pfctl show table

Felix J. Ogris fjo-lists at ogris.de
Mon Jul 6 15:04:20 UTC 2015


Hi,

it will show the counters only if the table is actively used by the ruleset, i.e. if it’s non empty and gets some pass/block actions.

—Felix

> On 06 Jul 2015, at 16:01, Mike <the.lists at mgm51.com> wrote:
> 
> On 7/5/2015 4:26 PM, Felix J. Ogris wrote:
>> Hi,
>> 
>> add "counters" to your table definition, e.g.
>> 
>> table <test> persist counters { ....
>> 
> 
> Thanks for the reply.
> 
> The addition of counters to the table definition (combined with a reload
> of the ruleset) did not change the output I was getting.
> 
> The command
> 
> # pfctl -t FullBlock -vvvvTshow
> 
> 
> still did not show the counters.
> 
> _______________________________________________
> freebsd-pf at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-pf
> To unsubscribe, send any mail to "freebsd-pf-unsubscribe at freebsd.org"



More information about the freebsd-pf mailing list