github MotherofallVPNs/MoaV v2.5.0

one hour ago

[2.5.0] - 2026-11-23

Security and stability release (#369). Tunneled client traffic is now kept away from private and infrastructure networks by default (egress isolation), every Go service is closed off from the MPTCP remote-root exploit for CVE-2026-98432, TrustTunnel moves to 1.3.1 with HTTP/2 and HTTP/3 tested separately, Slipstream starts its removal in favour of MasterDNS and dnstt, and moav regenerate-users no longer rotates the AmneziaWG server key. Base images move off end-of-life Alpine and Go releases, every runtime image is pinned by digest, and Renovate now tracks dependencies. Keys, users and certificates are untouched, but some operators have to act: read the section below before updating.

Breaking / action required for operators

  • Slipstream clients stop connecting after this update. dns-router no longer routes the Slipstream subdomain, ENABLE_SLIPSTREAM defaults to false, and a leftover ENABLE_SLIPSTREAM=true is ignored with a warning. Move those users to MasterDNS and/or dnstt: keep ENABLE_MASTERDNS=true / ENABLE_DNSTT=true with their NS records (moav doctor dns), run moav switch-dns dnstt+masterdns+xdns, then moav regenerate-users and hand out the new bundles. Details under Deprecated.
  • TrustTunnel: rebuild its image. The endpoint moves to 1.3.1, and its egress filter now follows EGRESS_ISOLATION and blocks DappNode's 172.33.0.0/16 and 10.20.0.0/24 too. The filter needs iptables, which only the new image has; with isolation on, the container refuses to start if it cannot install the filter. Run moav build && moav start (at least moav build trusttunnel). Note that 172.33.0.0/16 is public address space outside DappNode and is now unreachable through TrustTunnel on every server.
  • cAdvisor moved registries (monitoring profile). The default image is now ghcr.io/google/cadvisor:v0.61.1, pinned by digest; gcr.io/cadvisor/cadvisor stopped publishing at v0.55.1. If .env sets IMAGE_CADVISOR to the old gcr.io path, update or remove it, and allow ghcr.io if your host pulls through a registry allowlist or mirror.
  • CVE-2026-98432 (Linux MPTCP, CVSS 9.8): recreate the containers and patch the kernel. Xray v26.11.9 no longer opens an MPTCP listener on the XHTTP inbound, and every Go service now runs with GODEBUG=multipathtcp=0. Both only take effect once the containers are rebuilt and recreated (moav update && moav build && moav start). This removes the known exploit path; the root fix is a patched host kernel.
  • Egress isolation is on by default. Client traffic can no longer reach RFC1918, CGNAT, link-local, loopback, IPv6 ULA/link-local or DappNode ranges through any protocol, and WireGuard/AmneziaWG peers can no longer reach each other through the tunnel. For a trusted LAN relay that needs the old behaviour, set EGRESS_ISOLATION=off in .env and run moav restart; moav restart now applies .env changes, in either direction.
  • Also: rebuild the admin dashboard for its dependency refresh (moav build admin && moav start admin). Self-hosted Actions runners used for the e2e workflow need v2.327.1 or newer (the pinned actions run on Node 24).

Upgrade: moav update && moav build && moav start. No re-bootstrap is needed.

Security

  • Admin dashboard Python dependencies refreshed. admin/requirements.txt still carried the January 2024 pins, which collect about 20 known advisories (none reachable through the routes the dashboard ships, but several were high severity). fastapi 0.109.0 -> 0.165.0 (Starlette 0.35.1 -> 1.10.0), uvicorn 0.27.0 -> 0.54.0, httpx 0.26.0 -> 0.28.1, jinja2 3.1.3 -> 3.1.6, and python-multipart is dropped because nothing imports it. Rebuild the admin image to pick it up: moav build admin && moav start admin.
  • MPTCP listener hardening (CVE-2026-98432, CVSS 9.8). Go 1.24+ enables MPTCP on TCP listeners by default, and the public exploit for this Linux kernel bug needs an MPTCP listener to reach remote root.
    • Xray-core v26.10.21 -> v26.11.9 on the server image and the moav test client image. v26.10.31 is the upstream emergency release that turns MPTCP off in Xray's listener; the XHTTP inbound (PORT_XHTTP) was an MPTCP listener before it. Also brings the Chrome 155 uTLS fingerprint as the default chrome fingerprint.
    • GODEBUG=multipathtcp=0 on every Go service in docker-compose.yml (xray, grafana, gooserelay, prometheus, node-exporter, cadvisor, psiphon-conduit, snowflake, dns-router, dnstt, masterdns, amneziawg). sing-box needs no change: its official builds already link with multipathtcp=0. Takes effect when the containers are recreated.
    • This removes the known exploit path only. Update the host kernel for the root fix.
  • Grafana 13.3.0 -> 13.3.1 (moav build --local pin): six CVEs, including CVE-2026-102589 and CVE-2026-111024 (both high).
  • Snowflake proxy 2.15.2 -> 2.15.4: dependency updates with security fixes, plus the 2.15.3 fix for a deadlock in fixed-capacity proxies (MoaV always passes -capacity).
  • Default-on egress isolation: tunneled client traffic can no longer reach private or infrastructure networks. A MoaV exit forwarded whatever destination a client asked for, so any user could reach other containers on the Docker network (the sing-box Clash API, Prometheus, Grafana), services on the host and its LAN, and the cloud metadata endpoint. Blocked destinations: RFC1918 (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16), CGNAT (100.64.0.0/10), link-local (169.254.0.0/16), loopback (127.0.0.0/8, plus its 0.0.0.0/8 alias), IPv6 ULA/link-local/loopback (fc00::/7, fe80::/10, ::1, ::), and DappNode's core networks (172.33.0.0/16, 10.20.0.0/24). Enforced in every layer that can originate client traffic: sing-box (a reject route rule after a resolve, so a name that points at a private IP is caught too, plus a UDP-only OUTPUT filter in the container, because sing-box routes a UDP session once and later packets may name any destination), Xray (a routing rule to a blackhole outbound, plus freedom finalRules, which check the address actually dialed and every UDP packet), and WireGuard / AmneziaWG (a MOAV-EGRESS chain hooked at the top of FORWARD, IPv4 and IPv6, installed before the interface comes up). dnstt, Slipstream, MasterDNS and GooseRelay egress through sing-box and are covered by it; wstunnel can only reach the WireGuard endpoint. The rules are applied at container start from one list (scripts/lib/egress-isolation.sh), so existing installs get them from moav update && moav build && moav start with no re-bootstrap. New .env toggle EGRESS_ISOLATION (default on); set it to off only for a trusted LAN relay, then moav restart to apply it (either direction). Behavior changes: WireGuard/AmneziaWG peers can no longer reach each other through the tunnel (their addresses are RFC1918), and on dual-stack servers sing-box now resolves client-requested names with its public resolvers instead of Docker's DNS, as IPv4-only servers already did. Trojan's fallback to the decoy keeps working, and works again on IPv4-only servers, where the prefer_ipv4 resolve rule had been sending the name decoy to public DNS.
  • Slipstream binaries are SHA256-verified at build. Dockerfile.slipstream (server) and Dockerfile.client (moav test client) downloaded the net2share/slipstream-rust-build assets unchecked. The default version's digests are now pinned in-tree, and any other SLIPSTREAM_VERSION is checked against that release's SHA256SUMS; a mismatch fails the build.
  • TrustTunnel egress filtering follows EGRESS_ISOLATION and covers DappNode's networks. TrustTunnel relied only on its own allow_private_network_connections = false check. That check ignored the EGRESS_ISOLATION toggle, and it treats 172.33.0.0/16 (DappNode's dncore network) as public, so a client could reach it over HTTP/2 and HTTP/3. The entrypoint now applies the toggle to the runtime vpn.toml (no re-bootstrap). With isolation on, the default, the endpoint's own check stays on and a MOAV-EGRESS-OUT filter on the container's OUTPUT drops the shared block list: RFC1918, CGNAT, link-local, loopback, IPv6 ULA/link-local, plus 172.33.0.0/16 and 10.20.0.0/24. Replies to clients and the container's DNS still pass. With isolation off, both are lifted, as in the other layers. If the filter cannot be installed while isolation is on, the container refuses to start. On a normal VPS the toggle-on behavior is unchanged, except that 172.33.0.0/16 (public space outside DappNode) is now unreachable through TrustTunnel, per the shared block list. The image gains iptables, so rebuild to pick it up (moav build && moav start).

Added

  • Cert-expiry monitoring (monitoring profile only): moav_cert_expiry_seconds, moav_cert_expiry_days, moav_cert_check_timestamp_seconds, moav_cert_renew_failed and moav_cert_managed, served by node-exporter's textfile collector from configs/monitoring/textfile/moav_cert.prom (written atomically by the renewal job and by moav start). Alert rules in configs/monitoring/cert_expiry.rules.yml: warning under 14 days, critical under 5, renew-failed, metric stale (no write for 48h) or absent, expiry unreadable. A "TLS cert: days left" tile on the System dashboard.
  • CERT_RENEW_WARN_DAYS in .env (default 21): the "renewal is overdue" threshold shared by the renewal job, doctor and the start line.

Changed

  • moav update cleans up dangling images. With nothing left to apply and no container unhealthy, starting or restarting, it runs docker image prune -f: only untagged images no container references go, so tagged images, build bases and the test-client images stay. moav update does not recreate containers itself, so images an update supersedes are reclaimed by the next moav update after moav build && moav start. A failed prune never fails the update.
  • moav test uses TrustTunnel client 1.3.0 (was 1.0.49), so the e2e and the CI interop job exercise the client release that ships in moav-client v1.5.0 against endpoint 1.3.1 over HTTP/2 and HTTP/3. The test image now runs trusttunnel_client --version at build time, so a broken asset no longer passes as installed. TRUSTTUNNEL_CLIENT_VERSION in .env only affects the test client image: moav build client picks it up.
  • Floating images pinned. Every default runtime image in docker-compose.yml is now an explicit tag plus a multi-arch digest (image:tag@sha256:...) instead of :latest / nginx:alpine. Each digest is the one :latest pointed at on 2026-11-23, so nothing changes at runtime, apart from cAdvisor below. Overriding through IMAGE_* in .env works as before.
    • certbot v5.10.0, nginx 1.31.9-alpine (decoy + grafana-proxy), Prometheus v3.16.0, Grafana 13.3.1, node_exporter v1.13.1, curl 8.23.0 (both GeoIP updaters).
    • cAdvisor moves to ghcr.io/google/cadvisor:v0.61.1. The old gcr.io/cadvisor/cadvisor:latest stopped at v0.55.1 and upstream only publishes to ghcr.io now. This also matches CADVISOR_VERSION for moav build --local.
    • The one-shot docker run ... alpine helpers in lib/ and scripts/ (state reads, migrate export/import, doctor checks) use alpine:3.24, the same base as the built images, instead of an implicit alpine:latest. The two probes that run under a short deadline (bootstrap state detection, the user add volume sync) pull the image first, so a first-time pull can't time out and make bootstrap misread an existing install as fresh.
    • anthropics/claude-code-action is SHA-pinned like every other action.
    • moav uninstall --remove-images removes external images by ID, because digest-pinned pulls are listed as repo:<none>. The match list now also covers the ghcr.io cAdvisor image, the pinned nginx tag and curl.
  • Renovate (.github/renovate.json) watches the component versions (.env.example, the compose build-arg defaults and the Dockerfile ARG defaults move together in one PR), the Docker base and runtime images, and the GitHub Actions SHA pins. Updates arrive as a few grouped PRs against dev (protocol components, monitoring stack, runtime images, base images, actions, a monthly digest refresh). Majors always get their own PR. Weekly schedule, at most 4 open at a time, no automerge, no Dependency Dashboard issue.
  • amneziawg-go v3.1.20260828 -> v3.1.20261116: hardening of the AWG 3.1 obfuscation parameters (Jmin > Jmax rejected instead of underflowing the junk packet size, negative lengths in <r>/<rc>/<rd>/<dz> tags rejected, I1-I5 and S4 safe to change at runtime, a timer race fixed). Same wire format; existing client configs keep working.
  • MasterDNS v2026.06.13 -> v2026.11.18: NXDOMAIN for non-tunnel DNS queries, fallback handling for non-DNS UDP, a server data-race fix on duplicate SESSION_INIT, and golang.org/x/crypto 0.49.0 -> 0.52.0. Release SHA256SUMS still verified at build. Clients on v2026.06.13 keep working against the new server.
  • Routine component bumps from the 2026-11 dependency audit:
    • telemt 3.5.14 -> 3.5.17: stalled ME relay fix, buffered relay writes flushed when the source stalls, SOCKS BND family validation, IPv4 metrics allowlists on dual-stack listeners. The 3.5.17 management-API rework leaves every endpoint the MoaV exporter reads unchanged.
    • Prometheus 3.15.1 -> 3.16.0, node_exporter 1.12.1 -> 1.13.1, cAdvisor 0.60.6 -> 0.61.1 (moav build --local pins; default installs pull the upstream images).
  • Base images off end-of-life releases. No component version changes; rebuild to pick it up (moav build && moav start).
    • Alpine 3.21 -> 3.24 as the runtime base of 13 images (amneziawg, cadvisor, dns-router, dnstt, gooserelay, grafana, nginx, node-exporter, prometheus, snowflake, telemt, wireguard, xray). Alpine 3.21 stopped receiving fixes on 2026-11-01, which froze every apk add package in those images (openssl, busybox, iptables, wireguard-tools, nginx). 3.24 is supported until 2028-06.
    • Go builders -> 1.27 for dns-router, gooserelay and the client's dnstt stage (were 1.22, EOL since 2025-02), dnstt (1.24) and amneziawg (1.25), plus the CI go test job. dns-router/go.mod stays at go 1.22 on purpose: that line is the language baseline, and keeping it preserves the Go 1.22 runtime defaults in the binary.
    • The moav test client image (Dockerfile.client) moves to Alpine 3.24 too, and drops the sgerrand alpine-pkg-glibc 2.35 shim. sing-box was the only binary that needed it: the image now downloads the upstream sing-box-<ver>-linux-<arch>-musl asset (same version and build tags, with_musl instead of with_purego), which runs natively on musl. Xray, wstunnel, dnstt and trusttunnel_client are static, awg-tools is a musl build, and slipstream keeps its own bundled glibc loader, so nothing else changes. The shim was x86_64-only and was the reason the image could not move to 3.24 on arm64; it was also installed with --allow-untrusted. The client's connectivity probes (moav test, moav client, the image HEALTHCHECK) now pass curl -4: curl 8.23 on 3.24 sends the SOCKS proxy an IPv6 address for --socks5 URLs where 8.14 sent IPv4, and a server without IPv6 egress then failed every protocol test.
  • docker-socket-proxy v0.5.0 -> 3.4@sha256:027f9fa5... (upstream v0.6.0). Upstream retired the :vX.Y.Z tags, so v0.5.0 is never rebuilt and its HAProxy and Alpine layers have aged since July. The 3.4 tag is rebuilt weekly; it is pinned by digest so the container that fronts the Docker socket stays reproducible. Same filter config and entrypoint, HAProxy 3.4.2 -> 3.4.7. Picked up on the next moav start (the image is pulled).
  • CI actions moved to current majors, pinned by commit SHA: actions/checkout v4 -> v7.0.1, actions/setup-go v5 -> v7.1.0, actions/upload-artifact v4 -> v7.0.2. These run on Node 24, so a self-hosted e2e runner must be at Actions Runner 2.327.1 or newer.
  • TrustTunnel endpoint 1.1.0 -> 1.3.1: Content-Length: 0 on HTTP/1.1, HTTP/2 and HTTP/3 error responses, plus the optional subscription URL and key-derived client_random auth (neither is enabled by MoaV). Same wire protocol: the pinned test client (1.0.49) and upstream's matching client 1.3.0 both connect over HTTP/2 and HTTP/3. The release tarball no longer ships a separate setup_wizard binary, which the image build expected, so Dockerfile.trusttunnel stops naming it. No config changes; rebuild to pick it up (moav build && moav start).
  • moav test checks TrustTunnel over HTTP/2 and HTTP/3 separately. Each transport gets its own pass with the other one firewalled off, because the client quietly switches transport when its preferred one is down. A single run used to prove only whichever came up first.
  • Shell lint now blocks at warning level. CI ran shellcheck --severity=error only, so warnings never failed a PR. scripts/lint-shell.sh fails on any warning that is not in tests/shellcheck-baseline.txt (the 386 that predate the gate), on a pinned shellcheck 0.11.0. The parse check also covers the #!/bin/sh entrypoints it used to skip.

Fixed

  • moav doctor no longer suggests docker system prune -a --volumes on a nearly full disk; --volumes deletes the Grafana and Prometheus data and the user bundles. It now points to docker image prune -f (dangling images only) and journalctl --vacuum-size=200M.
  • TrustTunnel no longer crash-loops after moav user add from a non-root operator. When the CLI user could not write a config dir, user add reset it to 2770, which took away the traverse bit that TrustTunnel's endpoint (uid 999, outside the admin group) needs. Its next restart, which user add itself triggers, panicked on credentials.toml: Permission denied and the endpoint stayed down until the next moav start. configs/sing-box, xray, trusttunnel and telemt now get 2775, matching bootstrap, the admin container and moav start. Present since v2.0.0. Found in the v2.5.0 release e2e.
  • moav build --help prints the build usage instead of building. --help and -h were taken as service names, so the command ran a full docker compose build and reported "Build complete!". Both now print the services, profiles and options and exit 0 without building.
  • moav user add from a non-root operator outside group 2000 now stops before changing anything, and says how to fix it. MoaV's server configs are root:2000 (the admin group) with group write and no world write. An operator account outside that group got through sing-box and then failed on configs/trusttunnel/credentials.toml: Permission denied, leaving a half-added user. user add now checks every config it will write first and, if any is out of reach, names them and prints the fix: run it as root, or add the account to group 2000 once (sudo usermod -aG) and log in again. No permissions were widened.
  • WireGuard and AmneziaWG no longer restart-loop on dual-stack servers. When the server has a public IPv6, bootstrap writes a dual-stack server Address (10.67.67.1/24, fd00:cafe:dead::1/64). Both entrypoints handed the whole string to ip addr add, which rejects it ("any valid prefix is expected"), so the container exited and restart-looped. Each prefix is now added on its own. A failed IPv4 add is still fatal; a failed IPv6 add only warns, so a container with IPv6 disabled still brings the tunnel up on IPv4. Seen on a live AmneziaWG server on v2.3.0. Covered by tests/entrypoint-strict-test.sh.
  • AmneziaWG keeps its key and peers when the interface is recreated. The entrypoint's monitor loop recreates awg0 when the interface disappears, but that path still used a variable that was removed when startup moved to awg setconf. The recreated interface came back with no private key, no obfuscation params and no peers: up, but dead. The loop now re-applies the same config that startup loads.
  • moav start no longer launches disabled DNS-tunnel containers. The dnstunnel profile groups dnstt, MasterDNS and Slipstream, so starting it started all three regardless of their ENABLE_* flags. On a fresh install Slipstream (off by default and unrouted) had no certificate, exited, and restart-looped under restart: unless-stopped. moav start, start all, the first-run start after bootstrap, the interactive menu and moav switch-dns now leave out slipstream unless ENABLE_SLIPSTREAM=true, and dnstt / masterdns when their flag is off. An upgraded install's leftover Slipstream container is removed on the next start. --force and the "start once" prompt answer still start everything asked for.
  • e2e: the MasterDNS check runs again. moav test looked for masterdns-instructions.txt, which bundles stopped shipping, so MasterDNS was always skip. It now reads masterdns-client_config.toml, validates the domain, key and method, and checks the tunnel domain's NS delegation in public DNS (pass, or warn when it is missing). It still carries no traffic (no standalone client). The GooseRelay check had the same stale filename and now reads gooserelay-client_config.json.
  • WireGuard/AmneziaWG now say "permission denied" when they cannot read their config, instead of "Config file not found ... run bootstrap first". These containers run without DAC capabilities, so a configs/wireguard or configs/amneziawg dir not owned by root makes the config unreadable, and re-running bootstrap was the wrong fix. The message now points at moav start, which repairs ownership.
  • e2e: WireGuard and AmneziaWG no longer crash-loop mid-run. The workflow chowned configs/ to the runner user after start, so every later WG/AWG restart (regenerate-users, user add) failed and looped until teardown, unnoticed. The runner now gets access through an ACL and those two dirs stay owned by root. The health check also runs after the connectivity tests and fails the job if any service crashed mid-run.
  • moav bootstrap could silently generate no configs on an existing install. Its "already bootstrapped?" check piped docker volume ls into grep -q; under pipefail the early exit could SIGPIPE docker and read as "fresh install", so the stale .bootstrapped flag was never cleared and the bootstrap container exited early ("Already bootstrapped") while the CLI reported success. A separate cause from the image-pull timeout fixed in 525e284. The same pattern in moav update's tor-geoip check is fixed too.
  • moav restart now applies .env changes. It ran docker compose restart, which keeps a container's old environment and image, so an edited .env value (for example EGRESS_ISOLATION, a port, a log level) silently did not apply, although the docs said it would. moav restart now runs docker compose up -d --no-deps on the services that already have a container, which recreates exactly the ones whose config or image changed, and then restarts the rest as before. It still never brings up a service that was not there; moav start is unchanged.
  • moav regenerate-users silently rotated the AmneziaWG server key and obfuscation params. Its provisioning run never set STATE_DIR, so generate_amneziawg_config looked for /keys/awg-server.key, found nothing, and wrote a throwaway key plus fresh H1-H4/S1-S4 into awg0.conf. Existing AWG clients stopped connecting after the restart, and the next moav update or bootstrap put the real key back, breaking the regenerated bundles instead. The run now uses /state, as bootstrap does.
  • moav update now tracks the AmneziaWG pins. AMNEZIAWG_GO_VERSION and AWGTOOLS_VERSION were missing from the component-version check, so an existing .env never picked up a new amneziawg-go build.
  • Dashboard page on Starlette 1.x. The refresh crosses the Starlette 1.0 line, which removed the legacy TemplateResponse(name, context) signature; GET / would have answered 500 while /api/health stayed green. The call now passes the request first, and tests/admin-dashboard-render-test.py renders the dashboard against the pinned dependencies in CI.
  • Silent TLS-certificate expiry (the yorkschool outage: an expired Let's Encrypt cert took every TLS protocol, and the MahsaNet-donated configs with it, down). Three gaps, three layers:
    • scripts/cert-renew.sh could not tell "not due yet" from "renewal failed": it compared the cert's mtime before/after certbot renew --quiet and exited 0 either way, so the daily timer never recorded a failure. It now captures certbot's exit code, reads the live cert's expiry through the certbot container, and exits non-zero (the systemd timer / cron job records a FAILURE) when certbot fails, when the cert is unreadable, or when it is still within CERT_RENEW_WARN_DAYS (default 21) of expiry after the attempt. One outcome per run: RENEWED, HEALTHY, FAILED, NEAR-EXPIRY, UNKNOWN. The renewed-then-restart-consumers path is unchanged.
    • Nothing checked expiry. New moav doctor cert (also part of the full moav doctor run): days left (OK above 21, warn 7 to 21, fail under 7 or expired) plus whether the daily renewal is really scheduled for this checkout. moav start and moav cert status print the same one-liner.
    • Upgraded boxes could carry a renewal unit that was disabled or pointed at a previous install directory, and moav start took the unit file's existence as "installed". It now reinstalls the timer whenever it is missing, inactive, or points elsewhere (idempotent; nothing changes when it is healthy).
    • Regression tests: tests/cert-renew-test.sh (fake certbot: every outcome and exit code) and tests/cert-test.sh (reinstall on stale/inactive unit, start line, metric). The e2e run asserts doctor, the scraped metric, the loaded rules and a real moav cert renew.
  • Prometheus crash-looped on every e2e run, unnoticed. conduit_lifetime.rules.yml is gitignored and copied from its template at monitoring start; when the copy failed (root-owned configs/monitoring/ after a container wrote it) nothing said so, Docker then created a root-owned directory in the file's place, and Prometheus exited 2 on "is a directory" forever. The e2e "every service is RUNNING" check never caught it because docker ps --format has no .ExitCode field: the template errored, the loop inspected zero containers and passed. ensure_conduit_lifetime_rules (lib/service.sh) now replaces a directory stand-in, retries the copy as root, and reports failure loudly; the e2e step parses the exit code from .Status and fails if it inspected no containers. The cert textfile directory is also forced to 755 so node-exporter (nobody) can read it regardless of umask. Regression test: tests/conduit-rules-materialize-test.sh.
  • Slipstream client guide used flags the Rust client does not have. The bundle guide (EN + FA) and the slipstream-client.conf comment told users to run --dns-server / --socks-listen; the real flags are --resolver and --tcp-listen-host / --tcp-listen-port (as scripts/client-connect.sh already used). The guide also claimed binaries "for your OS"; the upstream build ships Linux amd64/arm64 only.
  • MasterDNS-only and XDNS-only servers now start the DNS tunnel. lib/service.sh decided whether to start the dnstunnel profile (dns-router + backends) from ENABLE_DNSTT || ENABLE_SLIPSTREAM alone, so with dnstt off the "all" profile pick, moav status and moav profiles left out dns-router and nothing answered on port 53. Every decision site now uses one helper that checks dnstt, MasterDNS and XDNS, the same three flags dns-router routes. Slipstream no longer counts: a Slipstream-only .env skips the profile instead of starting a router with no routes, which exited and restart-looped. Covered by tests/dns-tunnel-startup-test.sh.
  • moav test no longer passes TrustTunnel when the client was refused. Any early client exit (a rejected login, an unreachable endpoint) was read as "no TUN device here" and reported as a pass on plain port reachability. The check matched the word tun, which is in the client's name on every log line. It now matches the client's actual TUN error.

Deprecated

  • Slipstream (phase 1 of removal). Upstream slipstream-rust is archived and points users to MasterDNS; MasterDNS and dnstt already cover the DNS-tunnel use case.
    • ENABLE_SLIPSTREAM now defaults to false (.env.example, compose and script fallbacks). An explicit value already in your .env is left alone, and moav update still pins the running state for sparse .env files.
    • dns-router no longer routes the Slipstream subdomain (s.). A leftover ENABLE_SLIPSTREAM=true is ignored with a warning (router, moav doctor, moav switch-dns), so existing Slipstream clients stop connecting after this update. A commented placeholder in buildRoutes() marks where a future DNS-tunnel backend can plug in.
    • data/protocols.json keeps the entry as a tombstone (status: "removed", removed_on: "2026-11-23", migration note). The service, image and code are removed in a later release.
    • Migrate: keep ENABLE_MASTERDNS=true and/or ENABLE_DNSTT=true with their NS records (moav doctor dns), run moav switch-dns dnstt+masterdns+xdns (or set ENABLE_SLIPSTREAM=false), then moav regenerate-users and hand out the new bundles.

Known limitations

  • AmneziaWG in the test client does not run on ARM64. moav test and moav client install awg from the upstream amneziawg-tools release zip (alpine-3.19-amneziawg-tools.zip), which contains an x86_64 binary only, so on ARM64 hosts the AmneziaWG check fails while the other protocols test normally. The AmneziaWG server builds awg from source and is not affected, and neither is the moav-client AmneziaWG sidecar. Revisit when an arm64 awg build is available: amneziawg-tools releases.

Documentation

  • Security policy (SECURITY.md): supported versions, private reporting through GitHub Private Vulnerability Reporting with an email fallback, response targets, scope, safe harbor and reporter credit. Linked from the README and the issue chooser.
  • Fixed the XDNS anchor in the protocol docs links (xdns-vlesmkcpdns -> xdns-vlessmkcpdns).

Full Changelog: v2.4.0...v2.5.0


Quick Install

curl -fsSL https://moav.sh/install.sh | bash

This will install MoaV to /opt/moav and guide you through setup.

Documentation

moav.sh/docs — full documentation

Get started

Reference

Understand it

Help out

Running it with an AI agent? llms.txt is a compact
orientation for coding agents; llms-full.txt is the
whole corpus. Both ship as release assets.

Community

Telegram · X · Issues · moav.sh

Don't miss a new MoaV release

NewReleases is sending notifications on new releases.