Requirements
Machines
-
Linux on amd64 or arm64, running a supported distribution, with systemd for the services.
-
DeaconGuard is a single self-contained binary. The install script also installs the tools its checks use: ClamAV, YARA-X, procps, iproute2, findutils, and on the RHEL family and Fedora
needs-restarting(with EPEL enabled on RHEL and its rebuilds for ClamAV). See Install script. -
The install script needs
curl,sha256sum, and root: run it withsudo, or as root. -
For the antivirus scan: about 110 MB of disk for ClamAV's signatures, and about 1.5 GB of free memory and swap during a scan. The advanced scan adds about 30 MB for YARA-X and, while it runs, about 200 MB of memory for the rules.
-
The server needs at least 1 GB of memory, RAM plus swap. It checks each machine's package list against the distribution's feed, one machine at a time; for an Ubuntu 24.04 machine that briefly needs about 450 MB (1.6 GB before DeaconGuard 0.5.2, so upgrade small servers). It then keeps the parsed feed, up to about 400 MB of feeds, so that later scans of the same release take a fraction of a second instead of tens of seconds; see Parsed feeds. With too little, Linux stops the server mid-scan, and the dashboard says so. To add swap on a small server:
sudo fallocate -l 2G /swapfile && sudo chmod 600 /swapfile && sudo mkswap /swapfile && sudo swapon /swapfileecho '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab
The server can run on any supported distribution. Agents only install on distributions DeaconGuard can scan.
The macOS builds run the server, the CLI and the agent, and scan the Mac they run on: its macOS release and updates, and the macOS baseline.
The server also runs in a container, with Docker or Compose or in Kubernetes, where an agent DaemonSet scans every node. An agent in a container scans its host with the host's own tools, so the host needs them installed as it would for an installed agent.
Accounts
| Component | Runs as | Why |
|---|---|---|
Server (deaconguard-server) | its own deaconguard system user | It only needs its data directory and its port. |
Agent (deaconguard-agent) | root | A security scanner has to see every process, system file and firewall rule. |
| Local mode, CLI | your user | Optional checks see more when sudo is allowed. |
Network
| From | To | Port | Purpose |
|---|---|---|---|
| Browsers | Server | 8443/tcp | Dashboard |
| Agents | Server | 8444/tcp, the agent port; 8443/tcp on a server without one | Enrollment, receiving scans, sending results |
| Server | Distribution advisory feeds (hosts) | 443/tcp | Security data, and Fedora's release dates |
| Server | www.cisa.gov, raw.githubusercontent.com, epss.empiricalsecurity.com | 443/tcp | Exploit data: CISA KEV (from CISA's site, or CISA's copy on GitHub when the site refuses, as it does for some cloud providers) and EPSS |
| Server | The registries of the images you add or watch, and of the images your clusters run that no node agent read (1.20.0 and later); hub.docker.com for Docker Hub, api.github.com for GHCR and gitlab.com for registry.gitlab.com (or a self-hosted GitLab's own host), to list repositories and tags; the ECR API (api.ecr.REGION.amazonaws.com) for Amazon ECR | 443/tcp, or the registry's port | Images in registries, Running images |
| Server | api.osv.dev | 443/tcp | Application libraries, when that check runs: only library names and versions are sent |
| Server | Your mail server, Slack, Teams or webhook addresses | Their ports, such as 587/tcp or 443/tcp | Notifications, when you set them up |
| Server | get.deaconguard.io | 443/tcp | The newest release's number, once a day (1.34.0 and later). Nothing about the server is sent; off under Settings → New versions |
| Machines being installed | GitHub, get.deaconguard.io | 443/tcp | Downloading the package (install time only) |
Agents need no inbound ports and no internet access after installation.