RHEL-06-000084 - The system must not accept ICMPv4 redirect packets on any interface - sysctl

Information

Accepting ICMP redirects has few legitimate uses. It should be disabled unless it is absolutely required.

Solution

To set the runtime status of the 'net.ipv4.conf.all.accept_redirects' kernel parameter, run the following command:

# sysctl -w net.ipv4.conf.all.accept_redirects=0

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

net.ipv4.conf.all.accept_redirects = 0

Issue the following command to make the changes take effect:

# sysctl --system

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_RHEL_6_V2R2_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-217915r603264_rule, STIG-ID|RHEL-06-000084, STIG-Legacy|SV-50325, STIG-Legacy|V-38524, Vuln-ID|V-217915

Plugin: Unix

Control ID: 1ab000c4cfee192056976b5cc95a1913236a2419614e33b63dd63c53533fa892