Skip to contentSkip to conversation

ip: update the description of rp_filter in ip-sysctl.txt

PATCH In review Shan Wei 2 participants 2 messages Dec 1, 2009 – Dec 2, 2009

Subsystems (3)
lore
Share & tools
lore

Shan Wei

author
#0 lore raw

PATCH 1/1 ip: update the description of rp_filter in ip-sysctl.txt

The commit 27fed4175acf81ddd91d9a4ee2fd298981f60295
(ip: fix logic of reverse path filter sysctl)has changed the logic of rp_filter. The document about rp_filter is out of date. Now, setting conf/all/rp_filte with 0 can also enable source validation.

Update the document according to the commit.

---
 Documentation/networking/ip-sysctl.txt |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Documentation/networking/ip-sysctl.txt +2 -2
index fbe427a..5dcc067 100644
@@ -738,8 +738,8 @@ rp_filter - INTEGER
 	to prevent IP spoofing from DDos attacks. If using asymmetric routing
 	or other complicated routing, then loose mode is recommended.
 
-	conf/all/rp_filter must also be set to non-zero to do source validation
-	on the interface
+	The max value from conf/{all,interface}/rp_filter is used
+	when doing source validation on the {interface}.
 
 	Default value is 0. Note that some distributions enable it
 	in startup scripts.
Signature · 1 line
1.6.3.3
maintainer
#1 lore raw

From: Shan Wei <[email protected]>
Date: Tue, 01 Dec 2009 15:04:32 +0800

Quoted 8 lines

The commit 27fed4175acf81ddd91d9a4ee2fd298981f60295
$B!J(Bip: fix logic of reverse path filter sysctl$B!K(Bhas changed the logic of rp_filter. The document about rp_filter is out of date. Now, setting conf/all/rp_filte with 0 can also enable source validation.

Update the document according to the commit.

Patch applied, thank you.