From owner-freebsd-amd64@FreeBSD.ORG Mon Dec 20 13:50:11 2010 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA21710656A3 for ; Mon, 20 Dec 2010 13:50:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id ADA358FC36 for ; Mon, 20 Dec 2010 13:50:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oBKDoAqP000581 for ; Mon, 20 Dec 2010 13:50:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oBKDoAuB000580; Mon, 20 Dec 2010 13:50:10 GMT (envelope-from gnats) Resent-Date: Mon, 20 Dec 2010 13:50:10 GMT Resent-Message-Id: <201012201350.oBKDoAuB000580@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-amd64@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Manuel G Ochoa Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DEEAE106566B for ; Mon, 20 Dec 2010 13:43:58 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (unknown [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id CE5748FC08 for ; Mon, 20 Dec 2010 13:43:58 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id oBKDhwJ7018157 for ; Mon, 20 Dec 2010 13:43:58 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id oBKDhwMg018156; Mon, 20 Dec 2010 13:43:58 GMT (envelope-from nobody) Message-Id: <201012201343.oBKDhwMg018156@red.freebsd.org> Date: Mon, 20 Dec 2010 13:43:58 GMT From: Manuel G Ochoa To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 X-Mailman-Approved-At: Mon, 20 Dec 2010 13:56:21 +0000 Cc: Subject: amd64/153307: Bug with PF firewall X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Dec 2010 13:50:11 -0000 >Number: 153307 >Category: amd64 >Synopsis: Bug with PF firewall >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Dec 20 13:50:10 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Manuel G Ochoa >Release: Freebsd 8.1 >Organization: Agency Matrix LLC >Environment: FreeBSD xxx.xxxxxxxx.xxx 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:3 6:49 UTC 2010 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: PF firewall does not work as expected after a reboot >How-To-Repeat: Configure /etc/pf.conf as follows: ext="em0" table persist file "/etc/trusted" scrub in pass in quick from block in on $ext Configure /etc/trusted as follows: 192.168.1.39 Reboot server Any ip address will pass through the firewall run: pfctl -t trusted -T show results: Table does not exist. >Fix: run this command: pfctl -f /etc/pf.conf This command will reload the pf config file and load the table into the rule set. run: pfctl -t trusted -T show results: 192.168.1.39 Now, only this ip address is allowed through the firewall. All other addresses are blocked. >Release-Note: >Audit-Trail: >Unformatted: