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

Information

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-00075

Solution

Configure RHEL 10 to log martian packets on IPv4 interfaces by default.

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.default.log_martians=1

Reload settings from all system configuration files with the following command:

$ sudo sysctl --system

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_RHEL_10_V1R1_STIG.zip

Item Details

Category: SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|SC-5, 800-53|SC-7(1), CAT|II, CCI|CCI-001099, CCI|CCI-002385, Rule-ID|SV-281344r1167182_rule, STIG-ID|RHEL-10-800120, Vuln-ID|V-281344

Plugin: Unix

Control ID: 3add6d45bd9d2353a58e93d42e8d31d36ab744ad325dd46110af6673b56895f4