matrix.disobey.net

tuwunel matrix homeserver for disobey.net, with chat and calls

how to connect

accounts
invite-only. ask yawnbox.
your address
@name:disobey.net
homeserver
disobey.net (clients find matrix.disobey.net on their own)
clients
Element X (iOS, Android), Element Web, Element Desktop. any Matrix client works for chat.
calls
start a call from any room in Element X or Element; Element Call is built in. people on other Matrix servers can join calls hosted here.
call encryption
call audio and video are end-to-end encrypted by Element Call.

known limitation: tuwunel lacks delayed events (MSC4140) for now. if your app crashes during a call, your name can stay in that call until an admin clears it.

tuwunel policy

server name
disobey.net
software
tuwunel
registration
allow_registration = false
federation
allow_federation = true
end-to-end encryption
allow_encryption = true
public room directory
allow_public_room_directory_over_federation = false
allow_public_room_directory_without_auth = false
room search by ID
allow_public_room_search_by_id = false
allow_unlisted_room_search_by_id = false
profile lookups
require_auth_for_profile_requests = true
allow_inbound_profile_lookup_federation_requests = false
presence, typing, receipts metadata
allow_incoming_presence = false
allow_outgoing_presence = false
allow_incoming_typing = false
allow_outgoing_typing = false
allow_incoming_read_receipts = false
allow_outgoing_read_receipts = false
allow_local_presence = false
TURN guests
turn_allow_guests = false
legacy media API
allow_legacy_media = false
client address source
ip_source = "connect_info": tuwunel only ever sees the edge proxy's address
discovery
[global.well_known] with livekit_url = "https://matrix-rtc.disobey.net/livekit/jwt"

calls policy (matrixrtc)

media server
self-hosted LiveKit SFU and lk-jwt-service (MatrixRTC authorization service)
who can start calls
accounts on disobey.net
who can join
any Matrix account, from any server
what the server knows
who is in a call while it runs. call media stays end-to-end encrypted.
third parties
none. STUN and TURN are self-hosted; nothing is sent to Google.
connectivity
udp 7882-7897 media
tcp 7881 ICE over TCP
udp 3478 TURN and STUN
tcp 443 TURN over TLS (switching on after verification)
admin API
closed to the internet
containers
unprivileged user, no Linux capabilities, read-only filesystem, no privilege escalation

privacy and logging

access logs
none for matrix.disobey.net and matrix-rtc.disobey.net
discovery requests
/.well-known/matrix/* skipped in the disobey.net access log
error logs
client addresses and call tokens removed before anything is written
nginx
access_log off; everywhere; error logging off for the call front
containers
logging driver none
firewalls
host firewall logging off; router dropped-packet logging off
system journal
kept at most 7 days and 100 MB
client address headers
removed at the edge proxy and again at nginx
in memory only
TLS termination, media delivery and TURN need a client's address while a connection is open; none of it is written to disk
attack records
WAF blocks and detections are published on security.disobey.net

network policy

TLS
1.3 only
key exchange
X25519MLKEM768 (hybrid post-quantum), X25519
Encrypted ClientHello
on
HTTP
HTTP/3, HTTP/2 and HTTP/1.1 at the edge
HSTS
max-age=63072000; includeSubDomains; preload
WAF
Coraza with the OWASP Core Rule Set, blocking mode
WAF: encrypted messages
Megolm events and key requests must match the Matrix spec schema (field names, algorithm, key formats); only then does one session-fixation rule skip the session_id field
WAF: calls
matrix-rtc.disobey.net accepts only the token, validate and room-creation endpoints, each with an exact schema; the LiveKit admin API accepts one call (CreateRoom) and is closed to the internet
internal hops
HTTP/2 cleartext; WebSocket upgrades are the only HTTP/1.1 hop
host firewall
default deny; tuwunel reachable only from the edge proxy

host hardening

nginx
systemd sandbox: read-only system, private tmp and devices, system call filter, minimal capabilities
guest agent
command execution, file access and credential changes disabled
updates
a host timer pulls the latest images every 6 hours; no container holds the Docker socket
tuwunel container
unprivileged user, no Linux capabilities, read-only filesystem, no privilege escalation
kernel
kernel pointers hidden, ptrace limited to parent processes, no ICMP redirects sent, reverse-path filtering on
ssh
keys only, no root login, no forwarding, post-quantum key exchange