RHEL-06-000088 - The system must log Martian packets - sysctl

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.

Solution

To set the runtime status of the 'net.ipv4.conf.all.log_martians' kernel parameter, run the following command:

# sysctl -w net.ipv4.conf.all.log_martians=1

Set the system to the required kernel parameter by adding the following line to '/etc/sysctl.conf' or a config file in the /etc/sysctl.d/ directory (or modify the line to have the required value):

net.ipv4.conf.all.log_martians = 1

Issue the following command to make the changes take effect:

# sysctl --system

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|III, CCI|CCI-000366, Rule-ID|SV-217917r603264_rule, STIG-ID|RHEL-06-000088, STIG-Legacy|SV-50329, STIG-Legacy|V-38528, Vuln-ID|V-217917

Plugin: Unix

Control ID: 1f7c1e11124e04cbc819e5d6bfe4e31f6ea64d24a7fb8618dc2c2071f2ce671b