From owner-freebsd-questions@FreeBSD.ORG Mon Sep 26 17:23:31 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C2B8216A41F for ; Mon, 26 Sep 2005 17:23:31 +0000 (GMT) (envelope-from peter@bgnett.no) Received: from vs2.bgnett.no (vs02.bgnett.no [194.54.96.190]) by mx1.FreeBSD.org (Postfix) with ESMTP id 19E0E43D49 for ; Mon, 26 Sep 2005 17:23:30 +0000 (GMT) (envelope-from peter@bgnett.no) Received: from amidala.datadok.no.bgnett.no ([194.54.107.19]) by vs2.bgnett.no (8.12.9p2/8.12.9) with ESMTP id j8QHN4pM055808 for ; Mon, 26 Sep 2005 19:23:05 +0200 (CEST) (envelope-from peter@bgnett.no) To: freebsd-questions@freebsd.org References: <43381CB3.70003@atopia.net> From: peter@bgnett.no (Peter N. M. Hansteen) Date: Mon, 26 Sep 2005 19:22:06 +0200 In-Reply-To: <43381CB3.70003@atopia.net> (Matt Juszczak's message of "Mon, 26 Sep 2005 12:07:15 -0400") Message-ID: <86psqvn3r5.fsf@amidala.datadok.no> User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.17 (Jumbo Shrimp, berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-bgnett.no-virusscanner: Found to be clean X-bgnett.no-SpamScore: ss X-Envelope-To: freebsd-questions@freebsd.org Subject: Re: PF default to deny X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Sep 2005 17:23:31 -0000 Matt Juszczak writes: > 2) Is there a way to set pf to default to deny? "block all" as your first filtering rule, followed by explicit pass rules for the stuff you want to pass. I thought most of the howtoish docs out there recommended that approach, but here at least is one that does - http://www.bgnett.no/~peter/pf/ -- Peter N. M. Hansteen, member of the first RFC 1149 implementation team http://www.blug.linux.no/rfc1149/ http://www.datadok.no/ http://www.nuug.no/ "First, we kill all the spammers" The Usenet Bard, "Twice-forwarded tales"