From owner-freebsd-pf@freebsd.org Mon Jul 6 15:04:19 2015 Return-Path: Delivered-To: freebsd-pf@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E52BCAF3F for ; Mon, 6 Jul 2015 15:04:19 +0000 (UTC) (envelope-from fjo-lists@ogris.de) Received: from box2.ogris.net (box2.ogris.net [IPv6:2a03:4000:6:2157::1]) by mx1.freebsd.org (Postfix) with ESMTP id AC1CE11DE for ; Mon, 6 Jul 2015 15:04:19 +0000 (UTC) (envelope-from fjo-lists@ogris.de) Received: from hf-mac-fjo-001.dts-systeme.intra (fjo-mbp.dts.de [81.89.251.80]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by box2.ogris.net (Postfix) with ESMTPSA id 135547172; Mon, 6 Jul 2015 17:04:07 +0200 (CEST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\)) Subject: Re: counters for addresses in pfctl show table From: "Felix J. Ogris" In-Reply-To: <559A8A1D.80905@mgm51.com> Date: Mon, 6 Jul 2015 17:04:05 +0200 Cc: "freebsd-pf@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: References: <55994FD7.5020200@mgm51.com> <702AE8FF-3FDC-4EAD-9E8A-9C426E4FC940@dataix.net> <55995AB4.2010109@mgm51.com> <559992E0.3050608@ogris.de> <559A8A1D.80905@mgm51.com> To: Mike X-Mailer: Apple Mail (2.2102) X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jul 2015 15:04:20 -0000 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 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 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"