summaryrefslogtreecommitdiffstats
path: root/Documentation/networking
diff options
context:
space:
mode:
authorJay Vosburgh <jay.vosburgh@canonical.com>2021-02-08 17:37:01 -0800
committerDavid S. Miller <davem@davemloft.net>2021-02-09 11:16:03 -0800
commit8cf5d8cc3eae2a6324ff81aa5f2f6c2f52bc5cd0 (patch)
treefdaa5caf65cad908ad3f903a714fe108bfe2943d /Documentation/networking
parent1e2e61af199652a316d321b0a8f6b08e8dba0b08 (diff)
downloadlinux-stable-8cf5d8cc3eae2a6324ff81aa5f2f6c2f52bc5cd0.tar.gz
linux-stable-8cf5d8cc3eae2a6324ff81aa5f2f6c2f52bc5cd0.tar.bz2
linux-stable-8cf5d8cc3eae2a6324ff81aa5f2f6c2f52bc5cd0.zip
Documentation: networking: ip-sysctl: Document src_valid_mark sysctl
Provide documentation for src_valid_mark sysctl, which was added in commit 28f6aeea3f12 ("net: restore ip source validation"). Signed-off-by: Jay Vosburgh <jay.vosburgh@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking')
-rw-r--r--Documentation/networking/ip-sysctl.rst19
1 files changed, 19 insertions, 0 deletions
diff --git a/Documentation/networking/ip-sysctl.rst b/Documentation/networking/ip-sysctl.rst
index 83ff5158005a..581bfce86dca 100644
--- a/Documentation/networking/ip-sysctl.rst
+++ b/Documentation/networking/ip-sysctl.rst
@@ -1446,6 +1446,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