[PATCH net] Documentation: networking: ip-sysctl: Document src_valid_mark sysctl

Subsystems: documentation, networking [general], the rest

STALE1998d

2 messages, 2 authors, 2021-02-09 · open the first message on its own page

[PATCH net] Documentation: networking: ip-sysctl: Document src_valid_mark sysctl

From: Jay Vosburgh <hidden>
Date: 2021-02-09 01:38:02

	Provide documentation for src_valid_mark sysctl, which was added
in commit 28f6aeea3f12 ("net: restore ip source validation").

Signed-off-by: Jay Vosburgh <redacted>

---
 Documentation/networking/ip-sysctl.rst | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
diff --git a/Documentation/networking/ip-sysctl.rst b/Documentation/networking/ip-sysctl.rst
index fa544e9037b9..0fb39c895c95 100644
--- a/Documentation/networking/ip-sysctl.rst
+++ b/Documentation/networking/ip-sysctl.rst
@@ -1425,6 +1425,25 @@ rp_filter - INTEGER
 	Default value is 0. Note that some distributions enable it
 	in startup scripts.
 
+src_valid_mark - BOOLEAN
+	- 0 - The fwmark of the packet is not included in reverse path
+	  route lookup.  This allows for asymmetric routing configurations
+	  utilizing the fwmark in only one direction, e.g., transparent
+	  proxying.
+
+	- 1 - The fwmark of the packet is included in reverse path route
+	  lookup.  This permits rp_filter to function when the fwmark is
+	  used for routing traffic in both directions.
+
+	This setting also affects the utilization of fmwark when
+	performing source address selection for ICMP replies, or
+	determining addresses stored for the IPOPT_TS_TSANDADDR and
+	IPOPT_RR IP options.
+
+	The max value from conf/{all,interface}/src_valid_mark is used.
+
+	Default value is 0.
+
 arp_filter - BOOLEAN
 	- 1 - Allows you to have multiple network interfaces on the same
 	  subnet, and have the ARPs for each interface be answered
-- 
2.29.GIT

Re: [PATCH net] Documentation: networking: ip-sysctl: Document src_valid_mark sysctl

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-02-09 20:05:09

Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

On Mon, 08 Feb 2021 17:37:01 -0800 you wrote:
Provide documentation for src_valid_mark sysctl, which was added
in commit 28f6aeea3f12 ("net: restore ip source validation").

Signed-off-by: Jay Vosburgh <redacted>

---
 Documentation/networking/ip-sysctl.rst | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
Here is the summary with links:
  - [net] Documentation: networking: ip-sysctl: Document src_valid_mark sysctl
    https://git.kernel.org/netdev/net-next/c/8cf5d8cc3eae

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help