OSDN Git Service

[PATCH] fix Configure.help concerning rp_filter
authorWilly Tarreau <w@1wt.eu>
Thu, 28 Sep 2006 21:39:59 +0000 (23:39 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 28 Sep 2006 21:39:59 +0000 (23:39 +0200)
Adrian Buciuman reported that Configure.help is wrong regarding
rp_filter, while ip_sysctl.txt is right. rp_filter is OFF by
default.

Documentation/Configure.help

index 537ed1c..e915761 100644 (file)
@@ -6059,11 +6059,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
-  or
-        echo 0 > /proc/sys/net/ipv4/conf/all/rp_filter
+        echo 1 > /proc/sys/net/ipv4/conf/<device>/rp_filter
+  and
+        echo 1 > /proc/sys/net/ipv4/conf/all/rp_filter
 
   If unsure, say N here.