Enable the SuSEfirewall 2
An XCCDF Rule
Description
The SuSEfirewall2
service can be enabled with the following command:
$ sudo systemctl enable SuSEfirewall2.service
Rationale
To prevent unauthorized connection of devices, unauthorized transfer of information, or unauthorized tunneling (i.e., embedding of data types within data types), organizations must disable or restrict unused or unnecessary physical and logical ports/protocols on information systems. SUSE operating systems are capable of providing a wide variety of functions and services. Some of the functions and services provided by default may not be necessary to support essential organizational operations. Additionally, it is sometimes convenient to provide multiple services from a single component (e.g., VPN and IPS); however, doing so increases risk over limiting the services provided by any one component.
- ID
- xccdf_org.ssgproject.content_rule_service_SuSEfirewall2_enabled
- Severity
- Medium
- References
- Updated
Remediation - OS Build Blueprint
[customizations.services]
enabled = ["SuSEfirewall2"]
Remediation - Ansible
- name: Enable service SuSEfirewall2
block:
- name: Gather the package facts
package_facts:
manager: auto
Remediation - Puppet
include enable_SuSEfirewall2
class enable_SuSEfirewall2 {
service {'SuSEfirewall2':
enable => true,
ensure => 'running',
Remediation - Shell Script
SYSTEMCTL_EXEC='/usr/bin/systemctl'
"$SYSTEMCTL_EXEC" unmask 'SuSEfirewall2.service'
"$SYSTEMCTL_EXEC" start 'SuSEfirewall2.service'
"$SYSTEMCTL_EXEC" enable 'SuSEfirewall2.service'