Hub 2.20.0: port list labels; frps allow_ports checked against it
- GET /api/admin/ports names each port's install (church, product, web/API, domain); the port list shows it, linked to the install, and says which ports are held for a port check. - A church server's hand-written frpc tunnels are listed as taken (note: frpc tunnel "<name>" on <server>) on each frp-read/frp-write, and taken off when they leave the file. - Central servers: allow_ports must cover the port range and every listed port outside it. An allow_ports alert names what's missing and the value to set; the frp card warns, and Edit has "Use the Hub's allow_ports" (INI or TOML). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -5,6 +5,25 @@ versions follow [Semantic Versioning](https://semver.org/).
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [2.20.0] - 2026-11-23
|
||||
|
||||
No migration. `GET /api/admin/ports` and a server's `frp` state carry more fields; nothing is removed.
|
||||
|
||||
### Added
|
||||
|
||||
- **The port list says what each port is for**: the church, the product and web or API, linked to the
|
||||
install, with its domain (and "uninstalled, free from …" once it's gone). Ports held for an
|
||||
install's port check say so.
|
||||
- **A church server's hand-written frpc tunnels are listed as taken**, named after the tunnel
|
||||
(`frpc tunnel "games-night" on church-1`), each time its frp config is read. A tunnel taken out of
|
||||
frpc is taken off the list at the next read. Ports of installs and ports marked by hand are left
|
||||
as they are.
|
||||
- **frps's allow_ports is checked against the port list.** It must allow the Hub's port range and
|
||||
every listed port outside it, so installs never need an frps restart. When it doesn't, the
|
||||
central server gets an alert (and the alert email) naming the missing ports and the value to set,
|
||||
the frp config card says so, and **Edit → Use the Hub's allow_ports** puts that value in the file
|
||||
(INI or TOML) to save with a restart.
|
||||
|
||||
## [2.19.0] - 2026-11-23
|
||||
|
||||
**Migration:** a new table, `AgentRelease`. No API change for existing calls.
|
||||
|
||||
Reference in New Issue
Block a user