From nobody@FreeBSD.org  Mon Dec 20 13:43:58 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id DEEAE106566B
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <mochoa@bloodinthestreets.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Bug with PF firewall
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         153307
>Category:       kern
>Synopsis:       [pf] Bug with PF firewall
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-pf
>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:  Wed Sep 14 15:40:08 UTC 2011
>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 <trusted> persist file "/etc/trusted"
  scrub in
  pass  in quick from <trusted>
  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:
Responsible-Changed-From-To: freebsd-amd64->freebsd-pf 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon Dec 20 15:19:33 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=153307 

From: Manuel Ochoa <mochoa@agencymatrix.com>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: kern/153307: [pf] Bug with PF Firewall
Date: Wed, 14 Sep 2011 10:01:40 -0500

 --20cf300fad439cf7e404ace80923
 Content-Type: text/plain; charset=ISO-8859-1
 
 What is the status on this bug? It's almost a year old and it looks like a
 serious issue.
 
 
 
 Thanks,
 
 Manuel Ochoa - CCNP MCSA MCSE MCDBA
 President, Agency Matrix LLC
 
 5010 Addison Circle
 Addison TX 75001-2333
 
 Phone: 972-239-1456
 Fax: 702 447-6669
 
 --20cf300fad439cf7e404ace80923
 Content-Type: text/html; charset=ISO-8859-1
 
 What is the status on this bug? It&#39;s almost a year old and it looks like a serious issue.<br clear="all"><div><br></div><div><br></div><div><br></div>Thanks,<br><br>Manuel Ochoa - CCNP MCSA MCSE MCDBA<br>President, Agency Matrix LLC<br>
 <br>5010 Addison Circle<br>Addison TX 75001-2333<br><br>Phone: 972-239-1456<br>Fax: 702 447-6669<br>
 
 --20cf300fad439cf7e404ace80923--
>Unformatted:
