SV-257977r1155772_rule
V-257977
SRG-OS-000480-GPOS-00227
RHEL-09-254040
CAT II
10
Configure RHEL 9 to not accept IPv6 source-routed packets by default.
Create a configuration file if it does not already exist:
$ sudo vi /etc/sysctl.d/ipv6_accept_source_route.conf
Add the following line to the file:
net.ipv6.conf.default.accept_source_route = 0
Reload settings from all system configuration files with the following command:
$ sudo sysctl --system
Verify RHEL 9 does not accept IPv6 source-routed packets by default.
Note: If IPv6 is disabled on the system, this requirement is Not Applicable.
Check the value of the "net.ipv6.conf.default.accept_source_route" variables with the following command:
$ sudo sysctl net.ipv6.conf.default.accept_source_route
net.ipv6.conf.default.accept_source_route = 0
If "net.ipv6.conf.default.accept_source_route" is not set to "0" or is missing, this is a finding.
V-257977
False
RHEL-09-254040
Verify RHEL 9 does not accept IPv6 source-routed packets by default.
Note: If IPv6 is disabled on the system, this requirement is Not Applicable.
Check the value of the "net.ipv6.conf.default.accept_source_route" variables with the following command:
$ sudo sysctl net.ipv6.conf.default.accept_source_route
net.ipv6.conf.default.accept_source_route = 0
If "net.ipv6.conf.default.accept_source_route" is not set to "0" or is missing, this is a finding.
M
5551