Commit Graph
13 Commits
Author SHA1 Message Date
Moroka8 8acc5535f7 feat: round-robin multi-session TCP mode for increased throughput
Distribute incoming TCP connections across N parallel TURN+DTLS+KCP+smux
sessions in round-robin fashion, aggregating bandwidth of multiple relays.
Add sessionPool with thread-safe add/remove/pick operations.
Each session is maintained by its own goroutine with auto-reconnect.
The -n flag now controls session count in TCP mode (default 16 for VK).
Refactor: extract createSmuxSession from runTCPSession for reuse.
2026-04-03 14:33:18 +07:00
Moroka8 b798ec5744 feat: TCP mode for VLESS support via KCP+smux over TURN tunnel
Add -tcp flag to client and server for forwarding TCP connections
(VLESS, etc.) through the TURN tunnel instead of UDP packets (WireGuard).
Stack: TCP → smux (mux) → KCP (reliability) → DTLS (encryption) → TURN
New dependencies: xtaci/kcp-go/v5, xtaci/smux
2026-03-31 02:29:42 +07:00
Roman Vasilev e203e34546 cache resolving results and increase timeout (error 504) 2026-03-28 04:12:06 +02:00
vasilevrv b4ed191a6e Merge branch 'cacggghp:main' into main 2026-03-28 00:41:54 +02:00
Roman Vasilev 5a6cff8669 hardcode yandex resolvers (fix read 8.8.8.8:53: read: connection refused) 2026-03-28 00:35:49 +02:00
Alex a9e8cac0e5 Handle Close errors for errcheck
Check http response body, websocket, and server connection Close return values to satisfy golangci-lint errcheck.
2026-03-28 00:15:00 +03:00
Alex a3bd21d329 Fix errcheck failures for connection deadlines
Handle SetDeadline, SetReadDeadline, and SetWriteDeadline errors in client and server proxy loops to satisfy golangci-lint errcheck in CI.
2026-03-27 23:53:51 +03:00
cacggghp e7c39a919f Update vk api 2026-03-27 20:35:43 +00:00
lastforathousandyears e0bb125ba2 fix for new vk api 2026-03-27 23:23:15 +05:00
cacggghp ceee08d44e Add IPv6 support 2026-02-03 21:15:10 +00:00
cacggghp ab5d660416 Fix link parser 2026-02-03 04:47:00 +00:00
cacggghp b63eba3cb4 Add yandex mode
Add direct mode
Make separate dtls session for each connection
Refactor
2026-02-02 08:14:55 +00:00
cacggghp 6580f84357 Add files via upload 2026-01-11 04:50:03 +00:00