4.6.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.

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/10385

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), CSCv7|9.4

Plugin: Unix

Control ID: 55a6ce8614ffb8c38480e8557526fe96b7542445e49309bcb4903e8799b1d2ff