From owner-freebsd-bugs Mon May 6 22:40:12 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3759937B403 for ; Mon, 6 May 2002 22:40:06 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g475e6f94565; Mon, 6 May 2002 22:40:06 -0700 (PDT) (envelope-from gnats) Date: Mon, 6 May 2002 22:40:06 -0700 (PDT) Message-Id: <200205070540.g475e6f94565@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Crist J. Clark" Subject: Re: i386/37799: [patch] ipfw_divert kernel module (for natd) Reply-To: "Crist J. Clark" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR i386/37799; it has been noted by GNATS. From: "Crist J. Clark" To: Dmitry Morozovsky Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: i386/37799: [patch] ipfw_divert kernel module (for natd) Date: Mon, 6 May 2002 22:39:14 -0700 On Tue, May 07, 2002 at 12:13:49AM +0400, Dmitry Morozovsky wrote: [snip] > If someone wants to use kernel-loadable ipfw with natd, [s]he has to either > recompile kernel with IPFIREWALL and IPDIVERT options, or recompile > ipfw.ko by hand using -DIPDIVERT > > So, I suppose a little slave module may be used. I don't think this will work. Did you try it? You need to have DIVERT defined when the kernel is compiled too (DIVERT appears in in_proto.c, ip_divert.c, ip_input.c, and ip_output.c). -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message