SV-271874r1092612_rule
V-271874
SRG-OS-000480-GPOS-00227
OL09-00-006031
CAT II
10
Configure OL 9 to not log bogus ICMP errors:
Add or edit the following line in a single system configuration file in the "/etc/sysctl.d/" directory:
net.ipv4.icmp_ignore_bogus_error_responses = 1
Load settings from all system configuration files with the following command:
$ sudo sysctl --system
Verify that OL 9 limits the number of bogus ICMP response errors logs.
The runtime status of the net.ipv4.icmp_ignore_bogus_error_responses kernel parameter can be queried by running the following command:
$ sysctl net.ipv4.icmp_ignore_bogus_error_responses
net.ipv4.icmp_ignore_bogus_error_responses = 1
If "net.ipv4.icmp_ignore_bogus_error_responses" is not set to "1", this is a finding.
V-271874
False
OL09-00-006031
Verify that OL 9 limits the number of bogus ICMP response errors logs.
The runtime status of the net.ipv4.icmp_ignore_bogus_error_responses kernel parameter can be queried by running the following command:
$ sysctl net.ipv4.icmp_ignore_bogus_error_responses
net.ipv4.icmp_ignore_bogus_error_responses = 1
If "net.ipv4.icmp_ignore_bogus_error_responses" is not set to "1", this is a finding.
M
5680