Skip to content

How it works

Two small programs and one connection out.

An agent that watches and a helper that answers. Neither opens a network port, and the agent only ever calls out.

On the server

An agent and its helper

The agent

Runs as its own user, vaarta-guard, never as root, and writes only to /var/lib/vaarta-guard. It reads facts, raises findings and reports them.

its own user · its own folder · no network port

The helper

Runs as root and listens only on a local socket. It answers a fixed list of named questions from the agent: no shell, no scripts.

a closed list of read verbs · local socket only

Outbound only

One HTTPS connection out

Nothing connects in. The agent reaches Server Guard over HTTPS and refuses any address that is not https://.

  • TCP 443 to Server Guard, direct — no web proxy
  • DNS, and a time source (NTP)
  • A heartbeat every 30 seconds, about 2 KB
  • No inbound port is opened, ever

How a server joins

One code, one command, its own certificate

Adding a server takes one code and one command. The code is made by Vaarta's sign-in service, never by the server.

  1. 01Get a one-time code

    An owner or administrator of your organisation adds the server in Server Guard and gets a code that works once.

  2. 02Run the sign-up as root

    Save the code in a file only root can read, then run the sign-up. A code typed on the command line is refused.

  3. 03The server gets its own certificate

    The agent makes a private key on the server and sends only the public half. The code file is then deleted and cannot be used again.

  4. 04See it in Servers

    The server appears with whether it is online, what it found and what to fix next, its events, and its effective policy.

The sign-up command

sudo vaarta-guard enrol --code-file /root/vaarta-guard.code
  • The certificate renews itself 10 days before it expires, with a new key each time
  • Revoke a server from its page in Servers, and that server's agent stops

When things go wrong

It never holds a server up

  1. 01Never holds the server up

    If Server Guard cannot be reached, the agent keeps running on its last settings, and each call gives up after 10 seconds.

  2. 02Steps back when the server is busy

    Above 85% CPU the agent drops to essential work only. Its heartbeat keeps going, so a busy server never looks offline.

Already using Server Guard?

Sign in with your Vaarta account to see your organisation's servers.