From owner-freebsd-current@FreeBSD.ORG Thu Aug 19 16:13:31 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D24C716A4CE for ; Thu, 19 Aug 2004 16:13:31 +0000 (GMT) Received: from pit.databus.com (p70-227.acedsl.com [66.114.70.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CD3C43D39 for ; Thu, 19 Aug 2004 16:13:31 +0000 (GMT) (envelope-from barney@pit.databus.com) Received: from pit.databus.com (localhost [127.0.0.1]) by pit.databus.com (8.13.1/8.13.1) with ESMTP id i7JGDFQa031416; Thu, 19 Aug 2004 12:13:15 -0400 (EDT) (envelope-from barney@pit.databus.com) Received: (from barney@localhost) by pit.databus.com (8.13.1/8.13.1/Submit) id i7JGDF8O031415; Thu, 19 Aug 2004 12:13:15 -0400 (EDT) (envelope-from barney) Date: Thu, 19 Aug 2004 12:13:15 -0400 From: Barney Wolff To: David Wolfskill Message-ID: <20040819161315.GB29937@pit.databus.com> References: <20040819154334.GA23926@pit.databus.com> <200408191559.i7JFxJKo018279@bunrab.catwhisker.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200408191559.i7JFxJKo018279@bunrab.catwhisker.org> User-Agent: Mutt/1.5.6i X-Scanned-By: MIMEDefang 2.44 cc: current@freebsd.org Subject: Re: RELENG_5 kernel b0rken with IPFIREWALL and without PFIL_HOOKS X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Aug 2004 16:13:31 -0000 On Thu, Aug 19, 2004 at 08:59:19AM -0700, David Wolfskill wrote: > > g1-15(5.2-C)[1] uname -a > FreeBSD g1-15.catwhisker.org 5.2-CURRENT FreeBSD 5.2-CURRENT #273: Wed Aug 18 15:55:18 PDT 2004 root@g1-15.catwhisker.org:/common/S2/obj/usr/src/sys/LAPTOP_30W i386 > g1-15(5.2-C)[2] sudo ipfw list > Password: > 00100 allow ip from any to any via lo0 > 00200 deny ip from any to 127.0.0.0/8 > 00300 deny ip from 127.0.0.0/8 to any > .... > 03200 deny log ip from any to any > 65535 deny ip from any to any > g1-15(5.2-C)[3] kldstat > Id Refs Address Size Name > 1 7 0xc0400000 4b9ac4 kernel > 2 14 0xc08ba000 536b0 acpi.ko > 3 1 0xc1829000 17000 linux.ko > g1-15(5.2-C)[4] > > Or am I missing your point? > > >Is it relevant that my /usr is on vinum, and the rules are in /usr/local/etc? > > Hmm... dunno. I'm not using vinum, and my rules are created via a shell > script from a template on /etc (via dhcp-exit-hooks). Sure, invoking ipfw directly works fine when ipfw's compiled into the kernel, as does dotting /etc/rc.firewall. But /etc/rc.d/ipfw is what's run at boot time, and that would seem, at least as I read it, to require that ipfw be a module, not compiled in. Barney -- Barney Wolff http://www.databus.com/bwresume.pdf I'm available by contract or FT, in the NYC metro area or via the 'Net.