From owner-freebsd-questions@FreeBSD.ORG Mon Feb 9 17:38:58 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 51AA9709 for ; Mon, 9 Feb 2015 17:38:58 +0000 (UTC) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 10F0C263 for ; Mon, 9 Feb 2015 17:38:57 +0000 (UTC) Received: from r56.edvax.de (port-92-195-63-165.dynamic.qsc.de [92.195.63.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 8F54E3CCDD; Mon, 9 Feb 2015 18:30:07 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t19HU6pF002507; Mon, 9 Feb 2015 18:30:06 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 9 Feb 2015 18:30:06 +0100 From: Polytropon To: Lowell Gilbert Subject: Re: /etc/pf.conf missing Message-Id: <20150209183006.c3902b51.freebsd@edvax.de> In-Reply-To: <44h9uvvwkd.fsf@lowell-desk.lan> References: <44h9uvvwkd.fsf@lowell-desk.lan> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions , Chris Stankevitz X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2015 17:38:58 -0000 On Mon, 09 Feb 2015 12:12:02 -0500, Lowell Gilbert wrote: > Chris Stankevitz writes: > > > Q: Should I be alarmed? > > > > Handbook section 30.3.1 says "The default ruleset is already created > > and is named /etc/pf.conf" but that file does not exist on my hard > > drive. > > The Handbook (or at least the obvious interpretation of what it says; > the awkward phrasing may mean that it was mis-edited at some point) is > incorrect. > > I'm not sure that a one-size-fits-all default ruleset (of the sort that > exists for ipfw) is practical for pf. There is an example file at /usr/share/examples/pf/pf.conf as well as in "man 5 pf.conf", which reads in section FILES: /etc/pf.conf Default location of the ruleset file. This leaves the _possible_ interpretation that the file is supplied with the OS, but the _reasonable_ interpratation is that the file should be located like this per default _when_ it is present (and to be present, supplied by the administrator). So it doesn't look that this file is already created, unlike, for comparison, /etc/ps.os. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...