From owner-freebsd-questions Mon Nov 5 10:34:37 2001 Delivered-To: freebsd-questions@freebsd.org Received: from cody.jharris.com (cody.jharris.com [205.238.128.83]) by hub.freebsd.org (Postfix) with ESMTP id 2AA9E37B405 for ; Mon, 5 Nov 2001 10:34:35 -0800 (PST) Received: from localhost (nick@localhost) by cody.jharris.com (8.11.1/8.9.3) with ESMTP id fA5IYMe24737; Mon, 5 Nov 2001 12:34:22 -0600 (CST) (envelope-from nick@rogness.net) Date: Mon, 5 Nov 2001 12:34:21 -0600 (CST) From: Nick Rogness X-Sender: nick@cody.jharris.com To: cjclark@alum.mit.edu Cc: David Kelly , Jason Cribbins , questions@FreeBSD.ORG Subject: Re: Unable to get natd/ipfw to work properly In-Reply-To: <20011104231746.D325@blossom.cjclark.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 4 Nov 2001, Crist J. Clark wrote: > > > You must build IPDIVERT into the kernel > > > manually as there is no klm for DIVERT and it is not part of > > > ipfw.ko. Or at least it wasn't before 4.4-R. > > OK, then that would be a nice simple little thing for somebody to > > contribute to /etc/rc.network. The script knows if it has to kldload > > ipfw, and if it loaded from kld then is there any chance IPDIVERT > > will work? If not, then a verbose warning would be nice if such were > > attempted. > > There is nothing stopping someone from adding IPDIVERT to their > ipfw.ko module. Edit src/sys/modules/ipfw/Makefile. Maybe it would be nice to have 2 ipfw klm's. 1 that has just the basic functionality (ipfw.ko) and a second module, say ipfw-plus.ko, that has IPDIVERT, Forwarding, etc. Then the rc scripts could load the appropriate one on boot. Just a thought. I don't think it would be difficult to do, just a matter if people want it or not. Nick Rogness - Keep on Routing in a Free World... "FreeBSD: The Power to Serve!" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message