lkml.org 
[lkml]   [1996]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: ICMP redirect ignored
Date
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 <#


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.052 / U:1.520 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site