Skip to content

Disable Squid

An XCCDF Rule

Description

The squid service can be disabled with the following command:

$ sudo systemctl mask --now squid.service

Rationale

Running proxy server software provides a network-based avenue of attack, and should be removed if not needed.

ID
xccdf_org.ssgproject.content_rule_service_squid_disabled
Severity
Unknown
Updated



Remediation - OS Build Blueprint


[customizations.services]
disabled = ["squid"]

Remediation - Ansible

- name: Gather the package facts
  package_facts:
    manager: auto
  tags:
  - disable_strategy
  - low_complexity

Remediation - Puppet

include disable_squid

class disable_squid {
  service {'squid':
    enable => false,
    ensure => 'stopped',