Skip to content

Install a node Since v0.2 ​

You install the product from a .deb package (Debian family) or an .rpm package (RHEL family). One package carries the waap binary, the pinned Envoy build, the systemd units, a safe default configuration and the software inventories (SBOM) and notices. It supports amd64 and arm64.

Before you begin ​

  • A Linux host with systemd and sudo access.
  • A package that matches the distribution family (see Requirements).
  • For the .rpm on RHEL 9 and its rebuilds: the EPEL repository enabled, because the binary needs the re2 library from it.

Install and start ​

sh
# Debian family (use the _arm64 file on arm64)
sudo apt install ./waap_0.2.0-1_amd64.deb

# RHEL family (use the .aarch64 file on arm64)
sudo dnf install ./waap-0.2.0-1.x86_64.rpm

sudo systemctl enable --now waap
sudo waap setup

waap setup creates the first administrator, admin, and prints the console address. The generated password is printed once on standard output and is never logged. Store it before you close the terminal.

sh
# choose the name and supply your own password
echo 'a-long-passphrase' | sudo waap setup -user alice -password-stdin

setup refuses to run (exit code 1) when an administrator already exists, so a second run changes nothing. The admin commands find the node through $WAAP_RUNTIME_DIR, else /run/waap. Run them with sudo, because that directory is private to waap and root.

Open the console at https://127.0.0.1:9443/ and sign in. The console listens on this address only. To add your first application, continue with Add your first application.

The default configuration protects nothing yet

It has one listener on 127.0.0.1:8080 and one placeholder application that no real host name matches, in detect mode.

What the package installs ​

PathWhat
/usr/bin/waapThe product binary: control plane, inspection and command line.
/usr/lib/waap/envoyThe pinned Envoy. The product always starts this one, never a system Envoy.
/etc/waap/waap.yamlDefault configuration. Kept on upgrade. Owner root:waap, mode 0640.
/usr/lib/systemd/system/waap*.servicewaap (all roles on one node), or waap-control, waap-inspect and waap-envoy (split roles; use one set).
/var/lib/waapState: policy store, events, backups, console certificate. Owner waap:waap, mode 0700.
/run/waapSockets and the Envoy bootstrap. Mode 0700.
/usr/share/doc/waapSBOM (CycloneDX and SPDX), third-party notices and the licence.

The install creates a system user and group waap. Logs go to the journal (journalctl -u waap). Rules and the web console are inside the binary.

Requirements ​

Each package is built on the distribution family it is for, because the binary links that family's RE2 library. The package manager refuses a package that does not fit the system.

PackageBuilt onNeedsTested on
.deb (amd64, arm64)Ubuntu 26.04libc6 (>= 2.34), libre2-11 (>= 20250805), libstdc++6, libgcc-s1, systemd, passwdUbuntu 26.04
.rpm (x86_64, aarch64)Rocky Linux 9glibc 2.34, libre2.so.9 (package re2, from EPEL), libstdc++, systemd, shadow-utilsRocky Linux 9, SELinux enforcing

Debian 13 is refused

Debian 13 ships an older libre2-11 (20240702), so the .deb does not install there. Other distributions need a package built on them.

On Rocky or Alma, enable EPEL first with sudo dnf install epel-release, and check that the epel repository is enabled with dnf repolist.

Operate the service ​

TaskCommand
Start, stop, restartsystemctl start waap, systemctl stop waap, systemctl restart waap
Reload after editing the configuration filesystemctl reload waap
Read the logsjournalctl -u waap
  • The configuration file is imported only while the policy store is empty. Afterwards the store is the source of truth: use the console, waap config or the management API.
  • Ports 80 and 443 work: the unit grants only the capability to bind low ports.
  • A high-availability pair with floating addresses needs one more capability. Run systemctl edit waap and add a [Service] section with AmbientCapabilities=CAP_NET_BIND_SERVICE CAP_NET_ADMIN and CapabilityBoundingSet=CAP_NET_BIND_SERVICE CAP_NET_ADMIN.
  • To split the roles, disable waap and enable waap-control, waap-inspect and waap-envoy. They share /run/waap on one host.

Split-role units

The split-role units pass systemd-analyze checks. A live split-role run is not part of the package test yet.

Remove or purge ​

ActionEffect
apt remove or dnf removeStops and disables the service. /var/lib/waap and the configuration stay.
apt purgeAlso deletes /var/lib/waap (events, policy store, backups, console certificate), /etc/waap and the waap user.

Purge deletes your data

Take a backup with waap backup first. The .rpm has no purge: delete /var/lib/waap by hand when you want the data gone.

Troubleshooting ​

The package manager refuses the package. Cause: a required library is missing or too old (for example libre2-11 on Debian 13, or EPEL not enabled on RHEL 9). Fix: install the library from the distribution the package targets, or enable EPEL.

waap setup exits with code 1. Cause: an administrator already exists. Fix: sign in with that account. Nothing was changed.