b482e264d2b42d5541750bc8b06bbb3e718efbc0
subject: app:<id> applied to every device in the mesh, so whoever could write one road (app:steam goes-direct 0.0.0.0/0) changed the tunnel of other people's devices, an exit and a classic router. An app road now needs the new header key on: (a person, group or device), and reaches only those devices; on: is forbidden on any other subject. The home fixture's steam road is on Mark's devices, so it leaves Jana's, Petr's and the router's plans. Four fixtures, a B-3 test (fails if app roads reach every device again), the property generator scopes app roads to a person, and the R-55 renaming rewrites on: like subject:.
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%