← Rules Catalog
mediumnetworkverified rollback-safe

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

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

Description

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

Framework references

CIS

rhel8 3.3.1.17rhel10 3.3.1.17

STIG

V-281344 / RHEL-10-800120V-257961 / RHEL-09-253030

Live verification

rhel10:checkrhel9:check
#sysctl#networking#hardening