SV-281342r1167176_rule
V-281342
SRG-OS-000420-GPOS-00186
RHEL-10-800100
CAT II
10
Configure RHEL 10 to ignore IPv4 source-routed packets.
Create a configuration file if it does not already exist:
$ sudo vi /etc/sysctl.d/99-ipv4_accept_source.conf
Add the following line to the file:
net.ipv4.conf.all.accept_source_route = 0
Reload settings from all system configuration files with the following command:
$ sudo sysctl --system
Verify RHEL 10 will not accept IPv4 source-routed packets.
Check the value of the "net.ipv4.conf.all.accept_source_route" variable with the following command:
$ sudo sysctl net.ipv4.conf.all.accept_source_route
net.ipv4.conf.all.accept_source_route = 0
If "net.ipv4.conf.all.accept_source_route" is not set to "0" or is missing, this is a finding.
V-281342
False
RHEL-10-800100
Verify RHEL 10 will not accept IPv4 source-routed packets.
Check the value of the "net.ipv4.conf.all.accept_source_route" variable with the following command:
$ sudo sysctl net.ipv4.conf.all.accept_source_route
net.ipv4.conf.all.accept_source_route = 0
If "net.ipv4.conf.all.accept_source_route" is not set to "0" or is missing, this is a finding.
M
5733