SV-257975r1155766_rule
V-257975
SRG-OS-000480-GPOS-00227
RHEL-09-254030
CAT II
10
Configure RHEL 9 to not accept router advertisements on all IPv6 interfaces by default unless the system is a router.
Create a configuration file if it does not already exist:
$ sudo vi /etc/sysctl.d/ipv6_accept_ra.conf
Add the following line to the file:
net.ipv6.conf.default.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 by default, unless the system is a router.
Note: If IPv6 is disabled on the system, this requirement is Not Applicable.
Check the value of the "net.ipv6.conf.default.accept_ra" variable with the following command:
$ sudo sysctl net.ipv6.conf.default.accept_ra
net.ipv6.conf.default.accept_ra = 0
If "net.ipv6.conf.default.accept_ra" is not set to "0" or is missing, this is a finding.
V-257975
False
RHEL-09-254030
Verify RHEL 9 does not accept router advertisements on all IPv6 interfaces by default, unless the system is a router.
Note: If IPv6 is disabled on the system, this requirement is Not Applicable.
Check the value of the "net.ipv6.conf.default.accept_ra" variable with the following command:
$ sudo sysctl net.ipv6.conf.default.accept_ra
net.ipv6.conf.default.accept_ra = 0
If "net.ipv6.conf.default.accept_ra" is not set to "0" or is missing, this is a finding.
M
5551