← Rules Catalog
mediumnetworkverified rollback-safe

Ensure net.ipv4.conf.default.accept_source_route is set to 0

sysctl-net-ipv4-conf-default-accept-source-route · RHEL ≥ 8 · 1 impl

Description

The kernel parameter net.ipv4.conf.default.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.default.accept_source_route
expected:
0
Remediatesysctl_set
key:
net.ipv4.conf.default.accept_source_route
value:
0

Framework references

CIS

rhel8 3.3.1.15rhel10 3.3.1.15

STIG

V-281347 / RHEL-10-800150V-244552 / RHEL-08-040249V-257964 / RHEL-09-253045

Live verification

rhel10:checkrhel8:checkrhel9:check
#sysctl#networking#hardening