STIGhubSTIGhub
STIGsRMF ControlsCompare
STIGhub— A free STIG search and compliance tool·STIGs updated 3 days ago
Powered by Pylon·Privacy·Terms·© 2026 Beacon Cloud Solutions, Inc.
← Back to Cloud Linux AlmaLinux OS 9 Security Technical Implementation Guide

V-269259

CAT II (Medium)

Alma Linux OS 9 must not accept IPv4 source-routed packets by default.

Rule ID

SV-269259r1107619_rule

STIG

Cloud Linux AlmaLinux OS 9 Security Technical Implementation Guide

Version

V1R6

CCIs

CCI-000366

Discussion

Source-routed packets allow the source of the packet to suggest routers forward the packet along a different path than configured on the router, which can be used to bypass network security measures. This requirement applies only to the forwarding of source-routed traffic, such as when IP forwarding is enabled and the system is functioning as a router. Accepting source-routed packets has few legitimate uses. It must be disabled unless it is absolutely required.

Check Content

Verify AlmaLinux OS 9 will not accept source-routed packets.

Check the value of the "accept_source_route" variables with the following command:

$ sysctl -a | grep accept_source_route

net.ipv4.conf.all.accept_source_route = 0
net.ipv4.conf.default.accept_source_route = 0
net.ipv4.conf.enp1s0.accept_source_route = 0
net.ipv4.conf.lo.accept_source_route = 0
net.ipv6.conf.all.accept_source_route = 0
net.ipv6.conf.default.accept_source_route = 0
net.ipv6.conf.enp1s0.accept_source_route = 0
net.ipv6.conf.lo.accept_source_route = 0

If the returned lines do not all have a value of "0", this is a finding.

Fix Text

Configure AlmaLinux OS 9 to ignore source-routed packets.

Create a numbered *.conf file in /etc/sysctl.d/ with the following content:

net.ipv4.conf.all.accept_source_route = 0
net.ipv4.conf.default.accept_source_route = 0
net.ipv4.conf.lo.accept_source_route = 0
net.ipv6.conf.all.accept_source_route = 0
net.ipv6.conf.default.accept_source_route = 0
net.ipv6.conf.lo.accept_source_route = 0

The system configuration files must be reloaded for the changes to take effect. To reload the contents of the files, run the following command:

$ sysctl --system