From owner-freebsd-current Wed Dec 18 14:14: 8 2002 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 8DE2B37B401 for ; Wed, 18 Dec 2002 14:14:07 -0800 (PST) Received: from majordomo.vol.cz (smtp4.vol.cz [195.250.128.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79F5643ED1 for ; Wed, 18 Dec 2002 14:14:05 -0800 (PST) (envelope-from dan@obluda.cz) Received: from obluda.cz (xkulesh.vol.cz [195.250.154.106]) by majordomo.vol.cz (8.12.6/8.12.6) with ESMTP id gBIMDvgE007671 for ; Wed, 18 Dec 2002 23:13:58 +0100 (CET) (envelope-from dan@obluda.cz) Message-ID: <3E00F327.5080504@obluda.cz> Date: Wed, 18 Dec 2002 23:13:59 +0100 From: Dan Lukes User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2b) Gecko/20021106 X-Accept-Language: en, cs MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Re: ipfw userland breaks again. References: <200212142209.gBEM9D8p002479_apollo.backplane.com@ns.sol.net> <20021214221252.GF27086_elvis.mu.org@ns.sol.net> In-Reply-To: <200212142209.gBEM9D8p002479_apollo.backplane.com@ns.sol.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG mux@FreeBSD.ORG wrote, On 12/14/02 23:13: > I have a patch here which makes the IPFIREWALL_DEFAULT_TO_ACCEPT tunable > at module load time using a kernel environment variable. Looks to me > that it would do what you want. Should we think about kldload logic change ? Loading modules giving them a parameter string parsed on MOD_LOAD event seems to be most generic way to do the things (not only with ipfw) ... The syscall allow arbitrary string as parameter, so it's not limited to filename only, event routine declaration already has the void *data variable, so the necesarry changes doesn't hit the userland (kldload) nor modules code (unless they decide to parse the parameters). Dan -- Dan Lukes tel: +420 2 21914205, fax: +420 2 21914206 root of FIONet, KolejNET, webmaster of www.freebsd.cz AKA: dan@obluda.cz, dan@freebsd.cz,dan@kolej.mff.cuni.cz To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message