mnovak 73426592e4 [roads] QA F-10: IPv6 is checked by embedding the property's worlds into fd00::/96
The least-privilege oracle works in u32, so P-1 never saw an IPv6 address.
P-6v6 (1,000 cases) writes the same generated world with every IPv4 address a
as fd00::a and every /L as /(L+96) (the default route as ::/0), compiles both,
and requires the IPv6 plans to equal the IPv4 plans mapped the same way, with
the same problems. So every IPv6 path behaves like the IPv4 one P-1 checks
against the oracle. Mutation-checked: IPv6 hosts as /127 fails it at once.
2026-11-25 09:07:24 +01:00

via-core

The pure core of Via Domi, Domi's people-first mesh VPN: the road model, its validator, and the compiler that turns roads into exactly the peers, allowed IPs and firewall rules each device needs. Nothing else grants access.

A road is one sentence: Jana — can reach — Photos — until Sunday. Roads live one file per road in a git-tracked folder; the compiler reads them with the people directory and the device list and writes one plan per device. Deny by default: a road that does not compile cleanly grants nothing, and says why.

Crate What
roads road files, the people directory and device list snapshots, validation, the compiler, explain
proto the control-plane messages, CBOR, versioned
via-cli the via binary: via check, via compile --device <id>, via explain <device> <place>

No I/O beyond reading the store, no network, no clock in the library: now is a parameter.

cargo test --workspace

Licence: CPAL-1.0 (see LICENSE). Its Exhibit B carries the attribution notice, the same as CustosPublic's.

S
Description
Via Domi core: roads model, validator and compiler (pure Rust).
Readme 404 KiB
Languages
Rust 99.6%
C 0.2%
Nix 0.2%