SV-281351r1184698_rule
V-281351
SRG-OS-000420-GPOS-00186
RHEL-10-800190
CAT II
10
Configure RHEL 10 to not send IPv4 ICMP redirect messages.
Create a configuration file if it does not already exist:
$ sudo vi /etc/sysctl.d/ipv4_send_redirects.conf
Add the following line to the file:
net.ipv4.conf.all.send_redirects = 0
Reload settings from all system configuration files with the following command:
$ sudo sysctl --system
Verify RHEL 10 does not send IPv4 ICMP redirect messages.
Check the value of the "net.ipv4.conf.all.send_redirects" variables with the following command:
$ sudo sysctl net.ipv4.conf.all.send_redirects
net.ipv4.conf.all.send_redirects = 0
If "net.ipv4.conf.all.send_redirects" is not set to "0" and is not documented with the information system security officer as an operational requirement or is missing, this is a finding.
V-281351
False
RHEL-10-800190
Verify RHEL 10 does not send IPv4 ICMP redirect messages.
Check the value of the "net.ipv4.conf.all.send_redirects" variables with the following command:
$ sudo sysctl net.ipv4.conf.all.send_redirects
net.ipv4.conf.all.send_redirects = 0
If "net.ipv4.conf.all.send_redirects" is not set to "0" and is not documented with the information system security officer as an operational requirement or is missing, this is a finding.
M
5733