Skip to content

AlmaLinux OS 9 must log packets with impossible addresses.

An XCCDF Rule

Description

The presence of "martian" packets (which have impossible addresses) as well as spoofed packets, source-routed packets, and redirects could be a sign of nefarious network activity. Logging these packets enables this activity to be detected.

ID
SV-269251r1050133_rule
Version
ALMA-09-019380
Severity
Medium
References
Updated

Remediation Templates

A Manual Procedure

Configure AlmaLinux OS 9 to log martian packets.

Create a numbered *.conf file in /etc/sysctl.d/ with the following content:

net.ipv4.conf.all.log_martians = 1
net.ipv4.conf.default.log_martians = 1