SV-257971r1155754_rule
V-257971
SRG-OS-000480-GPOS-00227
RHEL-09-254010
CAT II
10
Configure RHEL 9 to not accept router advertisements on all IPv6 interfaces unless the system is a router.
Create a configuration file if it does not already exist:
$ sudo vi /etc/sysctl.d/ipv4_accept_ra.conf
Add the following line to the file:
net.ipv6.conf.all.accept_ra = 0
Reload settings from all system configuration files with the following command:
$ sudo sysctl --system
Verify RHEL 9 does not accept router advertisements on all IPv6 interfaces, unless the system is a router.
Note: If IPv6 is disabled on the system, this requirement is Not Applicable.
Check that "net.ipv6.conf.all.accept_ra" is set to not accept router advertisements by using the following command:
$ sudo sysctl net.ipv6.conf.all.accept_ra
net.ipv6.conf.all.accept_ra = 0
If "net.ipv6.conf.all.accept_ra" is not set to "0" or is missing, this is a finding.
V-257971
False
RHEL-09-254010
Verify RHEL 9 does not accept router advertisements on all IPv6 interfaces, unless the system is a router.
Note: If IPv6 is disabled on the system, this requirement is Not Applicable.
Check that "net.ipv6.conf.all.accept_ra" is set to not accept router advertisements by using the following command:
$ sudo sysctl net.ipv6.conf.all.accept_ra
net.ipv6.conf.all.accept_ra = 0
If "net.ipv6.conf.all.accept_ra" is not set to "0" or is missing, this is a finding.
M
5551