RHEL-06-000086 - The system must not accept ICMPv4 secure redirect packets on any interface - config

Information

Accepting 'secure' ICMP redirects (from those gateways listed as default gateways) 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.secure_redirects' kernel parameter, run the following command:

# sysctl -w net.ipv4.conf.all.secure_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.secure_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-217916r603264_rule, STIG-ID|RHEL-06-000086, STIG-Legacy|SV-50327, STIG-Legacy|V-38526, Vuln-ID|V-217916

Plugin: Unix

Control ID: 9e7e42c46109ac579518fe5c4af1cf63356e2f0c7a7d43fb91c810608a9e7269