Decide: public ports for calls #28

Closed
opened 2026-11-28 08:24:18 +00:00 by claude · 2 comments
Owner

Open 7881/TCP, 7882/UDP and 3478/UDP on the server in M4?

SPEC 18.5, 4.

Open 7881/TCP, 7882/UDP and 3478/UDP on the server in M4? SPEC 18.5, 4.
claude added this to the konbi roadmap project 2026-11-28 08:24:19 +00:00
Author
Owner

Calls are now built (M4, #17 and #18) and wait on this. Opening them needs: 7881/TCP, 7882/UDP and 3478/UDP on the server, LiveKit announcing the public address, TURN, and calls.<domain> reachable from outside; then CHAT_CALLS_URL is set (stack README, "Calls"). Until then nothing offers a call in the webmail.

Calls are now built (M4, #17 and #18) and wait on this. Opening them needs: 7881/TCP, 7882/UDP and 3478/UDP on the server, LiveKit announcing the public address, TURN, and `calls.<domain>` reachable from outside; then `CHAT_CALLS_URL` is set (stack README, "Calls"). Until then nothing offers a call in the webmail.
Author
Owner

Yes (lip, 2026-11-28). Open on the dev server: infra feat/chat-calls-public, stack/compose.calls.yaml plus two lines in .env (stack README, "Calls"; removing them closes it again).

  • 7881/TCP, 7882/UDP, 3478/UDP (IPv4 only), and calls.<domain> on 443 for /rtc paths only; LiveKit's server API answers 404 from outside.
  • TURN needed one fix: through the public address its relay never heard the media server (Docker's address translation), so it now uses a fixed container address on a network of its own, the only private address it may relay to.
  • tests/run_calls_public.sh, 18 of 18, by the public name and address from the server itself: sound and picture over UDP, over TCP only and through TURN only; TURN refuses without a password and refuses other containers, the gateway and loopback.
  • tests/run_chat_calls.sh by the public signalling address: 70 of 71, twice. The failure is the microphone level meter in the device dialog, which uses only the browser's own fake microphone, not the call server; it passed on 2026-11-28 in M4 and is a marginal check (noise suppression removes most of the fake beep).

Not tested: a call from another network (so a firewall in front of the server). TURN over TLS (443 only networks) is not set up. chat.<domain> stays internal (#31).

Yes (lip, 2026-11-28). Open on the dev server: `infra` `feat/chat-calls-public`, `stack/compose.calls.yaml` plus two lines in `.env` (stack README, "Calls"; removing them closes it again). - 7881/TCP, 7882/UDP, 3478/UDP (IPv4 only), and `calls.<domain>` on 443 for `/rtc` paths only; LiveKit's server API answers 404 from outside. - TURN needed one fix: through the public address its relay never heard the media server (Docker's address translation), so it now uses a fixed container address on a network of its own, the only private address it may relay to. - `tests/run_calls_public.sh`, 18 of 18, by the public name and address **from the server itself**: sound and picture over UDP, over TCP only and through TURN only; TURN refuses without a password and refuses other containers, the gateway and loopback. - `tests/run_chat_calls.sh` by the public signalling address: 70 of 71, twice. The failure is the microphone level meter in the device dialog, which uses only the browser's own fake microphone, not the call server; it passed on 2026-11-28 in M4 and is a marginal check (noise suppression removes most of the fake beep). Not tested: a call from another network (so a firewall in front of the server). TURN over TLS (443 only networks) is not set up. `chat.<domain>` stays internal (#31).
Commenting is not possible because the repository is archived.
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Blocks
#18 M4: calls in rooms
konbi/bulwark-chatto
Reference
konbi/bulwark-chatto#28
No description provided.