SV-269247r1050129_rule
V-269247
SRG-OS-000480-GPOS-00227
ALMA-09-018940
CAT II
10
Configure AlmaLinux OS 9 to use reverse path filtering on all IP interfaces.
Create a numbered *.conf file in /etc/sysctl.d/ with the following content:
net.ipv4.icmp_ignore_bogus_error_responses = 1
The system configuration files need to be reloaded for the changes to take effect. To reload the contents of the files, run the following command:
$ sysctl --system
Verify AlmaLinux OS 9 ignores bogus ICMP error responses with the following command:
$ sysctl net.ipv4.icmp_ignore_bogus_error_responses
net.ipv4.icmp_ignore_bogus_error_responses = 1
If the returned line does not have a value of "1", this is a finding.
V-269247
False
ALMA-09-018940
Verify AlmaLinux OS 9 ignores bogus ICMP error responses with the following command:
$ sysctl net.ipv4.icmp_ignore_bogus_error_responses
net.ipv4.icmp_ignore_bogus_error_responses = 1
If the returned line does not have a value of "1", this is a finding.
M
5664