Re: Stopping IP data from travelling too far

Johannes Stille (johannes@titan.westfalen.de)
Wed, 28 Feb 96 11:37 MET


[...]
>I've had a look around the kernel source and changed a few MAXTTL type
>entries, but to no effect. I'm don't really understand the technicalities of
>what I want, only that I *do* want it. I remember from a while back
>people having trouble with the old 30 hop maximum, so I figure that this
>should be possible...
[...]

Your reasoning is entirely correct.

At least in 1.3.32, the kernel code unfortunately just ignores MAXTTL,
the ip_ttl value is hardcoded to 64 in inet_create() in af_inet.c; I
don't have the current kernel source, but I don't have any reason to
assume this has changed. (But it should be - Alan?)

So just adapt the code of this function.

Johannes