netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Correct rp_filter help text.
@ 2007-05-17 21:58 Dave Jones
  2007-05-17 22:01 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Dave Jones @ 2007-05-17 21:58 UTC (permalink / raw)
  To: netdev

As mentioned in http://bugzilla.kernel.org/show_bug.cgi?id=5015
The helptext implies that this is on by default.
This may be true on some distros (Fedora/RHEL have it enabled
in /etc/sysctl.conf), but the kernel defaults to it off.

Signed-off-by: Dave Jones <davej@redhat.com>

diff --git a/net/ipv4/Kconfig b/net/ipv4/Kconfig
index c68196c..420d7a4 100644
--- a/net/ipv4/Kconfig
+++ b/net/ipv4/Kconfig
@@ -43,11 +43,11 @@ config IP_ADVANCED_ROUTER
 	  asymmetric routing (packets from you to a host take a different path
 	  than packets from that host to you) or if you operate a non-routing
 	  host which has several IP addresses on different interfaces. To turn
-	  rp_filter off use:
+	  rp_filter on use:
 
-	  echo 0 > /proc/sys/net/ipv4/conf/<device>/rp_filter
+	  echo 1 > /proc/sys/net/ipv4/conf/<device>/rp_filter
 	  or
-	  echo 0 > /proc/sys/net/ipv4/conf/all/rp_filter
+	  echo 1 > /proc/sys/net/ipv4/conf/all/rp_filter
 
 	  If unsure, say N here.
 

-- 
http://www.codemonkey.org.uk

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: Correct rp_filter help text.
  2007-05-17 21:58 Correct rp_filter help text Dave Jones
@ 2007-05-17 22:01 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2007-05-17 22:01 UTC (permalink / raw)
  To: davej; +Cc: netdev

From: Dave Jones <davej@redhat.com>
Date: Thu, 17 May 2007 17:58:19 -0400

> As mentioned in http://bugzilla.kernel.org/show_bug.cgi?id=5015
> The helptext implies that this is on by default.
> This may be true on some distros (Fedora/RHEL have it enabled
> in /etc/sysctl.conf), but the kernel defaults to it off.
> 
> Signed-off-by: Dave Jones <davej@redhat.com>

Thanks Dave, I'll apply this, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-05-17 22:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-17 21:58 Correct rp_filter help text Dave Jones
2007-05-17 22:01 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).