SV-257972r1155757_rule
V-257972
SRG-OS-000480-GPOS-00227
RHEL-09-254015
CAT II
10
Configure RHEL 9 to ignore IPv6 ICMP redirect messages.
Create a configuration file if it does not already exist:
$ sudo vi /etc/sysctl.d/ipv6_accept_redirects.conf
Add the following line to the file:
net.ipv6.conf.all.accept_redirects = 0
Reload settings from all system configuration files with the following command:
$ sudo sysctl --system
Verify RHEL 9 ignores IPv6 ICMP redirect messages.
Note: If IPv6 is disabled on the system, this requirement is Not Applicable.
Check the value of the "accept_redirects" variable with the following command:
$ sysctl net.ipv6.conf.all.accept_redirects
net.ipv6.conf.all.accept_redirects = 0
If "net.ipv6.conf.all.accept_redirects" is not set to "0" or is missing, this is a finding.
V-257972
False
RHEL-09-254015
Verify RHEL 9 ignores IPv6 ICMP redirect messages.
Note: If IPv6 is disabled on the system, this requirement is Not Applicable.
Check the value of the "accept_redirects" variable with the following command:
$ sysctl net.ipv6.conf.all.accept_redirects
net.ipv6.conf.all.accept_redirects = 0
If "net.ipv6.conf.all.accept_redirects" is not set to "0" or is missing, this is a finding.
M
5551