Skip to content

sentinel 0.2.0

Choose a tag to compare

@Schmexs Schmexs released this 08 Jul 16:28
· 761 commits to main since this release

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 transactional commit /
    commit-confirm / save / rollback / compare lifecycle. Every line
    means exactly one thing — there is no implicit set, 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
    (with help <command> details and examples), contextual Tab/? completion
    with per-keyword descriptions, colour-coded errors/warnings/success (TTY
    only, NO_COLOR respected), 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-NIC master field is gone. A
    bridge can be vlan-aware with per-port vlan-tagged <ids> and
    vlan-untagged <pvid> (rendered as networkd VLANFiltering= +
    [BridgeVLAN]). A VLAN subinterface named <parent>.<id> infers parent
    and vlan from its name at commit.
  • WireGuard moved under vpn. set interface wg0 type wireguard creates
    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-IS dead > hello, BFD/VRRP/ROA ranges, DHCP pools inside the
    interface subnet, IPsec PSK length, NAT port 0, protocols import keyed to
    the routing daemon's actual protocol set. Multi-WAN health checks honour
    per-uplink intervals; a disabled PPPoE interface tears its session down;
    OSPFv3 redistribute values 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 mode 0600) 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/config run the
    exact parse → live-apply → persist path a CLI commit takes; GET /api/v1/status and /api/v1/show/* proxy the operational show data. 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 disabled on 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
    new api, pki, nat64, lldp, snmp, and dhcp-relay VM tests and
    interface/service tunable coverage.

Changed

  • Explicit ApplyMode { Live, Boot } through the config-apply pipeline, so
    boot-time reconciliation and live commit share 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.