Bug 5016 - rp_filter documentation error in Kconfig
Summary: rp_filter documentation error in Kconfig
Status: REJECTED DUPLICATE of bug 5015
Alias: None
Product: Networking
Classification: Unclassified
Component: Other (show other bugs)
Hardware: i386 Linux
: P2 low
Assignee: Arnaldo Carvalho de Melo
Depends on:
Reported: 2005-08-07 11:46 UTC by Adrian Buciuman
Modified: 2005-08-07 12:45 UTC (History)
0 users

See Also:
Kernel Version: 2.6 2.4
Tree: Mainline
Regression: ---


Description Adrian Buciuman 2005-08-07 11:46:26 UTC
rp_filter is off by _kernel_ default.
(Some distibutions turn it on in startup scripts).

The folowing text from net/ipv4/Kconfig is confusing.(It seems one distribution 
maintainer thinks rp_filter is on by kernel default)

If you turn on IP forwarding, you will also get the rp_filter, which
automatically rejects incoming packets if the routing table entry
for their source address doesn't match the network interface they're
arriving on. This has security advantages because it prevents the
so-called IP spoofing, however it can pose problems if you use
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:

echo 0 > /proc/sys/net/ipv4/conf/<device>/rp_filter
echo 0 > /proc/sys/net/ipv4/conf/all/rp_filter"

In 2.4 the error is in Documentation/Configure/help. Please fix this too.

Comment 1 Adrian Bunk 2005-08-07 12:45:23 UTC

*** This bug has been marked as a duplicate of 5015 ***

Note You need to log in before you can comment on or make changes to this bug.