Files
WDTT-Plus/app
andbul0103andClaude Opus 4.8 e3b294bf69 Fix tunnel killed during connect by VPN-interface watchdog
The stats updater treated "WireGuard interface not up within 6s of the
Go client process start" as a lost/replaced VPN interface and emergency-
stopped the tunnel. But the interface only comes up after the client
finishes captcha -> VK creds -> WRAP -> TURN/DTLS -> WireGuard config,
which takes far longer than 6s (especially with manual captcha mode), so
the tunnel was killed ~7s into every connect before it could establish.

Watch for an interface that was actually up and then disappeared instead
of a fixed startup window: only emergency-stop once the tunnel has been
observed UP at least once. The connect phase of any duration is no longer
policed, while a real tun loss/replacement is still caught.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-14 19:54:15 +04:00
..
2026-06-02 21:40:31 +03:00
2026-06-02 21:40:31 +03:00