SV-230543r627750_rule
V-230543
SRG-OS-000480-GPOS-00227
RHEL-08-040270
CAT II
10
Configure RHEL 8 to not allow interfaces to perform Internet Protocol version 4 (IPv4) ICMP redirects by default with the following command:
$ sudo sysctl -w net.ipv4.conf.default.send_redirects=0
If "0" is not the system's default value then add or update the following line in the appropriate file under "/etc/sysctl.d":
net.ipv4.conf.default.send_redirects=0
Verify RHEL 8 does not allow interfaces to perform Internet Protocol version 4 (IPv4) ICMP redirects by default.
Note: If either IPv4 or IPv6 is disabled on the system, this requirement only applies to the active internet protocol version.
Check the value of the "default send_redirects" variables with the following command:
$ sudo sysctl net.ipv4.conf.default.send_redirects
net.ipv4.conf.default.send_redirects=0
If the returned line does not have a value of "0", or a line is not returned, this is a finding.
V-230543
False
RHEL-08-040270
Verify RHEL 8 does not allow interfaces to perform Internet Protocol version 4 (IPv4) ICMP redirects by default.
Note: If either IPv4 or IPv6 is disabled on the system, this requirement only applies to the active internet protocol version.
Check the value of the "default send_redirects" variables with the following command:
$ sudo sysctl net.ipv4.conf.default.send_redirects
net.ipv4.conf.default.send_redirects=0
If the returned line does not have a value of "0", or a line is not returned, this is a finding.
M
2921