clusev/docker/wg
boban dc6d2fae59 fix(wg): endpoint auto-gets the listen port when given as a bare host (v0.9.43)
If the operator entered an endpoint without a port (e.g. "10.10.90.165"
instead of "10.10.90.165:51820"), that value was written verbatim into every
peer config. WireGuard requires the endpoint as host:port, so the WireGuard app
rejected the QR/file import as "keine gültige WireGuard-Konfiguration" — the
real cause of the invalid-config errors (the QR-size fix in 0.9.42 was secondary).

Normalise host-side: append the listen port when the endpoint has no colon, in
both _write_server_conf (setup — covers the dashboard and interactive paths) and
_set_endpoint (later changes). Verified: bare host -> host:port, host:port left
as-is, DNS host -> host:port; write-bridge smoke test still passes; shellcheck
clean. setup_endpoint_hint (de/en) now documents the host:port format.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-21 22:11:25 +02:00
..
clusev-wg-collect.service feat(wg): clusev-wg-collect timer+service — 5s status collection 2026-06-20 23:29:21 +02:00
clusev-wg-collect.timer feat(wg): clusev-wg-collect timer+service — 5s status collection 2026-06-20 23:29:21 +02:00
clusev-wg-gate.service feat(wg): clusev-wg-gate.service — boot/docker-restart gate persistence 2026-06-20 22:35:25 +02:00
clusev-wg-request.path feat(wg): clusev-wg-request watcher (path+service) + install wiring 2026-06-21 00:30:12 +02:00
clusev-wg-request.service fix(wg): umask 077 in serve-request + UMask in unit — no 0644 race on key files (security review) 2026-06-21 00:42:07 +02:00
clusev-wg.sh fix(wg): endpoint auto-gets the listen port when given as a bare host (v0.9.43) 2026-06-21 22:11:25 +02:00
serve-request.test.sh fix(wg): write-bridge handler no longer dies before replying (v0.9.41) 2026-06-21 21:53:25 +02:00