ZaStoGram_desktop/Telegram/SourceFiles/zsg_naive
Repository files (latest commit first)
Filename Latest commit message Latest commit date
loop-uh e73c8ea695 WSS: zone as the TLS server name for Cloudflare fronts, plain ws:// step, refreshed front list
The fronts of tg-ws-proxy all put kwsN.<zone> into the clear-text SNI, one
pattern a network can match to cut every front at once. The zone is now the
TLS server name and kwsN.<zone> travels only in the encrypted Host header
(Cloudflare answers 101 for all 20 fronts x DC2/DC4 this way).

- A plain ws:// step (port 80, no TLS, no SNI) follows the TLS fronts in the
  route chain, with its own health record (cdn-plain-kwsN, never persisted).
- The front list is a catalog: the baked list is the floor, tdata/wss_fronts.txt
  (downloaded at most daily from the tg-ws-proxy list or its jsDelivr mirror,
  validated as a whole) replaces it, and a front that is not baked is dialled
  by name.
- WsConfig mirrors the core's appended fields sni and plain; needs a zsgnaive.dll
  built from naive-core 1f9bbfd or later (an older one ignores both).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 13:08:42 -05:00
..
zsg_naive_api.cpp Naive: zsgnaive.dll встраивается в Telegram.exe ресурсом и распаковывается в tdata/zsg/ 2026-11-27 07:10:20 -05:00
zsg_naive_api.h WSS: zone as the TLS server name for Cloudflare fronts, plain ws:// step, refreshed front list 2026-11-27 13:08:42 -05:00
zsg_naive_links.cpp Naive: ссылки naive+https://user:pass@host:port#имя кликабельны и добавляют прокси 2026-11-27 07:00:09 -05:00
zsg_naive_links.h Naive: ссылки naive+https://user:pass@host:port#имя кликабельны и добавляют прокси 2026-11-27 07:00:09 -05:00
zsg_naive_socket.cpp Naive: the normal log records connect, state changes, failures and timeouts (it used to be debug-only) 2026-11-27 12:29:27 -05:00
zsg_naive_socket.h Naive: the normal log records connect, state changes, failures and timeouts (it used to be debug-only) 2026-11-27 12:29:27 -05:00