From owner-freebsd-current@FreeBSD.ORG Wed Apr 23 22:36:35 2003 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 26E9537B401 for ; Wed, 23 Apr 2003 22:36:34 -0700 (PDT) Received: from out006.verizon.net (out006pub.verizon.net [206.46.170.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A7E943FBD for ; Wed, 23 Apr 2003 22:36:34 -0700 (PDT) (envelope-from mtm@identd.net) Received: from kokeb.ambesa.net ([138.88.7.75]) by out006.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030424053633.SVKN25800.out006.verizon.net@kokeb.ambesa.net>; Thu, 24 Apr 2003 00:36:33 -0500 Date: Thu, 24 Apr 2003 01:36:32 -0400 From: Mike Makonnen To: leafy In-Reply-To: <20030424034036.GA30534@chihiro.leafy.idv.tw> References: <20030424034036.GA30534@chihiro.leafy.idv.tw> X-Mailer: Sylpheed version 0.8.10 (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at out006.verizon.net from [138.88.7.75] at Thu, 24 Apr 2003 00:36:33 -0500 Message-Id: <20030424053633.SVKN25800.out006.verizon.net@kokeb.ambesa.net> cc: freebsd-current@freebsd.org Subject: Re: ipnat_enable="YES" does not load ipl.ko 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, 24 Apr 2003 05:36:35 -0000 On Thu, 24 Apr 2003 11:40:36 +0800 leafy wrote: > In -stable systems, rc.network will load ipl.ko with ipnat_enabled="YES" > in rc.conf, even if ipfilter_enabled="NO". But on -current systems, this > does not happen. Does rc.network get executed on -current or rc.d/ipnat > has to be modified? I don't remember why I made ipnat exit immediately instead of loading ipl, but it probably had something to do with the fact that I don't use ipfilter at all, and didn't have time to test it. Can you try the following patch, which should fix this problem and also make the loading of ipmon, ipnat, ipfilter, and ipfs more like in rcOG. http://people.freebsd.org/~mtm/patches/ipl.diff Apply the patch to your src tree (/usr/src) and use: mergemaster -is to have all the changes correctly applied. Cheers. -- Mike Makonnen | GPG-KEY: http://www.identd.net/~mtm/mtm.asc mtm@identd.net | D228 1A6F C64E 120A A1C9 A3AA DAE1 E2AF DBCC 68B9 mtm@FreeBSD.Org| FreeBSD - The Power To Serve