Commit Graph
19 Commits
Author SHA1 Message Date
Moroka8 03f9d424c5 fix: resolve golangci-lint warnings
Обновлен .golangci.yml
В ci.yml установлены версии Go 'stable' и golangci-lint 'latest'
2026-04-04 16:44:53 +07:00
Moroka8 7abbd4986f fix: resolve golangci-lint warnings
Добавлена проверка ошибки listener.SetDeadline в tcputil.
Удален вызов устаревшего метода SetStreamMode в KCP.
Добавлено явное игнорирование возвращаемых значений SetDeadline и io.Copy .
2026-04-04 15:56:21 +07:00
Moroka8 4a0b038bdc feat: optimize VK TURN credential retrieval and reuse session identity
Добавлено кэширование success_token для капчи.
Установлен размер пула 1 для использования одной учетной записи во всех потоках.

Дополнительно устранил warnings от golangcli-lint:
Удален rand.Seed
Реализована проверка ошибки в endSession
Реализована обработка Body.Close()
2026-04-04 15:37:04 +07:00
Moroka8 41e7cb1632 Merge branch 'feat/tcp-vless-mode' 2026-04-04 13:56:37 +07:00
alexmac6574andzcb22 6305087c7c feat: Add randomize for name and user-agent
Co-Authored-By: zcb22 <263202030+zcb22@users.noreply.github.com>
2026-04-03 22:49:39 +03:00
alexmac6574andkiper292 37656256ba fix: Implement automatic Proof-of-Work (PoW) captcha solver
Co-Authored-By: kiper292 <152370987+kiper292@users.noreply.github.com>
2026-04-03 22:49:39 +03:00
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