80f73a01547650710e7d6846298028c6b41977dc
A goes-direct subnet was only checked to be canonical, and the kill switch dropped it only when it reached the internet, so 100.96.0.0/16 (every mesh address) or the home LAN that the plan routes into the tunnel compiled cleanly. Now, decided here because the plan has to say which route wins: - a goes-direct subnet other than /0 that holds a mesh address is refused (direct.mesh); - per device, a direct subnet inside a net the plan tunnels is dropped and reported (direct.tunnelled); - a direct subnet that holds tunnelled nets keeps them in the tunnel, listed in the new plan field direct[].except. A platform that cannot honour except (an app-level bypass) must not apply the entry. The F-02 test now checks that every overlap is covered by except, and that only the mesh subnet is refused. Golden plans and the pinned jana-phone digest are regenerated: the only change is the except lists. Plan format 1 has not been released, so it changes in place.
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.
docs/02_via-core.md: why, what, how, risks and gaps for Day 2.docs/FORMATS.md: the road file format and the control protocol, field by field.
cargo test --workspace
Licence: CPAL-1.0 (see LICENSE). Its Exhibit B carries the attribution notice, the same as CustosPublic's.
Description
Languages
Rust
99.6%
C
0.2%
Nix
0.2%