From owner-freebsd-pf@FreeBSD.ORG Fri Jan 25 01:04:34 2008 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 237A816A417 for ; Fri, 25 Jan 2008 01:04:34 +0000 (UTC) (envelope-from spomerg@cwu.EDU) Received: from charybdis.cts.cwu.edu (charybdis.cts.cwu.edu [198.104.67.152]) by mx1.freebsd.org (Postfix) with ESMTP id 6336513C45A for ; Fri, 25 Jan 2008 01:04:33 +0000 (UTC) (envelope-from spomerg@cwu.EDU) Received: from CONVERSION-CWU-DAEMON.CHARYBDIS.CTS.CWU.EDU by CHARYBDIS.CTS.CWU.EDU (PMDF V6.3-x13 #31358) id <01MQH6S1GPZ4001T3W@CHARYBDIS.CTS.CWU.EDU> for freebsd-pf@freebsd.org; Thu, 24 Jan 2008 16:03:44 -0800 (PST) Received: from hermes.cwu.edu (hermes.cwu.edu [172.16.21.28]) by CHARYBDIS.CTS.CWU.EDU (PMDF V6.3-x13 #31358) with ESMTP id <01MQH6S16EWE001SOJ@CHARYBDIS.CTS.CWU.EDU> for freebsd-pf@freebsd.org; Thu, 24 Jan 2008 16:03:43 -0800 (PST) Received: from cwugate1-MTA by hermes.cwu.edu with Novell_GroupWise; Thu, 24 Jan 2008 16:03:43 -0800 Date: Thu, 24 Jan 2008 16:03:35 -0800 From: Gavin Spomer To: freebsd-pf@freebsd.org Message-id: <4798B6D70200009000012FAB@hermes.cwu.edu> MIME-version: 1.0 X-Mailer: Novell GroupWise Internet Agent 7.0.2 HP Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: quoted-printable Content-disposition: inline Subject: How does /dev/pf get created? X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jan 2008 01:04:34 -0000 I have followed the instructions in the FreeBSD Handbook for implementing = pf, but when I run pfctl -e, I get: pfctl: /dev/pf: No such file or directory". I do an ls of /dev and sure enough, there's no pf device. I have googled = for a couple of days (!) and my fingers are about to fall off and am = losing my sanity. What do I have to do to get pf going? Here is what I HAVE done: 1. I built a custom kernel following the instructions in the FreeBSD = Handbook. Specifically for pf I added: device pf device pflog device pfsync 2. I added the following to /etc/rc.conf: pf_enable=3D"YES" pf_rules=3D"/etc/pf.conf" pf_flags=3D"" pflog_logfile=3D"/var/log/pflog" 3. I rebooted and tried pfctl -e again. No dice. Grrrrr. I am using 6.2-RELEASE. What's a guy gotta do to get a firewall around = here? ;) Gavin Spomer Systems Programmer Brooks Library Central Washington Univerisity