From owner-freebsd-bugs@FreeBSD.ORG Thu Sep 1 17:20:08 2011 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 BF5241065670 for ; Thu, 1 Sep 2011 17:20:08 +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 94C868FC0C for ; Thu, 1 Sep 2011 17:20:08 +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 p81HK85M045779 for ; Thu, 1 Sep 2011 17:20:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p81HK8ti045778; Thu, 1 Sep 2011 17:20:08 GMT (envelope-from gnats) Resent-Date: Thu, 1 Sep 2011 17:20:08 GMT Resent-Message-Id: <201109011720.p81HK8ti045778@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, Vitalic Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD4D6106566B for ; Thu, 1 Sep 2011 17:14:54 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 9DDED8FC0A for ; Thu, 1 Sep 2011 17:14:54 +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 p81HEsHM084323 for ; Thu, 1 Sep 2011 17:14:54 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p81HEsIo084322; Thu, 1 Sep 2011 17:14:54 GMT (envelope-from nobody) Message-Id: <201109011714.p81HEsIo084322@red.freebsd.org> Date: Thu, 1 Sep 2011 17:14:54 GMT From: Vitalic To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/160370: Incorrect pfctl check of pf.conf 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: Thu, 01 Sep 2011 17:20:08 -0000 >Number: 160370 >Category: misc >Synopsis: Incorrect pfctl check of pf.conf >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: Thu Sep 01 17:20:08 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Vitalic >Release: FreeBSD 9.0-BETA1 #0 >Organization: >Environment: xxxxxxxx# uname -a FreeBSD xxxxxxxxx.xxxxxx.org 9.0-BETA1 FreeBSD 9.0-BETA1 #0: Thu Aug 25 20:41:58 EEST 2011 wishmaster@xxxxxxxx.xxxxxxx.org:/usr/obj/usr/src/sys/MY i386 >Description: I am using FreeBSD as firewall and router for LAN. Inet works via NAT. Here is the small part (macros) of my pf.conf: ext_if=tun0 int_if="bridge0" ...... and so on ...... With pfctl -n -f /etc/pf.conf no errors occur (but exactly should). pfctl -sr and pfctl -sn shows loaded nat and firewall rules, but Inet (via NAT) no working for LAN. When I corrected my mistake and add quotes to ext_if="tun0" all works fine. >How-To-Repeat: Miss quotes in macros definitions. >Fix: >Release-Note: >Audit-Trail: >Unformatted: