From owner-freebsd-bugs@FreeBSD.ORG Wed May 26 05:07:34 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA5771065691 for ; Wed, 26 May 2010 05:07:34 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 57FB28FC2A for ; Wed, 26 May 2010 05:07:34 +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 o4Q57Y7W017362 for ; Wed, 26 May 2010 05:07:34 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o4Q57Ye3017361; Wed, 26 May 2010 05:07:34 GMT (envelope-from gnats) Resent-Date: Wed, 26 May 2010 05:07:34 GMT Resent-Message-Id: <201005260507.o4Q57Ye3017361@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Andrew Thompson Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97EE11065674 for ; Wed, 26 May 2010 00:44:29 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 879D88FC14 for ; Wed, 26 May 2010 00:44:29 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o4Q0iTTk070024 for ; Wed, 26 May 2010 00:44:29 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o4Q0iTNF070023; Wed, 26 May 2010 00:44:29 GMT (envelope-from nobody) Message-Id: <201005260044.o4Q0iTNF070023@www.freebsd.org> Date: Wed, 26 May 2010 00:44:29 GMT From: Andrew Thompson To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/147000: [pf] pfctl -m option does not appear to work X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2010 05:07:34 -0000 >Number: 147000 >Category: kern >Synopsis: [pf] pfctl -m option does not appear to work >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed May 26 05:07:34 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Andrew Thompson >Release: FreeBSD 9.0-CURRENT amd64 >Organization: >Environment: FreeBSD pea.fud.org.nz 9.0-CURRENT FreeBSD 9.0-CURRENT #6 r208406M: Mon May 24 09:15:58 NZST 2010 thompsa@pea.fud.org.nz:/usr/obj/home/thompsa/scratch/fbsvn/head/sys/PEA amd64 >Description: When using the -m option do pfctl it should merge with the existing rules and not flush. The output below shows the rules which are currently loaded, then merging a single option and the result is an empty ruleset. >How-To-Repeat: [root@pea]# pfctl -sr No ALTQ support in kernel ALTQ related functions disabled pass in on bge0 inet proto tcp from any to any port = ipp flags S/SA keep state pass in on bge0 inet proto udp from any to any port = ipp keep state pass in on bge0 inet6 proto tcp from any to any port = ipp flags S/SA keep state pass in on bge0 inet6 proto udp from any to any port = ipp keep state [root@pea]# echo "set block-policy return" | pfctl -mf - No ALTQ support in kernel ALTQ related functions disabled [root@pea]# pfctl -sr No ALTQ support in kernel ALTQ related functions disabled [root@pea]# >Fix: >Release-Note: >Audit-Trail: >Unformatted: