4.650 - The system must not allow interfaces to perform Internet Protocol version 4 (IPv4) Internet Control Message Protocol (ICMP) redirects by default - config

Information

ICMP redirect messages are used by routers to inform hosts that a more direct route exists for a particular destination. These messages contain information from the system's route table, possibly revealing portions of the network topology.

Solution

Configure the system to not allow interfaces to perform IPv4 ICMP redirects by default.

Set the system to the required kernel parameter by adding the following line to '/etc/sysctl.conf' or a configuration file in the /etc/sysctl.d/ directory (or modify the line to have the required value):

net.ipv4.conf.default.send_redirects = 0

Issue the following command to make the changes take effect:

# sysctl --system

See Also

https://docs.fedoraproject.org/f28/system-administrators-guide/index.html

Item Details

Category: SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|SC-7(12), CAT|II, CCI|CCI-000366, CSCv6|9.2

Plugin: Unix

Control ID: 7b7d0ba1120a8c08911244cad03c9176de4fe55d4dfa1c5c97c15579aaf025ef