Re: ICMP redirect ignored

Mike Shaver (shaver@neon.ingenia.ca)
Tue, 28 May 1996 10:25:38 -0400 (EDT)


Thus spake H. Peter Anvin:
> However, it is worth thinking about the fact that a kernel compiled
> with CONFIG_IP_FORWARD may not have to be a router. In fact, it would
> be extremely nice if routing could be enabled/disabled using sysconfig
> or something similar.

I had a sysctl patch I sent to Linus and Alan a while back, but it's
not really pre-2.0 critical. I'll probably rework it for 2.1, but the
gist of it was:

# cat /proc/sys/net/ipv4/ip_forward
1
# echo "0" > /proc/sys/net/ipv4/ip_forward
#

And then IP forwarding was off.
(Of course, I forgot to reflect the change in the SNMP and ICMP
redirect code, but that's why I'm reworking it....might also be why
Linus was ignoring it. =) )

Same deal with the ARP tuning stuff.

Mike

-- 
#> Mike Shaver (shaver@ingenia.com) Ingenia Communications Corporation <#
#> Paranoid for money.                            Sarcastic for kicks. <#
#>                                                                     <#
#> "They already *KNOW* I am a whacko, Karen.                          <#
#>                  That doesn't mean I am *WRONG*." -- mjr@clark.net  <#