Repository navigation
Releases
Sentinel v1.0.0
ISO installer, QCOW2 appliance and compressed RAW disk. Verify SHA256SUMS.gpg using the independently published release fingerprint before installing.
The live ISO currently requires Secure Boot disabled; the installed disk uses production-signed UKIs. See INSTALL.txt and image-evidence.json. source-sbom.cdx.json inventories source dependencies, not the complete OS. Source regression tests and exact-disk boot tests are separately identified; no physical-hardware certification is claimed.
Regression checks and every release job ran on GitHub-hosted runners (ubuntu-24.04).
Release approvals: single-operator mode (one maintainer, wait timer ≥ 30 min).
Regression checks re-run after a failure: install-boot-luks-retry (first failure, attempt 1: Process completed with exit code 1.; log: https://github.com/Velstra/sentinel/actions/runs/46150937856/job/140997371412; ran again once in attempt 2 and passed).
v0.4.2
A test fix; the appliance is unchanged.
Fixed
checks.apiasserted a section the console no longer has. Its list of
"every management section is reachable from the browser" still named
view-routes, which stopped existing when routing became one section with a
pane per protocol. The check was describing an older console and failed on a
correct page. The panes are now asserted alongside the view, because a
routing section can be present while every protocol inside it has gone —
and a green check that guarantees less than it claims is worse than a red one.
Full changelog: CHANGELOG.md
v0.4.1
A build fix: 0.4.0 shipped with an ebpfHash that no longer described the data
plane it pins, so every nixosTest refused to build.
Fixed
-
ebpfHashmatches the pinned data plane again. Repinning fabric to 0.4.0
brought in the port-mapping commit, which changesvelstra-ebpf— so the
object's hash changed with it and the pin was left naming the old one. Every
check that boots a VM failed withhash mismatch in fixed-output derivation;
the appliance itself was never affected, because a build that cannot produce
the object cannot produce a wrong one either.Worth writing down, because it will happen again: a local check does not
catch this. Nix finds the old object already in the store under the old hash
and never rebuilds, so the mismatch only appears on a cold store — which is
what CI has and a workstation does not. Verify a repin by forcing the rebuild
(put a deliberately wrong hash in and read the real one out of the error),
not by watching a check go green.
Full changelog: CHANGELOG.md
v0.4.0
The release the appliance becomes usable without a terminal: a web console that
can drive every section the CLI has, accounts to drive it as, and a large part
of the remaining parity list — intrusion detection, a captive portal, GeoIP,
CGNAT, SYN protection, ACME, flow export and remote logging.
Added
- A web console. Every section the CLI has is drivable from the page, and
the page writes CLI commands rather than a configuration document — so
there is one grammar, one validator and one audit trail, and a setting the
console can reach is by construction a setting the appliance understands.
Edits stage locally and are applied on a word from the operator; Validate
checks the batch without committing it. The page fetches nothing from
outside itself — no webfont, no CDN, no analytics — because an appliance is
expected to work on an isolated network, and a console that renders as
unstyled text during an incident is not a console. It is served from the
appliance's own API and needs no build step. - Accounts and permission groups.
[[system.group]]writes a permission
down once and accounts point at it, so nobody has to remember what a
particular account may do. Two levels only, deliberately. A password is hashed
by the appliance and only the hash is stored;POST /api/v1/loginanswers with
that account's own token. Shell access and management access stay separate
grants — an account with no group can log in to the box and reach nothing
through the API.show usersreports them from the saved configuration, which
is the authority, rather than from the token directory, which is only secrets. - Intrusion detection and blocking (C11). Suricata watches the wire; an
alert can block its source through the eBPF blocklist — never through
Suricata, so a detection engine failure cannot become a forwarding failure. A
block has a deadline, an operator can lift one or all of them from the CLI,
andsni-blockrefuses a server by the name it announces in TLS, blocking it
as a source so its answers never return. - A captive portal (C20). A guest zone holds every device until it logs in.
Admission is keyed by MAC, so one decision covers both address families, and
the appliance answers RFC 8910/8908 rather than intercepting traffic to
announce itself — interception is what makes portals fight with HSTS. - NAT-PMP port mapping (C18). A host on the inside can open an inbound port
for a while. Third-party mapping is impossible rather than merely refused, and
UPnP is declined on purpose. - Blocking by country (C15).
dbip-country-liteis extracted at build time
and countries expand to ordinary CIDRs, so the datapath does not grow a GeoIP
engine — only a larger blocklist. - Domain groups and rate limits (C15). A firewall rule can match DNS names,
with an on-disk cache so a failed lookup does not silently empty a blocking
group; and a rule can carry alimit/bursttoken bucket. - SYN protection (C15).
syn-protecton a port completes the handshake with
a cookie before the real connection is opened. - Deterministic CGNAT (C16). A fixed block of WAN ports per internal address
gives attribution without a translation log.show nat cgnatasks the agent,
so there is one implementation of the answer rather than two. - Source validation (uRPF/BCP 38) per zone, with the DHCP and link-local
exemptions a real link needs. - Destination-end rules. A rule may constrain its destination address as
well as its source, and a rule's destination zone is now enforced. - ACME certificates (C19).
ca = "acme"really obtains certificates, in a
timer rather than in the commit, verified against a real ACME server. - Load-balanced services (C22), configured from the CLI and reported by
show. - Remote syslog (C12) — the journal shipped to collectors as RFC 5424 — and
IPFIX flow export, which sends deltas because a collector sums what it
receives. - Alerts (C23). A failed unit reaches a webhook or a mailbox. The event
source is systemd itself rather than a grep over the journal, and the watched
list is deliberately narrow. - A UDP broadcast relay (C18) between segments, and packet capture from
the console, within limits. - The data plane's fail-closed switch, exposed in the CLI.
- IS-IS authentication in the CLI (cleartext, HMAC-MD5, HMAC-SHA-256).
- The appliance answers what a value means.
GET /api/v1/lookup/{kind}/…
resolves an AS number over RDAP and a name through the resolver the box
already uses, cached, with reserved ranges answered without a request. It
belongs on the appliance rather than in the browser: a console that asks a
whois service directly hands the operator's network to a third party, and on
an isolated box it would show nothing at all. - A warning for an addressed interface left without a zone — the commonest
way traffic ends up governed by nothing in particular. - HA conntrack sync (C9) —
set system conntrack-sync: mirror the eBPF
conntrack table to peer firewalls (listen/peer/interval) so established
NAT'd connections survive a VRRP failover instead of being dropped.peeris
repeatable, so it scales past a pair to an N-node full mesh (matching VRRP's
and config-sync's own N-node support). Completes the HA triad: VRRP (virtual IP)- config-sync (running config) + conntrack-sync (connection state). The
checks.conntracksyncnixosTest proves a masquerading master pushing its flow
table to two backups, both applying it into their own conntrack map, end to
end in the eBPF datapath. Docs: a new HA-conntrack-sync handbook section and a
three-node HA-cluster example.
- config-sync (running config) + conntrack-sync (connection state). The
- DHCPv6 relay (C18) —
set services dhcp-relay server6 <ip|ff05::1:3>: the
IPv6 sibling of the DHCP relay, on the same in-image dnsmasq--dhcp-relay
engine. A link can relay IPv4, IPv6 or both (each family needs a static address
of its own — the v6 relay stamps the interface'saddress6).checks.dhcprelay6
nixosTest proves a client on a server-less segment obtaining a lease from a
far-segment DHCPv6 pool through the relay.
Fixed
- PPPoE and SNMP configuration injection is rejected, and staged secrets are
written0600— config-sync's secret included. An IPv6 peer is bracketed, and
a protocol unwrap is guarded. - A service claims the router-NAT namespace, so a port forward's reply is
not lost to a policy-scoped conntrack miss. show configurationwas dropping settings it owns — permission grants, the
captive portal, port mapping, IS-IS authentication and the CGNAT leaves were
all settable and none of them came back out, so a saved configuration quietly
lost them. A certificate subject may now contain a space.- Every
showreads the configuration the API was pointed at, so a console
serving one file while ashowbeside it reads another is no longer possible. syn-protectis offered where it is looked for in the CLI.- Three console defects that each looked like the console working: Validate
cleared what it had just validated so the change could no longer be applied; a
batch whose first command would be refused applied the rest anyway; and a
failed read left an empty page indistinguishable from an empty configuration.
Changed
- Repin fabric for the SRv6 L2 data plane (B9). The appliance's eBPF object
now carries the full SRv6End.DT2UL2 path — headend encap (SRV6_CONFIG+
SRV6_FDB,srv6_encap) and endpoint decap (SRV6_LOCAL_SIDS,srv6_decap)
— alongside the existing VXLAN/Geneve overlay, so two fabric hosts bridge an L2
tenant over SRv6 end to end.ebpfHashbumped to match the rebuilt object;
verifier acceptance is confirmed by the nixosTest suite loading it (checks.nat
boots and NATs green with the SRv6-enabled object). SRv6 is a fabric-level
primitive with no Sentinel CLI surface yet.
Tested
- The console is driven in a real browser.
tests/console/clicks its way
through every rail entry, every create panel and every mask, andchecks.console
runs it in the build sandbox — no VM, because loopback and--no-applyare
enough. Three failure modes that pass every static check and every unit test
live here: a function that was never written, an element a redesign removed,
and a command the appliance answers with "unknown set path". It found that 19
of 22 create panels staged a path the CLI refuses. - Per-protocol routing VM checks for RIPng, Babel and IS-IS — two-appliance
nixosTests (checks.ripng/checks.babel/checks.isis) that form an
adjacency over the real Velstra datapath and verify each node learns and installs
the other's redistributed prefix, closing the standing per-protocol coverage gap
(RIP/OSPFv2/OSPFv3/BGP/BFD/VRRP already had one). IS-IS also confirms Velstra's
XDP passes its L2 (non-IP) frames. The Babel check surfaced a real requirement —
Babel needs a unique per-noderouter-id(it keys route origins on it, RFC 8966
§3.5); the docs/examples set one.
Full changelog: CHANGELOG.md
v0.3.2
v0.3.1
v0.3.0
Completes NAT and the interface-type matrix, adds time-based firewall rules and a
stateful DHCPv6 server, and brings high availability to the appliance: CLI-
configurable SSH with per-user logins, and config sync across an HA pair. Ships
with a complete CLI handbook. Each slice ships with a nixosTest that loads the
real config (and, where it touches the datapath, the real eBPF) in a sandboxed VM.
Firewall & NAT
- Hairpin NAT (NAT reflection) — the eBPF-datapath piece deferred in 0.2.0:
reach a port-forwarded service via its public IP from inside
(nat destination … hairpin). - NPTv6 / NAT66 (RFC 6296) — stateless, checksum-neutral IPv6 prefix
translation (nat npt66). - Time-based firewall rules — a rule may carry a weekly local-time schedule
(rule … schedule days/start/end) and is only in force while its window is
open; a systemd timer re-applies at the boundaries.
Interfaces
- MACsec (802.1AE) encrypted point-to-point links and L2TPv3 Ethernet
pseudowires, completing the VyOS interface-type parity list.
Services
- Stateful DHCPv6 server (
interface … router-advert dhcp6-pool). - Dynamic-DNS PATH fix (
ddclientgets iproute2 + util-linux); end-to-end mDNS
reflector and DHCP-relay VM tests.
High availability & management
- SSH management, CLI-configurable —
services ssh(daemon port / listen /
password-auth, key-only by default) andsystem login <user>(per-user SSH
keys + crypt(3) hashed passwords, VyOS-style; accounts created at commit via
mutableUsers). - HA config sync —
system config-syncpushes the running config to peer
firewalls on every commit, over the existing REST API (shared bearer secret,
loop-safe). - VRRP, BFD and OSPFv3 are now covered by end-to-end 2-node
nixosTests
(VRRP virtual-IP failover, BFD sub-second fast-detection, OSPFv3 IPv6 adjacency)
— including a fix to the wren daemon so graceful shutdown (and thus a clean VRRP
hand-off) runs undersystemctl stop, not just Ctrl-C.
Documentation
- A complete CLI handbook in the mdBook — every command by section, with
worked examples and four full example configurations, auto-published to GitHub
Pages.
Full changelog: CHANGELOG.md
sentinel 0.2.0
A large release. Sentinel gains a coherent VyOS/JunOS-style configuration
shell, the full per-object routing surface, an on-box PKI, a REST management
API, NAT64/DNS64, and a reboot-persistence fix — all still driving the one
declarative config model.
Added
- A single-paradigm configuration shell (pure VyOS/JunOS). The config is a
tree and every command names a path in it:set/delete/show/
edit(+up/top/exit), with the transactionalcommit/
commit-confirm/save/rollback/comparelifecycle. Every line
means exactly one thing — there is no implicitset, no bare-path context
shorthand, and no absolute-path mode switching. The edit context renders as
its own[edit …]banner line above a short prompt, and a*in the prompt
marks uncommitted edits. Per-object configuration throughout (interfaces,
rules, NAT, zones, neighbors, areas). - A readable CLI presentation layer. Grouped, aligned, coloured
help
(withhelp <command>details and examples), contextual Tab/?completion
with per-keyword descriptions, colour-coded errors/warnings/success (TTY
only,NO_COLORrespected), and did-you-mean guidance — mistyped commands,
retired spellings (no/do/end), and bare config paths all point at the
correct VyOS spelling. - Value hints everywhere (vtysh style). Every value position shows what to
type:<A.B.C.D>,<X:X::X:X>,<A.B.C.D/M>,<1-65535>,<1-4094>,
<xx:xx:xx:xx:xx:xx>,<host:port>, … as display-only completion entries
(Tab never inserts them) plus a dimmed inline ghost hint at single-value
positions. Live names are offered wherever a value references something that
exists: interfaces, zones, rules, NAT rules, groups, route filters, VRFs,
IPsec connections, PKI CAs/certificates, WireGuard tunnels. The completion
list is typographically layered (bold keywords, italic hints, dim
descriptions) and the command word highlights green/red as you type. - L2 done right: bridge/bond members and 802.1Q on the device. Membership
now lives on the bridge/bond itself —set interface br0 member eth1
(repeatable, per-member delete); the old per-NICmasterfield is gone. A
bridge can bevlan-awarewith per-portvlan-tagged <ids>and
vlan-untagged <pvid>(rendered as networkdVLANFiltering=+
[BridgeVLAN]). A VLAN subinterface named<parent>.<id>infersparent
andvlanfrom its name at commit. - WireGuard moved under
vpn.set interface wg0 type wireguardcreates
the interface (address/zone as usual); keys and peers live at
set vpn wireguard wg0 private-key|listen-port|peer <pubkey> …next to
IPsec — cross-checked both ways at commit. - Config-model audit fixes.
firewall rule … to <zone>is now optional
and draws an explicit commit warning (the datapath does not enforce the
destination zone yet — rules apply from their source zone); broad
drop/reject rules are rejected with the working alternative named. List
fields (BGP communities/networks, IGP interface/redistribute lists, group
members, service upstreams, VRRP addresses, …) gained per-item add/remove
instead of replace-on-set. Dozens of new validations: injection-shaped
characters in SNMP/dyndns/DNS free-text (also rejected again at render
time), VRF table ranges + collision with multi-WAN policy tables,
OSPF/IS-ISdead > hello, BFD/VRRP/ROA ranges, DHCP pools inside the
interface subnet, IPsec PSK length, NAT port 0,protocols importkeyed to
the routing daemon's actual protocol set. Multi-WAN health checks honour
per-uplink intervals; a disabled PPPoE interface tears its session down;
OSPFv3redistributevalues the daemon can't express error instead of
silently vanishing. - Full per-neighbour BGP. Every wren neighbor field is now reachable:
local-as,update-source,ebgp-multihop,description,shutdown,
hold-time, and more; route-maps via[[protocols.filter]], communities,
RPKI, confederation, and aggregate-address. - Per-object IGP + routing surface. OSPFv2 / OSPFv3 (areas, auth, timers,
stub/NSSA), IS-IS, RIP / RIPng, Babel, VRRP with interface/route tracking,
global BFD, multicast (IGMP/MLD), VRFs, and per-protocol redistribution
filters. - C18 — services parity. LLDP, read-only SNMP, Wake-on-LAN, mDNS repeater,
dynamic DNS, and DHCP relay. - C19 — PKI + ACME. An on-box certificate authority with leaf issuance
(runtime, idempotent, private keys mode0600) plus ACME / Let's Encrypt
account configuration. - C12 — REST management API.
sentinel api: a bearer-token REST server
over the same config model the CLI edits.GET/PUT /api/v1/configrun the
exact parse → live-apply → persist path a CLIcommittakes;GET /api/v1/statusand/api/v1/show/*proxy the operationalshowdata. No
UI-vs-CLI config drift. - C10 — NAT64 / DNS64. tayga (NAT64) + unbound (DNS64) for IPv6-only
networks reaching IPv4 destinations, with a documented no-ALG stance.
(Hairpin NAT is deferred — it needs the eBPF datapath.) - Per-object polish. Description and
disabledon interfaces, firewall
rules, NAT rules, and zones; DHCP static mappings plus lease / domain /
router / DNS options; DNS cache-size and local-domain tunables. - Integration tests. Per-protocol routing nixosTests (OSPFv3, IS-IS,
RIPng, Babel, VRRP, BFD) alongside the existing BGP/OSPF/RIP checks, plus
newapi,pki,nat64,lldp,snmp, anddhcp-relayVM tests and
interface/service tunable coverage.
Changed
- Explicit
ApplyMode { Live, Boot }through the config-apply pipeline, so
boot-time reconciliation and livecommitshare one code path with distinct,
intentional behaviour.
Fixed
- Reboot persistence. Saved config now fully survives a reboot: fixed a
boot-time deadlock and the missing runtime re-apply that could leave a
rebooted appliance short of its saved state.
sentinel 0.1.0 — firewall/router appliance: zones, NAT, VPN, DHCP/DNS, PPPoE, QoS
First tagged release of the Sentinel immutable firewall/router appliance.
Included
- Named zones + per-zone posture, VLANs, firewall (address/port groups,
port ranges, per-rule log, source-CIDR, reject), NAT (masquerade + DNAT
port-forwards). - WireGuard (C1); DHCPv4 + RA/SLAAC + DNS (dnsmasq: forwarding, host-
overrides, blocklists) + NTP (C7); dual-stack IPv6 + DHCPv6-PD. - Bridges + bonding, per-interface MTU/MAC (C14 part); full routing CLI
(BGP/OSPF/OSPFv3/IS-IS/RIP/RIPng/Babel/VRRP/static). - PPPoE client + TCP-MSS clamping (C5) — real WAN uplinks.
- QoS / traffic shaping (C8) — per-interface CAKE / fq_codel.
- Verified boot / A-B / secure boot / atomic commit with commit-confirm,
config archive, rollback-N, diff (C21).
Not yet included (roadmap)
- IPsec (C2), multi-WAN (C6), stateful HA (C9), IDS/IPS (C11), REST/Web UI
- AAA (C12), signed update channel (C13), PKI/ACME (C19), and the rest of
the C-track parity list.
- AAA (C12), signed update channel (C13), PKI/ACME (C19), and the rest of