← Rules Catalog
mediumnetworkverified rollback-safe

Ensure net.ipv4.conf.all.accept_redirects is set to 0

sysctl-net-ipv4-conf-all-accept-redirects · RHEL ≥ 8 · 1 impl

Description

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

Framework references

CIS

rhel9 3.3.5rhel8 3.3.1.8rhel10 3.3.1.8

STIG

V-281341 / RHEL-10-800090V-244553 / RHEL-08-040279V-257958 / RHEL-09-253015

Live verification

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