2.4.36-stable kernel tree
リビジョン | 4178cd8d9a552390bd76d5946e7e18e01f4720ec (tree) |
---|---|
日時 | 2006-09-29 06:39:59 |
作者 | Willy Tarreau <w@1wt....> |
コミッター | Willy Tarreau |
[PATCH] fix Configure.help concerning rp_filter
Adrian Buciuman reported that Configure.help is wrong regarding
rp_filter, while ip_sysctl.txt is right. rp_filter is OFF by
default.
@@ -6059,11 +6059,11 @@ CONFIG_IP_ADVANCED_ROUTER | ||
6059 | 6059 | asymmetric routing (packets from you to a host take a different path |
6060 | 6060 | than packets from that host to you) or if you operate a non-routing |
6061 | 6061 | host which has several IP addresses on different interfaces. To turn |
6062 | - rp_filter off use: | |
6062 | + rp_filter on use: | |
6063 | 6063 | |
6064 | - echo 0 > /proc/sys/net/ipv4/conf/<device>/rp_filter | |
6065 | - or | |
6066 | - echo 0 > /proc/sys/net/ipv4/conf/all/rp_filter | |
6064 | + echo 1 > /proc/sys/net/ipv4/conf/<device>/rp_filter | |
6065 | + and | |
6066 | + echo 1 > /proc/sys/net/ipv4/conf/all/rp_filter | |
6067 | 6067 | |
6068 | 6068 | If unsure, say N here. |
6069 | 6069 |