Skip to content

2.2.2 Ensure Avahi Server is not installed

Audit#

Run the following command to verify avahi-daemon is not installed:

# dpkg-query -W -f='${binary:Package}\t${Status}\t${db:Status-Status}\n' avahi-daemon
avahi-daemon unknown ok not-installed not-installed

Remediation#

Run the following commands to remove avahi-daemon:

# systemctl stop avahi-daaemon.service
# systemctl stop avahi-daemon.socket
# apt purge avahi-daemon