Date: Tue, 25 Sep 2001 16:20:01 -0700 (PDT) From: Brooks Davis <brooks@one-eyed-alien.net> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/30653: KAME option MAX_GIF_NEST missing from /usr/src/sys/conf/options Message-ID: <200109252320.f8PNK1e43374@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/30653; it has been noted by GNATS. From: Brooks Davis <brooks@one-eyed-alien.net> To: Lars Eggert <larse@isi.edu> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109252320.f8PNK1e43374>