mediumnetworkverified ✓rollback-safe
Ensure net.ipv4.conf.all.accept_source_route is set to 0
sysctl-net-ipv4-conf-all-accept-source-route · RHEL ≥ 8 · 1 impl
Description
The kernel parameter net.ipv4.conf.all.accept_source_route must be set to 0 to enforce this network/kernel security control.
Rationale
Improper network kernel parameters can allow network-based attacks including packet redirection, source routing, and denial of service.
Check → Remediate
Checksysctl_value
- key:
- net.ipv4.conf.all.accept_source_route
- expected:
- 0
Remediatesysctl_set
- key:
- net.ipv4.conf.all.accept_source_route
- value:
- 0
Framework references
CIS
rhel9 3.3.8rhel8 3.3.1.14rhel10 3.3.1.14
STIG
V-281342 / RHEL-10-800100V-244551 / RHEL-08-040239V-257959 / RHEL-09-253020
Live verification
rhel10:checkrhel8:checkrhel9:check
#sysctl#networking#hardening