From owner-freebsd-current@FreeBSD.ORG Thu Dec 16 11:14:10 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1266916A4CE; Thu, 16 Dec 2004 11:14:10 +0000 (GMT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C89B43D3F; Thu, 16 Dec 2004 11:14:09 +0000 (GMT) (envelope-from max@love2party.net) Received: from [212.227.126.162] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1CetaC-0007XO-00; Thu, 16 Dec 2004 12:14:08 +0100 Received: from [217.83.12.28] (helo=donor.laier.local) by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128) (Exim 3.35 #1) id 1CetaC-0008BJ-00; Thu, 16 Dec 2004 12:14:08 +0100 From: Max Laier To: freebsd-pf@freebsd.org Date: Thu, 16 Dec 2004 12:14:54 +0100 User-Agent: KMail/1.7.1 References: <41C141D4.9030303@authtec.com> In-Reply-To: <41C141D4.9030303@authtec.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1682355.8grx1pTHo5"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200412161215.02476.max@love2party.net> X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:61c499deaeeba3ba5be80f48ecc83056 cc: freebsd-current@freebsd.org cc: sam wun Subject: Re: pfctl -t private_ips -vTshow X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Dec 2004 11:14:10 -0000 --nextPart1682355.8grx1pTHo5 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday 16 December 2004 09:05, sam wun wrote: > Hi > > The following pfctl command returns error > > # pfctl -t private_ips -vTshow > pfctl: Table does not exist. > > The table optin is defined in he pf.conf as shown below: > table { 10.0.0.0/8, !10.1.0.0/16, 192.168.0.0/24, > 192.168.1.18 } > > Have I used incorrect syntax? =46rom pf.conf(5): | persist The persist flag forces the kernel to keep the table even wh= en | no rules refer to it. If the flag is not set, the kernel wi= ll | automatically remove the table when the last rule referring = to | it is flushed. i.e. if you don't have a rule using the table pf will trow it away unless y= ou=20 define the table as persist(ent) as in: table persistent { ... } =2D-=20 /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News --nextPart1682355.8grx1pTHo5 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBwW42XyyEoT62BG0RAuDdAJ9LHqQH5KUcOnP5IT+2ij6G4L/Q1gCdFNOD jCWaCUVWC9eJ9KjEiQEyZ5M= =Hi2K -----END PGP SIGNATURE----- --nextPart1682355.8grx1pTHo5--