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
+7 -2
View File
@@ -322,14 +322,17 @@ worker per OS user, following the developer's direction in
- Account ids, expected emails and machine/profile bindings are configured by the operator.
The server has a dashboard access key and distinct per-machine keys. Browser sessions are
HttpOnly, SameSite cookies with CSRF checks; remote access uses HTTPS. A worker cannot select
HttpOnly, SameSite cookies with CSRF checks. Direct IP or hostname access supports HTTP and
HTTPS without a fixed-host allowlist. Browser mutations compare Origin with the actual request
Host; HTTPS sessions use Secure cookies, including through a proxy preserving Host/Origin.
HTTP transport is unencrypted. A worker cannot select
another machine's identity or execute arbitrary remote commands.
- The dashboard calls Core's D7, D12 and D13 APIs. No second forecasting implementation is added.
Local settings remain local; the newest quota observation's profile supplies the pace threshold,
hidden windows and freshness interval. Account timezone controls calendar days. No working-hour
forecast is added. Old/expired limits are displayed but have no current forecast.
- The Proxmox host script creates the LXC only. It does not install a reverse proxy. The server
exposes private HTTP port 5187 behind the operator's existing HTTPS proxy, preserving Host.
exposes HTTP port 5187 directly at the container IP; an operator's HTTPS proxy is optional.
`finaltoken-update` fetches/builds/activates updates inside the container. An update from the
old bundled-proxy layout changes its known listener and disables only the installer-owned
proxy, with configuration rollback on a failed backend check. See
@@ -359,6 +362,8 @@ worker per OS user, following the developer's direction in
**Why.** R8, and the developer's clarification that the browser authorization response must
travel through FinalToken to the CLI, without being stored. D7's analysis answers whether the
remaining allowance will last through the actual reset; token prices alone cannot answer it.
The developer requires direct IP access without hostname registration or a mandatory proxy
([#25](https://git.finalfactory.de/FinalFactory/FinalToken/issues/25)).
**Gives up.** Automatic remote callbacks, provider-token sharing, automatic account switching,
unverified identities, universal login lifetimes, and exact cross-machine attribution of old