From owner-freebsd-current@FreeBSD.ORG Thu Aug 19 15:43:35 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 E506E16A4CE for ; Thu, 19 Aug 2004 15:43:35 +0000 (GMT) Received: from pit.databus.com (p70-227.acedsl.com [66.114.70.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D1A143D41 for ; Thu, 19 Aug 2004 15:43:35 +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 i7JFhY59028531 for ; Thu, 19 Aug 2004 11:43:34 -0400 (EDT) (envelope-from barney@pit.databus.com) Received: (from barney@localhost) by pit.databus.com (8.13.1/8.13.1/Submit) id i7JFhYvR028530 for current@freebsd.org; Thu, 19 Aug 2004 11:43:34 -0400 (EDT) (envelope-from barney) Date: Thu, 19 Aug 2004 11:43:34 -0400 From: Barney Wolff To: current@freebsd.org Message-ID: <20040819154334.GA23926@pit.databus.com> References: <41249DEA.80404@portaone.com> <200408191300.i7JD0wvm006811@the-macgregors.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200408191300.i7JD0wvm006811@the-macgregors.org> User-Agent: Mutt/1.5.6i X-Scanned-By: MIMEDefang 2.44 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 15:43:36 -0000 I was inspired by the PFIL_HOOKS discussion to check my firewall rules :) There were none, other than 65535. Apparently, /etc/rc.d/ipfw attempts to kldload ipfw, which will fail if ipfw is compiled into the kernel, and since the precmd failed, the _cmd will not be run. When did it become mandatory to have ipfw as a module, not compiled in? Is there some rationale for this? It strikes me as rather dangerous, especially for firewalls, especially when default-to-accept is chosen. Am I just confused, and missing some obvious bit of config? Is it relevant that my /usr is on vinum, and the rules are in /usr/local/etc? Thanks, Barney