From owner-freebsd-bugs Tue Sep 25 16:20: 6 2001 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 B4BAA37B410 for ; Tue, 25 Sep 2001 16:20:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f8PNK1e43374; Tue, 25 Sep 2001 16:20:01 -0700 (PDT) (envelope-from gnats) Date: Tue, 25 Sep 2001 16:20:01 -0700 (PDT) Message-Id: <200109252320.f8PNK1e43374@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Brooks Davis Subject: Re: kern/30653: KAME option MAX_GIF_NEST missing from /usr/src/sys/conf/options Reply-To: Brooks Davis 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 kern/30653; it has been noted by GNATS. From: Brooks Davis To: Lars Eggert Cc: freebsd-gnats-submit@FreeBSD.ORG Subject: Re: kern/30653: KAME option MAX_GIF_NEST missing from /usr/src/sys/conf/options Date: Tue, 25 Sep 2001 16:10:54 -0700 On Tue, Sep 18, 2001 at 01:56:53PM -0700, Lars Eggert wrote: > The KAME kernel option MAX_GIF_NEST limits the number of recursive gif > tunnels that the system allows (tunnels in tunnels). > > This option has never been merged into the FreeBSD options file. The > code that goes with it *does* exist in the FreeBSD tree, the problem > is that the option isn't included in /usr/src/sys/conf/options, and > thus that code cannot be enabled. > > The code enabled by MAX_GIF_NEST is cricital to the correct operation > to the X-Bone port in net/xbone. Could this be added, please? I think this is the wrong solution to this problem. Instead, a sysctl under the currently non-existant net.link.gif branch should be used to control the value of max_gif_nesting at runtime. IMO, XBONEHACK should probably be controled similarly so you don't need to recompile gif to use xbone. I've added this to my todo list, but the funding I was using to hack gif dried up a month or so ago so I don't know what I'll get to it. FWIW, you can set this option in -current (and probably -stable) by adding a line like this to your kernel config: makeoptions CONF_CFLAGS="-DMAX_GIF_NEST=32" -- Brooks To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message