streamd v0.2.2: session uptimes, egress DNS, Support, agent/Widevine
All checks were successful
release / build-and-upload (push) Successful in 7m2s

Dashboard Live uptimes + Recent runs from stream_sessions; overview.recent_sessions.
WireGuard netns resolv.conf + missing-deps WARN. Support donations card.
Agent start/stop/update, job_backoff default off, wvkey ensure/venv, phonecap retries,
modhost YAML enrich, DRM SetCredentials requires keys.
This commit is contained in:
404errordeveloper 2026-10-10 19:26:39 +02:00
parent 3ae1dd58b3
commit a091922efa
34 changed files with 2391 additions and 154 deletions

View file

@ -496,6 +496,15 @@ sudo apt-get install -y wireguard wireguard-tools iproute2 microsocks
`CAP_SYS_ADMIN`, or run as root). A full-tunnel client conf (`AllowedIPs = 0.0.0.0/0`)
is fine — traffic is isolated inside `streamd-<name>` netns.
On **Up**, streamd also writes `/etc/netns/streamd-<name>/resolv.conf` with public
resolvers (`1.1.1.1`, `1.0.0.1`, `8.8.8.8`). Without that, SOCKS hostname lookups
fail when the host uses systemd-resolved’s `127.0.0.53` stub (unreachable inside
the netns). Writing under `/etc/netns/` needs the same privileges as `ip netns`.
Teardown removes that directory with the namespace.
If `ip`, `wg`, or `microsocks`/`gost` are missing from `PATH`, `streamd serve`
logs a WARN at startup so WireGuard profiles fail clearly instead of silently.
### Dashboard
1. **Settings → Egress tunnels → Add profile**