瀏覽代碼

ipv4: Clarify in docs that accept_local requires rp_filter.

Signed-off-by: David S. Miller <davem@davemloft.net>
David S. Miller 13 年之前
父節點
當前提交
c801e3cc19
共有 1 個文件被更改,包括 8 次插入3 次删除
  1. 8 3
      Documentation/networking/ip-sysctl.txt

+ 8 - 3
Documentation/networking/ip-sysctl.txt

@@ -857,9 +857,14 @@ accept_source_route - BOOLEAN
 		FALSE (host)
 		FALSE (host)
 
 
 accept_local - BOOLEAN
 accept_local - BOOLEAN
-	Accept packets with local source addresses. In combination with
-	suitable routing, this can be used to direct packets between two
-	local interfaces over the wire and have them accepted properly.
+	Accept packets with local source addresses. In combination
+	with suitable routing, this can be used to direct packets
+	between two local interfaces over the wire and have them
+	accepted properly.
+
+	rp_filter must be set to a non-zero value in order for
+	accept_local to have an effect.
+
 	default FALSE
 	default FALSE
 
 
 route_localnet - BOOLEAN
 route_localnet - BOOLEAN