Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jul 2015 17:04:05 +0200
From:      "Felix J. Ogris" <fjo-lists@ogris.de>
To:        Mike <the.lists@mgm51.com>
Cc:        "freebsd-pf@freebsd.org" <freebsd-pf@freebsd.org>
Subject:   Re: counters for addresses in pfctl show table
Message-ID:  <AAA9452A-B708-42BE-B25B-7E5791514084@ogris.de>
In-Reply-To: <559A8A1D.80905@mgm51.com>
References:  <55994FD7.5020200@mgm51.com> <702AE8FF-3FDC-4EAD-9E8A-9C426E4FC940@dataix.net> <55995AB4.2010109@mgm51.com> <559992E0.3050608@ogris.de> <559A8A1D.80905@mgm51.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

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

=E2=80=94Felix

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AAA9452A-B708-42BE-B25B-7E5791514084>