← Rules Catalog
mediumnetworkverified rollback-safe

Ensure net.ipv4.conf.all.log_martians is set to 1

sysctl-net-ipv4-conf-all-log-martians · RHEL ≥ 8 · 1 impl

Description

The kernel parameter net.ipv4.conf.all.log_martians must be set to 1 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.log_martians
expected:
1
Remediatesysctl_set
key:
net.ipv4.conf.all.log_martians
value:
1

Framework references

CIS

rhel9 3.3.9rhel8 3.3.1.16rhel10 3.3.1.16

STIG

V-281343 / RHEL-10-800110V-257960 / RHEL-09-253025

Live verification

rhel10:checkrhel9:check
#sysctl#networking#hardening