RHEL 10 must log Internet Protocol version 4 (IPv4) packets with impossible addresses.

Overview

Finding IDVersionRule IDIA ControlsSeverity
V-281343RHEL-10-800110SV-281343r1167179_ruleCCI-002385medium
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. Satisfies: SRG-OS-000420-GPOS-00186, SRG-OS-000142-GPOS-00074
STIGDate
Red Hat Enterprise Linux 10 Security Technical Implementation Guide2026-03-11

Details

Check Text (C-281343r1167179_chk)

Verify RHEL 10 logs IPv4 martian packets. Check the value of the "net.ipv4.conf.all.log_martians" variable with the following command: $ sudo sysctl net.ipv4.conf.all.log_martians net.ipv4.conf.all.log_martians = 1 If "net.ipv4.conf.all.log_martians" is not set to "1" or is missing, this is a finding.

Fix Text (F-85809r1167178_fix)

Configure RHEL 10 to log martian packets on IPv4 interfaces. Create a configuration file if it does not already exist: $ sudo vi /etc/sysctl.d/99-ipv4_log_martians.conf Add the following line to the file: net.ipv4.conf.all.log_martians=1 Reload settings from all system configuration files with the following command: $ sudo sysctl --system