Hub 2.11.0: ports checked on both servers before an install; frp config on each server's page

- A new install reserves candidate ports, asks the central and church servers which are free
  (probe-ports), and runs on the first pair free on both (3 rounds, then called off).
- Each server's page reads and changes frps's / frpc's config (agent 1.4.0): secrets stay on the
  server, two-factor, verify, backup, restart, put back if frp doesn't start.
- Alerts name the config file the agent uses; a missing config gets its own alert.
- Vendors contracts 1.15.0. Migration 20261121110000_server_frp_config.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-21 11:08:29 +02:00
co-authored by Claude Opus 5.5
parent 0aed4f72b3
commit 0acc61d4d8
18 changed files with 586 additions and 23 deletions
@@ -0,0 +1,4 @@
-- Hub 2.11.0: where frps (central server) or frpc (church server) keeps its config, set from the
-- Hub, and the last read of that file (secrets hidden by the agent).
ALTER TABLE "Server" ADD COLUMN "frpConfigPath" TEXT;
ALTER TABLE "Server" ADD COLUMN "frpConfig" JSONB;