Skip to content

An OL 8 firewall must employ a deny-all, allow-by-exception policy for allowing connections to other systems.

An XCCDF Rule

Description

Failure to restrict network connectivity only to authorized systems permits inbound connections from malicious systems. It also permits outbound connections that may facilitate exfiltration of DoD data. OL 8 incorporates the "firewalld" daemon, which allows for many different configurations. One of these configurations is zones. Zones can be used in a deny-all, allow-by-exception approach. The default "drop" zone will drop all incoming network packets unless it is explicitly allowed by the configuration file or is related to an outgoing network connection.

ID
SV-248839r958672_rule
Version
OL08-00-040090
Severity
Medium
References
Updated

Remediation Templates

A Manual Procedure

Configure the "firewalld" daemon to employ a deny-all, allow-by-exception policy with the following commands:

     $ sudo firewall-cmd --permanent --new-zone=[custom]

     $ sudo cp /usr/lib/firewalld/zones/drop.xml /etc/firewalld/zones/[custom].xml