Repository navigation
dvpnd 9.3.0
A node keeps no client addresses or session passwords in its records,
refuses handshakes that would expose them, and runs sandboxed.
- Logs: at the default level no client IP addresses, and peer keys (for
V2Ray, XRAY, Hysteria2 and OpenVPN the UUID a client's session logs in
with) only as a short tag. The OpenVPN, XRAY and Hysteria2 daemons log
errors only; run the node with --log_level debug to get both back
while chasing a fault. The GeoIP token no longer appears in the
startup log. - Database: data.db overwrites deleted sessions and is compacted at
every start. - Handshakes: HTTPS only (403, code 11, over plain HTTP; the status
pages answer either way) and at most 30 a minute from one address or
IPv6 /64 (429, code 12). The web server now drops silent and slow
connections and caps request bodies at 64 KiB. - Handshake DNS (hnsd): listens on the node's tunnel address only
instead of every address, is off by default, and is restarted after a
pause instead of in a loop. With ufw, allow port 53 on the tunnel
interface. - systemd: the unit sandboxes the node (system read-only except its home
and the tunnel configuration folders, private /tmp, no privilege
gain). Host installs: copy the new scripts/dvpnd.service and run
systemctl daemon-reload. A node home other than /root/.dvpnd goes in
both ExecStart and ReadWritePaths; the installer does this.
Tested end to end on a live node, under the sandbox, with paid sessions
over Hysteria2, XRAY (TLS and REALITY), V2Ray, WireGuard and both
AmneziaWG tiers. The e2e driver can now test any node (-node) and
AmneziaWG clients (-awg-version).
The node API level stays 9: clients that use the advertised https
address need no change.