Skip to content

The Photon operating system must log IPv4 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-256572r991589_rule
Version
PHTN-30-000103
Severity
Medium
References
Updated

Remediation Templates

A Manual Procedure

At the command line, run the following command:

# for SETTING in $(/sbin/sysctl -aN --pattern "net.ipv4.conf.(all|default|eth.*).log_martians"); do sed -i -e "/^${SETTING}/d" /etc/sysctl.conf;echo $SETTING=1>>/etc/sysctl.conf; done
# /sbin/sysctl --load