OL 9 must use reverse path filtering on all IPv4 interfaces.

Overview

Finding IDVersionRule IDIA ControlsSeverity
V-271868OL09-00-006024SV-271868r1092316_ruleCCI-000366medium
Description
Enabling reverse path filtering drops packets with source addresses that should not have been able to be received on the interface on which they were received. It must not be used on systems that are routers for complicated networks but is helpful for end hosts and routers serving small networks.
STIGDate
Oracle Linux 9 Security Technical Implementation Guide2025-05-08

Details

Check Text (C-271868r1092316_chk)

Verify that OL 9 uses reverse path filtering on all IPv4 interfaces with the following commands: $ sysctl net.ipv4.conf.all.rp_filter net.ipv4.conf.all.rp_filter = 1 If the returned line does not have a value of "1", or a line is not returned, this is a finding.

Fix Text (F-75825r1092315_fix)

Configure OL 9 to use reverse path filtering on all IPv4 interfaces. Add or edit the following line in a single system configuration file in the "/etc/sysctl.d/" directory: net.ipv4.conf.all.rp_filter = 1 The system configuration files need to be reloaded for the changes to take effect. To reload the contents of the files, run the following command: $ sudo sysctl --system