Two bugs causing "Connecting..." hang:
1. tunnel.go: streamReadLoop was deferred until CONNECT_OK arrived,
but client already sends TLS ClientHello before that. Data was
lost → DC never responded → timeout. Fix: start readLoop
immediately after sending CONNECT frame.
2. worker.js: connect() was called but socket.opened was not awaited
before sending CONNECT_OK. Fix: await socket.opened, and fix
Uint8Array buffer slicing for DATA relay.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Fixed listener.go: removed SYS_GETSOCKOPT syscall (not available on
MIPS/PPC) — reverted to portable GetsockoptIPv6Mreq approach with
correct IPv6 address reconstruction from available 20 bytes.
Rebuilt binaries: arm64, amd64, arm, mips, mipsel, mips64el, ppc64,
riscv64, x86 — all now include --tunnel mode.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
9 бинарников в mtproxy-client/builds/ для скачивания через CDN.
jsdelivr и raw.githubusercontent не блокируются в РФ.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>