ZaStoGram_desktop/Telegram/SourceFiles/mtproto/proxy
Repository files (latest commit first)
Filename Latest commit message Latest commit date
loop-uh 755fe43c87 Check connection: a path test that runs the real client code and writes one log
Desktop twin of the Android module (zsg_pathtest). For every proxy of the list, the official WSS route and two
control hosts it makes 12 attempts 1.5 s apart through the real client code and writes one log,
tdata/pathtest/path-test-YYYYMMDD-HHMMSS.txt with a JSONL twin: per-attempt lines (server_hello, alert, rst, fin,
silent, connect_failed with time to first byte, DNS and TCP times), a summary table and a plain verdict per host and
profile. Same format and same ep-<8 hex> host ids as Android (golden files from the Java implementation are
reproduced byte for byte by tests/run_pathtest_core_test.sh).

The probe is not a second client: WssClientConfig and Zsg::Naive::NaiveClientConfig are now the single builders of the
zsgnaive config for both the real sockets and the probe, and FakeTLS profiles go through PrepareClientHelloRules +
PrepareClientHello, the calls TlsSocket::sendClientHello makes. Secrets are never read (random FakeTLS key, throw-away
Naive credentials, only the cover domain of a secret); every log field is a closed-vocabulary token.

UI: a section in the proxy box, an offer once in 30 minutes when the retry link appears. Guards: test_zsg_pathtest.py,
test_proxy_wss_default.py updated for the shared config builder.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 12:37:16 +00:00
..
mtproxy Merge upstream Telegram Desktop v7.4.7 2026-11-26 22:18:30 +00:00
wss Check connection: a path test that runs the real client code and writes one log 2026-11-29 12:37:16 +00:00
capabilities.cpp
capabilities.h
check.cpp
check.h
control_plane.cpp Treat the WEB proxy carrier as one shared pipe 2026-09-23 20:29:51 +03:00
control_plane.h
data.cpp WARP entry hop (opt-in, off by default): zsg_warp module, loopback SOCKS5 entry for the direct/MTProxy/Naive/WSS first hop, toggle in the proxy box 2026-11-27 13:27:56 -05:00
data.h Merge upstream dev through a1ea1ddd8c (7.2.9) 2026-09-23 16:21:17 +03:00
diagnostics.cpp Naive: тип прокси NaiveProxy и WSS на движке Chrome 158 (zsgnaive) 2026-11-27 06:59:57 -05:00
diagnostics.h Treat the WEB proxy carrier as one shared pipe 2026-09-23 20:29:51 +03:00
dial_pacer.cpp Keep WEB proxy outside MTProxy pacing 2026-08-23 00:11:36 +03:00
dial_pacer.h Keep WEB proxy outside MTProxy pacing 2026-08-23 00:11:36 +03:00
dns_resolver_cache.cpp
dns_resolver_cache.h
proxy_endpoint_context.cpp
proxy_endpoint_context.h
proxy_services.cpp
proxy_services.h
resolving_connection.cpp Гнать фронт наперегонки с релеем, пока релей не ответил 2026-10-02 21:27:00 +03:00
resolving_connection.h Гнать фронт наперегонки с релеем, пока релей не ответил 2026-10-02 21:27:00 +03:00
socket_factory.cpp Правки после слияния 7.4.7: NaiveSocket без флага файлов, очередь отложенных запросов, делегат сессии 2026-11-27 08:04:45 -05:00
socket_factory.h Гнать фронт наперегонки с релеем, пока релей не ответил 2026-10-02 21:27:00 +03:00
status.cpp
status.h
transport_policy.cpp
transport_policy.h