STIGQter STIGQter: STIG Summary: Red Hat Enterprise Linux 9 Security Technical Implementation Guide Version: 2 Release: 9 Benchmark Date: 01 Jul 2026:

RHEL 9 must limit the number of bogus Internet Control Message Protocol (ICMP) response errors logs.

DISA Rule

SV-257967r1155745_rule

Vulnerability Number

V-257967

Group Title

SRG-OS-000480-GPOS-00227

Rule Version

RHEL-09-253060

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Configure RHEL 9 to not log bogus ICMP errors:

Create a configuration file if it does not already exist:

$ sudo vi /etc/sysctl.d/ipv4_icmp_ignore_bogus_error_responses.conf

Add the following line to the file:
net.ipv4.icmp_ignore_bogus_error_responses = 1

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

$ sudo sysctl --system

Check Contents

Verify RHEL 9 limits the number of bogus Internet Control Message Protocol (ICMP) response errors logs.

Check the value of the "net.ipv4.icmp_ignore_bogus_error_response" variables with the following command:

$ sudo sysctl net.ipv4.icmp_ignore_bogus_error_responses
net.ipv4.icmp_ignore_bogus_error_responses = 1

If "net.ipv4.icmp_ignore_bogus_error_response" is not set to "1" or is missing, this is a finding.

Vulnerability Number

V-257967

Documentable

False

Rule Version

RHEL-09-253060

Severity Override Guidance

Verify RHEL 9 limits the number of bogus Internet Control Message Protocol (ICMP) response errors logs.

Check the value of the "net.ipv4.icmp_ignore_bogus_error_response" variables with the following command:

$ sudo sysctl net.ipv4.icmp_ignore_bogus_error_responses
net.ipv4.icmp_ignore_bogus_error_responses = 1

If "net.ipv4.icmp_ignore_bogus_error_response" is not set to "1" or is missing, this is a finding.

Check Content Reference

M

Target Key

5551