From owner-freebsd-current@FreeBSD.ORG Thu Aug 19 16:04:18 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 B083D16A4CE for ; Thu, 19 Aug 2004 16:04:18 +0000 (GMT) Received: from theatre.msu.edu (theatre.msu.edu [35.8.69.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55AAD43D39 for ; Thu, 19 Aug 2004 16:04:18 +0000 (GMT) (envelope-from sagejona@theatre.msu.edu) Received: from [192.168.0.4] (d47-69-71-213.try.wideopenwest.com [69.47.213.71]) (authenticated bits=0) by theatre.msu.edu (8.12.11/8.12.11) with ESMTP id i7JG4DlI056584 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 19 Aug 2004 12:04:13 -0400 (EDT) (envelope-from sagejona@theatre.msu.edu) Message-ID: <4124CF7E.7010802@theatre.msu.edu> Date: Thu, 19 Aug 2004 12:04:14 -0400 From: "Jonathan T. Sage" Organization: MSU Dept of Theatre User-Agent: Mozilla Thunderbird 0.7.2 (Windows/20040707) X-Accept-Language: en-us, en MIME-Version: 1.0 References: <41249DEA.80404@portaone.com> <200408191300.i7JD0wvm006811@the-macgregors.org> <20040819154334.GA23926@pit.databus.com> <20040819155413.GB82175@ip.net.ua> In-Reply-To: <20040819155413.GB82175@ip.net.ua> X-Enigmail-Version: 0.85.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime X-Phone: +1-517-974-1428 X-WWW-Home-Page: http://theatre.msu.edu X-PGP-Key-Figerprint: 182C CF3F 93A9 1DAA 2EBE D4D5 A159 96D9 452E A7F1 X-IM: AIM(jonathantsage,spartyman), ICQ(9587621), YIM(wisesage98) Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig4F69D93D259F4CE956B16FB4" X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on www.theatre.msu.edu X-Virus-Scanned: clamd / ClamAV version devel-20040526, clamav-milter version 0.71 X-Virus-Status: Clean cc: Barney Wolff 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:04:18 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig4F69D93D259F4CE956B16FB4 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Ruslan Ermilov wrote: > On Thu, Aug 19, 2004 at 11:43:34AM -0400, Barney Wolff wrote: > >>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? >> > > net.inet.ip.fw.enable is gone, and it upsets /etc/rc.d/ipfw. > I asked Andre to follow up on this. > > > Cheers, this in mind, changing ipfw_precmd() { if ! ${SYSCTL} net.inet.ip.fw.enable > /dev/null 2>&1; then if ! kldload ipfw; then warn unable to load firewall module. return 1 fi fi to something along the lines of : ipfw_precmd() { if ! ${SYSCTL} net.inet.ip.fw > /dev/null 2>&1; then if ! kldload ipfw; then warn unable to load firewall module. return 1 fi fi should correct the problem until the script maintainer has a chance to take a look at exactlly what he/she may want to do. hope this helps ~j -- Jonathan T. Sage Theatrical Lighting / Set Designer Professional Web Design "He said he likes me, but he's not in-like with me."- Connie, King of the Hill [HTTP://www.JTSage.com] [HTTP://design.JTSage.com] [sagejona@msu.edu] [See Headers for Contact Info] --------------enig4F69D93D259F4CE956B16FB4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBJM+BoVmW2UUup/ERAr0JAKCIKVEor3/i7YPdd2k9HcB8VzMFNgCbB6XQ nkaK8wiRcB/BIVpiMjdT/w0= =z+Fh -----END PGP SIGNATURE----- --------------enig4F69D93D259F4CE956B16FB4--