4.3.2 Ensure loopback traffic is blocked on external interfaces

Information

The loopback interface will accept traffic unconditionally. Configure all other interfaces to deny traffic to the loopback network.

Rationale:

Loopback traffic is generated between processes on machine and is typically critical to operation of the system. The loopback interface is the only place that loopback network traffic should be seen, all other interfaces should ignore traffic on this network as an anti-spoofing measure.

Solution

genfilt -v 4 -a D -s 127.0.0.0 -m 255.0.0.0 -l Y -i all

genfilt -v 6 -a D -s ::1 -m 128 -l Y -i all

See Also

https://workbench.cisecurity.org/benchmarks/13069

Item Details

Category: SECURITY ASSESSMENT AND AUTHORIZATION, SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|CA-9, 800-53|SC-7, 800-53|SC-7(5)

Plugin: Unix

Control ID: e453044a005fafa1eec8908de236923fb5b608036928e02021b7ffba5876f02d