Re: a lot of ICMP redirect messages
Alan Cox (alan@lxorguk.ukuu.org.uk)
Wed, 23 Jul 1997 20:57:23 +0100 (BST)
>
> I recompiled the kernel with IP forwarding off (to make sure). And it
> still doesn't accept redirects. If you look carefuly to the icmp_redirect
> function in net/ipv4/icmp.c you see that the code which handle redirects
> is ifdefed so it is never included to the kernel. It doesn't matter if the
Yes its got broken between 2.0.29 and 2.0.30 in adding the sysctl..
It needs to read
#if !defined(CONFIG_IP_DUMB_ROUTER)
if(sysctl_ip_forward) {
NETDEBUG("blah")
goto flush_it;
}
#endif
switch(...
One for 2.0.31pre3 Werner
Alan