1cbbad9ff9
Server-side homeserver.yaml on organic-machine VPS: - encryption_enabled_by_default_for_room_type: invite -> all - presence.enabled: false (block EDU metadata leak) - url_preview_enabled: false (block SSRF + IP leak) - msc4108 rendezvous endpoint uncommented (QR login) Synapse restarted, /versions shows e2ee_forced.* + msc4108 unstable features active. Backup at synapse_data/homeserver.yaml.bak.1779659423. Issues opened for remaining gaps: - 0165 LUKS for media_store (at-rest encryption) - 0166 LiveKit TURN deploy (NAT traversal gap) - 0167 STUN leak to Google (hardcode external_ip) - 0168 UDP range expand 200 -> 500 - 0169 LIVEKIT_SECRET rotation (audit exposure) - 0170 livekit.example.yaml rename hygiene Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1.8 KiB
1.8 KiB
id, title, status, type, domain, scope, priority, depends, blocks, related, created, updated, tags
| id | title | status | type | domain | scope | priority | depends | blocks | related | created | updated | tags | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0167 | Eliminar STUN leak a Google en LiveKit (hardcode external_ip) | pendiente | infra |
|
app:element_matrix_chat | baja |
|
2026-05-24 | 2026-05-24 |
|
0167 — Eliminar STUN leak a Google en LiveKit (hardcode external_ip)
Status: pendiente Created: 2026-05-24 Type: infra Priority: baja Domain: matrix Scope: app:element_matrix_chat Depends: — Blocks: —
Problema
rtc.use_external_ip: true con external_ip vacio → LiveKit hace STUN query a stun.l.google.com:19302 cada arranque para descubrir IP publica. Leak metadata server (IP del VPS) a Google. Contradice premisa "self-host privacy first".
Objetivo
LiveKit conoce su IP publica sin contactar STUN externos.
Plan
- Determinar IP publica VPS:
curl -s ifconfig.me. - Editar
configs/livekit/livekit.yaml:rtc: use_external_ip: false node_ip: "<IP_PUBLICA>" - Si TURN propio desplegado (issue 0166), usar coturn como STUN propio.
- Restart
element_matrix_chat-livekit-1. - Test: call funciona igual.
- Auditar:
docker logs element_matrix_chat-livekit-1 | grep -i stunno muestra queries a google.
Acceptance
tcpdump -i eth0 dst stun.l.google.comno captura paquetes tras restart.- Calls Element Call siguen funcionando 1:1 y grupo.
Definition of Done
- Repetibilidad: reboot VPS, 0 paquetes a stun.l.google.com.
- Observabilidad: log LiveKit confirma IP hardcoded.
Notas
Bajo impacto operacional pero alta consistencia con doctrina self-host. Si IP del VPS cambia (rara vez con VPS estatico), actualizar config manual o automatizar con script de healthcheck.