File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,11 @@ net.ipv4.conf.*.send_redirects = 0
6767net.ipv4.conf.*.accept_redirects = 0
6868net.ipv6.conf.*.accept_redirects = 0
6969
70+ # https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/6/html/security_guide/sect-security_guide-server_security-disable-source-routing
71+ # Disable source route
72+ net.ipv4.conf.*.accept_source_route = 0
73+ net.ipv6.conf.*.accept_source_route = 0
74+
7075# Check if the source of the IP address is reachable through the same interface it came in.
7176# Basic IP spoofing mitigation.
7277net.ipv4.conf.*.rp_filter = 1
Original file line number Diff line number Diff line change @@ -68,6 +68,11 @@ net.ipv4.conf.*.send_redirects = 0
6868net.ipv4.conf.*.accept_redirects = 0
6969net.ipv6.conf.*.accept_redirects = 0
7070
71+ # https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/6/html/security_guide/sect-security_guide-server_security-disable-source-routing
72+ # Disable source route
73+ net.ipv4.conf.*.accept_source_route = 0
74+ net.ipv6.conf.*.accept_source_route = 0
75+
7176# Check if the source of the IP address is reachable through the same interface it came in
7277# Basic IP spoofing mitigation.
7378net.ipv4.conf.*.rp_filter = 1
You can’t perform that action at this time.
0 commit comments