Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Select a verification test

# from the repository root
nix eval --json .#checks.x86_64-linux --apply builtins.attrNames   # list the current checks
nix build .#checks.x86_64-linux.quickstart -L                      # run one VM check
flowchart LR
  src[Source checks<br/>cargo, npm] --> eval[Flake evaluation<br/>no VM runs]
  eval --> vm[VM check<br/>needs KVM]
  vm --> all[Full check set]
  all -.->|does not replace| final[Acceptance + SBOM/CVE<br/>of the final signed image]

The flake, not a count copied here, defines the suite, including fixtures whose wiring and pins are still being integrated. A fixture file or standalone receipt does not mean the published package exposes it or uses the tested cohort; a configured check is not a passing test or release certificate.

Source checks

cargo fmt --all -- --check
cargo clippy --all-targets --locked -- -D warnings
cargo test --workspace --locked
# React console
npm --prefix ui ci
npm --prefix ui test
npm --prefix ui run build
tests/console/run.sh

The browser runner needs Node.js and Chromium and uses a temporary loopback API with --no-apply: it covers browser interactions and configuration writes, not the network, a deployed firewall, live packets or HA. See the browser test instructions.

List and evaluate the current Nix checks

nix eval --json .#checks.x86_64-linux --apply builtins.attrNames   # names from the current flake
nix flake check --no-build --no-write-lock-file   # evaluates only: runs no VM test, proves no image boots

Run a real VM check

Needs x86_64 Linux, usable /dev/kvm and enough RAM for the topology:

nix build .#checks.x86_64-linux.quickstart -L
nix build .#checks.x86_64-linux.nat -L
nix build .#checks.x86_64-linux.bootfallback -L
nix flake check -L   # everything: builds images and runs many multi-VM topologies

Allow substantial disk, memory and time; save logs and output paths before removing artifacts.

Warning: A failure, timeout, interrupted check or unexecuted check is not a pass.

AreaCheck namesScope
Image and installationverified-boot, secureboot, install, install-iso, install-boot, install-boot-luks, install-boot-raid1Boot integrity, installer and installed-image regressions; Secure Boot uses test keys.
Update and recoveryupdate, updatechannel, update-release, bootfallback, boothealth, missing-nic-boot, rebootSlot staging, signed release handling, boot assessment, missing-NIC factory exhaustion and console recovery. Read each fixture's scope before interpreting its result.
Active configurationcommit, commitconfirm, confirm-crash, confirm-failed-recovery, cli-edge, confighistory, refresh-running, apiApply/save, actual CLI termination, failed recovery admission and explicit retry, offline editing, invalid batches/addresses/durations, stale-session admission and management reads.
Authentication lifecycleloginlifecycle, radius-interop, auth-boundsSSH/PAM account removal, stable identities, persistent TOTP replay, real FreeRADIUS PAP, source-bound HTTPS login limits and actual viewer/admin write authorization.
Management ingressmanagement-ingressReal IPv4/IPv6 SSH and HTTPS across interfaces; explicit destination ACLs block LAN access while management and same-port forwarded traffic remain available, including after reboot. Binding an address alone is not ingress isolation.
Signed metadataupdate-releaseActual packaged CLI and disposable Ed25519 proofs: image-version floor, signed scope/expiry, replay and sequence substitution, cold-boot persistence, clock rollback and corrupt/missing trust-state refusal. The crypto fixture is deliberately not bootable and proves no slot write.
Packet handlingnat, hairpin, masq, reject, rejectudp, egress, rulescope, v6exthdrReal traffic through the data plane. A NAT pass does not establish fragment or RELATED-ICMP support.
Netfilter comparisondataplane-conformance, icmp-related, tcp-reset-validationMatched traffic and policies against an independent nftables reference. The reset check compares socket continuity and firewall state after foreign-tuple, out-of-window, in-window nonexact, checksum-corrupt and valid resets; includes pre-guest wire captures and native challenge-ACK counters. Known differences fail CI; see conformance scope.
Firewall map occupancyfirewall-capacityReal kernel occupancy versus independent bpftool counts, expired-slot warnings, authenticated HTTP/CLI parity and missing-agent/restart handling. This is not a connection-limit or eviction-pressure benchmark.
Held NAT connection pressurenat-capacity-pressure, nat-capacity-contractThree disposable VMs hold nonce-verified TCP flows up to 20,000; fresh map identities and hash-checked raw snapshots correlate each flow with its NAT/firewall ownership. Lost flows or missing state fail, not an expected-bug pass. Pure probe contracts are separate from the live gate.
Kernel fragment mechanicskernel-fragment-egress-{6-6,6-12,6-18}, kernel-fragment-combined-{6-6,6-12,6-18}Isolated reassembly/refragmentation and ingress-domain isolation on three real kernels. These do not execute Sentinel NAT, policy or HA and cannot clear a failing product differential.
TCX fragment dispatchkernel-fragment-tcx-{6-6,6-12,6-18}Actual pinned-Aya attachment and legacy-chain dispatch; deliberately reproduces bypass from PASS and stale readiness after chain loss. Passing hazard controls are not production loader safety or NAT qualification.
Guarded ingress handoffkernel-fragment-handoff-{6-6,6-12,6-18}Reserved-flow reassembly, one-use bounded tickets and original ingress routing context; chain deletion and ticket exhaustion must drop. Does not execute Sentinel NAT/policy or solve ordinary unfragmented admission.
Immutable update admission during recoveryota-confirmationReal EFI/verity boot and transient confirmation/recovery units, including actual partial restore failure. CLI/API Check must be refused before jobs/network traffic; exact retry restores availability. Uses disposable test identities, not production keys; does not certify Stage/CAS.
Boot and console write admissionconfirm-special-entrypoints, confirm-boot-journal, confirm-boot-lateFailed recovery and live HTTPS transactions block replay; automatic console/network refresh preserves active intent. Includes actual CAKE bandwidth and reboot recovery, not every subsystem or a shared CLI/API journal.
Periodic firewall recovery admissionconfirm-refreshReal failed rollback and queued recovery cannot replay trial policy over a restored firewall. Fresh TCP traffic and compiled/intent state are checked; normal, armed CLI and ready HTTPS trials retain legitimate refresh.
Confirmation diagnosticsconfirm-diagnosticsMissing timers are silent, genuine stop failures remain visible, and a refused cancellation cannot confirm a live trial. Checks actual PID-1 protection and unchanged intent.
Local read-only observationobserve-readonlySix exact SSH/sudo capabilities, protected data redaction, live BGP/NAT and API parity, privilege denials, account revocation and honest daemon failure. Not unrestricted CLI access.
API observation error privacyapi-show-disclosureActual packaged binary and loopback HTTP: malformed private history cannot leak unknown historical secrets to account users or narrowed machine requests. Retains HTTP errors and valid-read redaction.
Routingbgp, bgp-static-reload, ospf, ospfinterop, bfd, vrrp, staticimportAdjacencies, preserved BGP sockets during static-route edits, a third-party OSPFv2 peer and route recovery; not comprehensive protocol certification.
HA and synchronizationha-pair, ha-two-node, ha-failover, ha-two-node-flow, configsyncPairing, policy/state synchronization and selected failure cases. HA remains experimental.
Nonpreempting HA rejoinha-rejoin, ha-rejoin-contractFive disposable VMs with a continuously healthy witness and clean config-sync outboxes. Continuous existing/fresh TCP traffic, real VIP SNAT and incumbent role/deadline/NAT observations span the returning member's entire boot. Hard-failover losses are recorded separately; this is not witness-loss, queued-policy replay or final-image certification.
Browserconsole, console-uxBrowser interactions against a test API; complements the live packet checks.
Compiler/agent boundarycontractCompiled configuration is accepted by the pinned Fabric loader.

Other protocol checks are development coverage, not support for every option, peer or failure mode (routing status, dataplane support).

Release evidence

Record per release check: exact Git revisions, input lockfile, eBPF object hash, image SHA-256, command, result and retained output. The evidence classes above are not interchangeable; never reuse a result from another source cohort.

ci-public.yml shows which checks run on a PR; the scheduled dependency audit does not run the VM suite.

Kernel verifier compatibility

Host Rust tests cannot verify eBPF; the exact object must load into each target kernel in a privileged VM, and an unexecuted lane is not support (dataplane matrix).

Additional fixture catalog

Jump to: Boot · Config · Firewall · NAT · Routing · L2 · Addressing · WAN · VPN · Services

A task lookup, not a passing-results ledger; the fixture source is authoritative. Rendering, adjacency and replication checks alone do not prove service interoperability or failover; experimental-feature limits apply.

Image & boot integrity

CheckIntended fixture scope
verified-bootdm-verity store mounts, the UKI boots, a clean boot is blessed
securebootboots under enforcing Secure Boot
installsingle-disk and RAID1 installs check partition and filesystem layout; actual installed-disk boot needs the install-boot fixtures
install-isoinstaller ISO structure and bundled-image installation; not a substitute for booting the installed disk
updatean A/B update writes + re-types slot B; a counted next-boot entry is selected
updatechannelthe crypto gate in front of the slot writer rejects an unsigned update
reboota genuine machine.reboot() brings the whole running config back, not just the files

Config lifecycle & management

CheckIntended fixture scope
commitcommit applies hostname/zone/address live; save persists across reboot
commitconfirma timed commit auto-reverts unless confirmed — the safety net for editing a firewall over its own link
confighistoryevery save archives a revision, show system commit lists them, rollback <N> restores one
configsynca commit on the primary pushes the running config to the backup's API, which applies and persists it
apiCLI/API management operations against the appliance backend.
consoleBrowser validation of management operations, staged changes and their outcomes.
contractthe compiled agent config keeps the shape the data plane reads
shippedwhat the image actually carries
wizardthe installer's click-through, answered end to end

Firewall (eBPF data plane)

CheckIntended fixture scope
rejecta rejected TCP port answers with a RST, not a silent drop
rejectudpa rejected UDP port answers with ICMP port-unreachable
logper-rule logging fires for a logged drop and a logged pass, and stays quiet otherwise
srcfiltera rule's source CIDR matches the intended client and only that one
natPacket translations and stateful reverse-path handling.
fwgroupsaddress and port groups expand at compile time to the full sources × ports product
fwdomainResolves domain-group membership for firewall matching.
fwschedulea rule with a weekly schedule is in the data plane only inside its window
v6exthdrIPv6 extension headers do not bypass a rule — the chain is walked to the real protocol
icmptypeMatches ICMP and ICMPv6 rules by message type.
rulescopeScopes rules by ingress interface within a zone.
evpnExchanges tenant reachability across peer routing sessions.
macgroupSelects configured groups of link-layer addresses.
egressApplies the policy in the intended egress direction.
srcprefixevery source-prefix length matches, not just the convenient ones
v6rulesa rule scoped to IPv6 lands in its own trie and does not open the v4 one
blocklist-directiona zone blocklist refuses what a listed address starts, both families, while the LAN still reaches it and gets its answers

NAT

CheckIntended fixture scope
natPacket translations and stateful reverse-path handling.
synproxyExercises the configured SYN proxy with a real connection, and that a LAN client's outbound SYN to the protected port is not proxied, and a server that speaks first answers through the proxy.
synproxy-edgeSYN proxy on a deny-by-default masquerading edge box: a port-forward that remaps its port, servers that speak first (routed and port-forwarded), and syn-protect surviving save, an unrelated commit and a reboot
synproxy-churnSYN-proxy records end with their connections: idle routed and port-changing-forward connections survive more short ones (FIN and reset closes) than the table holds, the table drains, and blind forged SYN, FIN and reset packets end no live connection
masqmasquerade SNATs a private LAN client out of the WAN address
hairpinan internal client reaches a port-forwarded service via the box's own public IP
npt66stateless, checksum-neutral IPv6 prefix translation (RFC 6296)
v6-mss-npt-relatedan IPv6 SYN is MSS-clamped like IPv4; a Packet Too Big behind NPTv6, or quoting an extension header, reaches the inside host's socket; the inside host's port-unreachable names its external address
nat64an IPv6-only client reaches an IPv4-only server through the box, DNS64 included
conntracksyncchecks replicated conntrack state; use the causal HA flow fixtures to prove actual connection continuity

Routing (Wren control plane)

CheckIntended fixture scope
bgptwo appliances peer eBGP and each learns the other's network
policya VyOS-style route-map filters and rewrites what BGP exports
ospfan OSPFv2 point-to-point adjacency; each side learns the other's redistributed network
ospf3the same over IPv6 (OSPFv3, RFC 5340)
ripRIPv2 — a distance-vector paradigm alongside BGP's path-vector and OSPF's link-state
ripngRIPng (RFC 2080), the IPv6 sibling
babelBabel (RFC 8966) over IPv6
isisIS-IS (ISO 10589 + RFC 1195) — a link-state IGP running directly over L2
isisauthVerifies IS-IS authentication between neighbors.
bfdBFD (RFC 5880) under BGP detects a path failure fast
vrrptwo boxes share a virtual IP; the higher priority owns it and hands it over on loss
staticv6static routes are dual-stack — a v6 prefix reaches the kernel IPv6 FIB
multiwanhealth-checked uplink failover plus policy routing across two upstreams
routingimportChecks route import policy against received prefixes.
ospfinteropEstablishes an OSPF adjacency with the test peer and checks exchanged routes.

Interfaces & L2

CheckIntended fixture scope
l2a bridge and a bond, synthesised on the same networkd render path as VLANs
c14MACVLAN and QinQ, the two remaining networkd-rendered L2 types
macsec802.1AE link encryption comes up from a pre-shared key
l2tpa static L2TPv3 Ethernet pseudowire over the underlay
tunnelkernel GRE tunnels between two appliances
linkoptsper-interface MTU (jumbo frames / PPPoE) and MAC cloning reach the link
linkbehaviourper-link forwarding, ARP and DHCP-client identity reach the kernel, and a mirror carries traffic
vtiBrings up a route-based IPsec/VTI path.
wirelessVerifies wireless configuration rendering; test radio behavior with actual hardware.
wwanVerifies modem configuration rendering; carrier and hardware behavior require a modem.
dualstackone interface carries an independent static IPv4 and IPv6 address

Address & name services

CheckIntended fixture scope
dhcpthe built-in DHCP server leases to a LAN client
dhcp6stateful DHCPv6 leases — the stateful sibling of ra
raIPv6 Router Advertisements give a client a SLAAC address
dhcp6pdDHCPv6-PD requests a delegated prefix upstream (the German-ISP WAN v6 model)
dhcprelayExercises DHCP relay across client and server segments.
dhcprelay6the IPv6 sibling of the relay
dnsthe DNS forwarder resolves for the LAN against an authoritative upstream
ntpthe box serves time to the LAN from an upstream source
mdnsthe mDNS reflector bridges discovery between two segments
dyndnsthe dyndns2 client updates a provider when the WAN address changes

WAN & shaping

CheckIntended fixture scope
pppoea PPPoE session against a real concentrator, plus MSS clamping
qosa CAKE shaper is live in the kernel at the configured bandwidth

VPN

CheckIntended fixture scope
wireguarda WireGuard interface and tunnel render to a Kind=wireguard netdev with a 0640 key
ipsecan IKEv2 site-to-site tunnel establishes and carries traffic between protected subnets
openconnecta road-warrior client dials in and reaches a host behind the box

Services

CheckIntended fixture scope
sshset services ssh tunes the daemon; set system login creates real accounts and keys
snmpa read-only v2c poll answers, and the rendered config stays 0640
lldpLLDP neighbours are discovered between two boxes (the daemon is off by default)
pkia local CA and a leaf signed by it land under /var/lib/sentinel/pki with the right modes
reverseproxyTLS terminates on :443 with an on-box leaf and load-balances to a backend
geoipChecks country-prefix policy using the test database.
acmeIssues and installs a certificate in the test environment.
bcastrelayRelays the selected UDP broadcast service across configured interfaces.
syslogDelivers appliance log records to a remote collector.
alertsDelivers a notification when a monitored unit fails.
spoofingCompares accepted and rejected sources under source-validation modes.
idsObserves the configured detector emitting an event for test traffic.
portalTests guest admission and expiry against the dataplane.
portmapVerifies a client mapping against the agent’s live NAT-PMP table.