RHEL-06-000089 - The system must not accept IPv4 source-routed packets by default - config

Information

Accepting source-routed packets in the IPv4 protocol has few legitimate uses. It should be disabled unless it is absolutely required.

Solution

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

# sysctl -w net.ipv4.conf.default.accept_source_route=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.default.accept_source_route = 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-217918r603264_rule, STIG-ID|RHEL-06-000089, STIG-Legacy|SV-50330, STIG-Legacy|V-38529, Vuln-ID|V-217918

Plugin: Unix

Control ID: 1b946d12d72b29db9c41e417b9ebd73076541d696b3ea9d959a2a41c72bf7efc