web: allow direct IP dashboard and worker access (#26)

Support direct HTTP IP access on port 5187 without hostname registration or a required proxy. Preserve dashboard/machine authentication and CSRF checks. Update Proxmox setup, D14, tests and documentation for 1.2.3.

Closes #25
This commit was merged in pull request #26.
This commit is contained in:
2026-11-15 16:42:12 +01:00
parent f45e065994
commit 284e692993
19 changed files with 218 additions and 69 deletions
+3 -1
View File
@@ -15,8 +15,10 @@
- [2026-11-15] npm's local `--prefix` install writes `node_modules/.bin`; the Linux worker's `.local/bin/codex` requires a user-owned global prefix. The regression installs an offline synthetic package with real npm.
- [2026-11-15] Compare copied/archived license bytes with source bytes. `read_text()` normalizes Windows CRLF while ZIP reads retain it; explicit LF/CRLF fixtures cover both checkouts.
- [2026-11-15] Do not assume a bundled proxy or host-driven updates for LXC deployments. Use the operator's existing proxy and an in-container updater; preserve the public Host/Origin when the private backend uses HTTP.
- [2026-11-15] Do not assume a proxy or host-driven updates for LXC deployments. Direct IP HTTP is supported; use the in-container updater. An optional TLS proxy preserves the browser's Host/Origin.
- [2026-11-15] A build-owned source/output cannot supply code later executed as root. Capture updater bytes from the verified archive before build handoff and atomically install them in the root-owned release, excluding build-supplied updater files.
- [2026-11-15] Container shells can omit `/usr/local/sbin`. Register the updater in `/usr/local/bin`, print an absolute-path fallback, and test real shell lookup with sbin excluded.
- [2026-11-15] A legacy `FINALTOKEN_PUBLIC_ORIGIN=https://usage.example.com` caused HTTP 400 for IP access. Ignore this old setting; compare browser mutation Origin to actual request Host and derive Secure cookies from TLS or its validated HTTPS Origin. Health checks must not hide regressions with a forged Host.
## Archive