Commit Graph

146 Commits

Author SHA1 Message Date
mnovak 737da4a3b1 [tests] Fuzz: the cargo-fuzz project's Cargo.lock, and its output ignored (first run: 5 targets, 60 s each with ASan, no crash) 2026-11-18 17:58:48 +01:00
mnovak ee99051c29 [docs] CLAUDE.md: WSL2 is Ubuntu now; rustup, and Caddy and Pebble without Nix 2026-11-18 17:33:43 +01:00
mnovak e12c25b85d [tests] Lint on Linux: the Unix client before the test module, a Target type for the fuzz table, is_multiple_of; rustfmt 1.100 layout of core::pki 2026-11-18 17:33:24 +01:00
mnovak ee50b3451f [repo] Merge: main into phase-4 (the Domi CA from domi-pki v1.0.0, PR #9; the disk rule, PR #8) 2026-11-18 17:28:53 +01:00
mnovak 00b506670f [repo] Merge: feature/domi-pki (The Domi CA from the shared crate domi-pki v1.0.0, PR #9) 2026-11-17 12:36:54 +01:00
mnovak d4da521a91 [core] PKI: the Domi CA from the shared crate domi-pki v1.0.0 (same API, messages and key format) 2026-11-17 12:30:10 +01:00
mnovak f21876c473 Merge branch 'main' into phase-4 2026-11-10 23:44:54 +01:00
mnovak 1cc3599f10 [repo] Merge: disk rule in CLAUDE.md (PR #8) 2026-11-10 23:44:51 +01:00
mnovak 8e3a3c01e4 [docs] CLAUDE.md: never touch C: or D:; everything goes on F: 2026-11-10 23:44:40 +01:00
mnovak e95b86fdeb [bench] README: how the load and conformance runs are made, the caveats, and that no results are committed yet 2026-11-10 21:38:44 +01:00
mnovak 18169dcbc2 [edge] Pipelining: a unit test on an in-memory pipe for the plain-HTTP listener (runs on Windows too) 2026-11-10 21:36:53 +01:00
mnovak 0b406069ee [docs] CLAUDE.md: the phase 4 scripts and bench/ 2026-11-10 21:30:38 +01:00
mnovak c4777a5477 [edge] Proxy socket: a Unix peer has no address in Pingora, so the socket is recognised by its listening side 2026-11-10 21:30:26 +01:00
mnovak c7eb190c3b [docs] Launch: drafts of a blog post and short posts (not published) 2026-11-10 21:28:10 +01:00
mnovak f9ef6e66c3 [docs] Release: the Nix pin step, why the build is pinned and not shipped, and the GitHub mirror steps for later 2026-11-10 21:27:38 +01:00
mnovak 5e28394de5 [docs] README and support: what Ianitor is, why Pingora, the Caddy fallback, the Fabrica badge, the five test layers; docs/support.md (adopt a red panda, the route to RPN pending); ROADMAP §8.7 answered as a proposal pending Mark 2026-11-10 21:27:15 +01:00
mnovak 9ae721b79f [fabrica] Layers and the verifiable build: the layers pipeline runs all five test layers on a NixOS runner with KVM, verify-nix rebuilds a tag and compares with its pin, the release publishes the Nix pin (ianitor-nix.json) under the signed SHA256SUMS; scripts for conformance, load and the pin; docs/verify.md 2026-11-10 21:23:16 +01:00
mnovak 4692044099 [diff] Pair: ianitor-pair runs edge and two Caddys (all cores, GOMAXPROCS=2) on the same compiled routes for the conformance and load scripts 2026-11-10 21:19:44 +01:00
mnovak 08e24e5d40 [tests] Fuzz: cargo-fuzz targets for route files, header rules, share tokens, path_within and the CA's PEM/CSR parsing (tests/fuzz), a bounded run script that saves any crash as a hex regression, and every seed and saved crash replayed in cargo test 2026-11-10 21:17:29 +01:00
mnovak 1358649550 [deploy] Sockets: services.ianitor.edge.proxySocket (Caddy beside Ianitor reaches edge on a 0660 socket of the ianitor-proxy group) and ui.socket (control's UI socket, the proof trusted only there); the Configuration_Server patch, beside-caddy.md and api.md follow; a VM test for both 2026-11-10 21:09:24 +01:00
mnovak d249bcf9f2 [control] UI socket: with [ui] socket control also serves the API on a 0660 Unix socket and trusts the proof only there; a socket upstream is refused unless it is the admin host on control's own socket; probes under Caddy reach it too 2026-11-10 21:06:56 +01:00
mnovak 1f5e4a59a0 [control] UI socket, tests first: with [ui] socket the proof signs in only over the 0660 socket (refused over TCP even when right), and a route may name a socket only for the admin host and only control's own (red: no socket yet) 2026-11-10 21:04:59 +01:00
mnovak d74079c66d [core] Unix upstreams: unix:/path parses strictly into a socket upstream; edge proxies and health-checks it in plain HTTP over the socket, Caddy dials unix/<path> 2026-11-10 21:04:24 +01:00
mnovak 84c1c81906 [core] Unix upstreams, tests first: unix:/path reaches both engines (edge address, Caddy dial), the path is strict, forward-auth never goes to a socket (red: not parsed yet) 2026-11-10 21:02:41 +01:00
mnovak ffffa62999 [core] Proxy socket: compile option proxy_socket gives both engines a 0660 Unix socket for the front proxy (edge in its config, Caddy a third server with trusted_proxies_unix); listeners change only with a restart 2026-11-10 20:59:57 +01:00
mnovak 4150848842 [diff] Pipelining: two pipelined cases (plain HTTP and HTTPS), every answer's status, location and body compared in order 2026-11-10 20:54:46 +01:00
mnovak a278ef3b23 [tests] Windows: a Linux-only test target shows as one ignored test, not as a pass 2026-11-10 20:53:40 +01:00
mnovak 6b2ba163df [edge] Resolver: upstream names are looked up on at most 8 threads of their own, never on tokio's blocking pool; one lookup per name at a time; a lookup past the limit fails at once with 502 2026-11-10 20:50:52 +01:00
mnovak 66dcf75fea [edge] Resolver, tests first: hung name lookups pin at most a bounded number of their own threads, concurrent lookups of one name share one, and the rest fail at once (red: one blocking-pool task per request, as before) 2026-11-10 20:50:26 +01:00
mnovak 39dd8f0f47 [edge] Listeners: a request header must be complete within 60 s (--header-timeout), pipelined requests are answered in order, and --proxy-socket serves the front proxy on a 0660 Unix socket whose X-Forwarded-For is believed 2026-11-10 20:46:28 +01:00
mnovak 7a2aee20eb [edge] Listeners, tests first: an overall header deadline (slowloris), pipelined requests answered in order on both listeners, a proxy socket whose X-Forwarded-For is believed (red: the deadline is a pass-through) 2026-11-10 20:43:50 +01:00
mnovak 0e9c2a7bc9 [repo] Merge: feature/release-kit (Release notes and screenshots of the web UI on a v* tag's Gitea release, PR #7) v0.1.0 2026-11-09 17:47:08 +01:00
mnovak dcdff4d414 [docs] Roadmap: phase 4 started with the release kit; handover 2026-11-09 17:46:34 +01:00
mnovak b9ab5006a8 [fabrica] Release: the release pipeline on a v* tag (version check, web tests, fabrica notes, the shots, approval, publish under SHA256SUMS signed by domi-release) and the highlights of 0.1.0 2026-11-09 17:42:29 +01:00
mnovak 7a32eeb411 [web] Shots: the release's screenshots of the built UI against the demo control plane, in headless Edge over DevTools (aula-*.png, aula.json) 2026-11-09 17:42:06 +01:00
mnovak c2c6454302 [tests] Release screenshots, tests first: the demo control plane draws every shot from invented data only (.test names, documentation addresses) 2026-11-09 17:42:05 +01:00
mnovak d035fd3165 [docs] Release: notes and screenshots of the web UI on the Gitea release of a v* tag, under the signed SHA256SUMS (docs/release.md) 2026-11-09 17:42:05 +01:00
mnovak 7b906de79f [repo] Merge: feature/fabrica-app (Ianitor declares itself to Fabrica: app.yaml and the deploy pipeline, PR #6) 2026-11-08 22:49:42 +01:00
mnovak 6ba3fa4b17 [deploy] Fabrica: app.yaml with a server part and the deploy pipeline for the ianitor flake input, so Fabrica's Apps screen shows Ianitor 2026-11-08 22:48:59 +01:00
mnovak 5df34bfae6 [repo] Merge: Phase 3 web UI, Domi CA, NixOS module (PR #5) 2026-11-08 12:57:57 +01:00
mnovak 7322bbd856 [docs] Roadmap: Phase 3 status and handover 2026-11-08 12:57:24 +01:00
mnovak 0213021bb1 [control] Fix round 4: a device change during an engine switch is never skipped silently (devices_problem until the serving engine is told), and every switch ends by telling the engine that serves, also after going back 2026-11-08 12:48:57 +01:00
mnovak c45dafa2a3 [tests] Tests first, fix round 4: a revocation during a switch to Caddy, and during a failed switch away from Caddy, is in force when the switch ends (red) 2026-11-08 12:40:24 +01:00
mnovak 4d87537a76 [control] Fix round 3: revocations never wait for an apply (files and edge at once; under Caddy the reload is left to the end of a running trial), confirmed before the deadline is claimed, the guard marks a trial expired only after a verified load and retries, caddy-revert clears a stale deadline when Pingora serves 2026-11-08 12:28:35 +01:00
mnovak 09b8313a04 [tests] Tests first, fix round 3: a revocation during a watch is in force at once (Pingora) or when the apply ends (Caddy), a device revoked under Caddy is refused, caddy-revert with Pingora serving clears a stale deadline (red) 2026-11-08 12:21:36 +01:00
mnovak 057abbc954 [web] Design re-check: the engine chip closes its popover, Show details on every pause, popover grammar, share links off while Caddy serves, renewal copy 2026-11-08 12:04:14 +01:00
mnovak 457aea86ca [repo] NixOS and docs: ianitor-caddy-guard with caddy-fallback, caddy-revert after every control stop, admin socket only for control, Caddy trial deadline in the engine-switch VM test, trusted proxies stay off beside Caddy 2026-11-08 12:04:14 +01:00
mnovak 23a283ece9 [control] Fix round 2: Caddy rereads its files on every load and the served certificate is checked, Caddy trials get a deadline outside control (caddy-guard, caddy-revert), the watch under Caddy judges upstreams as edge does, a reload of Caddy during the watch is noticed and device changes wait for the apply, stricter root key scan, IPv4-mapped trusted proxies 2026-11-08 12:04:13 +01:00
mnovak ba3a060b2e [tests] Tests first, fix round 2: same caddy.json reload rereads certificates, forward-auth hosts kept under Caddy as under edge, crash mid-trial under Caddy, Caddy reloaded during the watch, watching crash point, caddy-revert after a crash, TLS 1.2 device after a bad ALPN (red) 2026-11-08 11:48:10 +01:00
mnovak 503916492d [web] Design review: last row's menu not clipped, Hostname focused after loading, popover closes on Esc and outside click, phone engine chip in the top bar, paused and needs-attention copy with Restore in the panel, change bar offers and countdown, focus after share and kept, fingerprint check when signing by hand, draft kept through sign-in 2026-11-08 11:21:44 +01:00