zapret-kvn/xray_fluent/network
Repository files (latest commit first)
Filename Latest commit message Latest commit date
loop-uh 788e05f792 WG/AWG: race the first handshake over IPv6 and IPv4
With "IPv6 к серверу первым" on, a WireGuard/AWG server with one peer
now gets both address families. The app passes the preferred family
(remembered in server_family.MEMORY, IPv6 otherwise) as the peer
address and the other one as race_address. zapret-amnezia.exe sends the
first handshake to both; the server answers one copy (the second has
the same TAI64N timestamp and is a replay for it) and the bind keeps
that family for the session. Unanswered retries alternate families, so
a family that loses only the replies cannot win every time. No added
delay and no restart.

- runtime/amnezia/family_race.go: the same race as Android core patch
  0021 (parity test), atomic fast path once decided.
- The helper reports only the family (address_family event), never the
  address; the app remembers it per server name until a network change.
- The physical uplink is found through whichever peer address is IPv4.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 13:13:05 -05:00
..
__init__.py feat: use official Amnezia transport and organize runtime modules 2026-09-06 00:14:08 +03:00
background_workers.py client reports: app errors not about a server (vpnbot app_error live) 2026-11-20 05:26:26 -05:00
bootstrap_dns.py browser-fetch: без тел запросов — путь загрузки в cronet-go падает SIGSEGV 2026-10-17 00:07:23 +03:00
browser_fetch.py browser-fetch: без тел запросов — путь загрузки в cronet-go падает SIGSEGV 2026-10-17 00:07:23 +03:00
connectivity_test.py Проверки не выдают серверы: рукопожатие Chrome, имя сервера не уходит в открытый DNS 2026-10-16 17:57:00 +03:00
country_resolver.py fix: unify transport transitions and restore direct Russian services 2026-09-06 01:10:35 +03:00
fetch_diagnosis.py Подписка: проба делает настоящий запрос к сайту, вердикт не врёт про «через VPN открывается» 2026-11-04 13:14:29 -05:00
fetch_failure.py Подписка: таймаут прямого пути не висит после подключения VPN, отказ — простыми словами 2026-11-01 13:11:52 -05:00
http_utils.py feat: use official Amnezia transport and organize runtime modules 2026-09-06 00:14:08 +03:00
latency_probe.py IPv6 first to the VPN server, with per-server family memory 2026-11-22 11:57:07 -05:00
masking_transfer.py Masking: «Подобрать» runner (trial per candidate, freeze verdict, keep the winner) 2026-11-16 09:10:05 -05:00
network_monitor.py TUN: смена физической сети снова замечается и переподключает 2026-11-04 10:03:33 -05:00
physical_route.py TUN: смена физической сети снова замечается и переподключает 2026-11-04 10:03:33 -05:00
ping_service.py Пинг подключённого сервера через его подключение; «Подключаться при запуске» выкл. 2026-10-28 06:23:07 -04:00
ping_worker.py Пинг через ядро, VPN без пресета Zapret, окно без консоли, прокси для локальной сети 2026-10-27 15:19:55 -04:00
probe_gate.py Шлюз проверок: по одному серверу с паузой, кандидат замены в бюджете 2026-10-16 18:06:17 +03:00
proxy_readiness.py Подключение и переключения быстрее: без лишних ожиданий и PowerShell 2026-10-14 22:41:18 +03:00
server_family.py WG/AWG: race the first handshake over IPv6 and IPv4 2026-11-22 13:13:05 -05:00
service_check.py Gemini в проверке сервисов: узел, который открывает сайт, но не пускает из своей страны 2026-11-04 11:04:24 -05:00
speed_test_worker.py Тест скорости узла проверяет и известные сервисы: пауза и медленный ответ видны в карточке сервера 2026-10-20 12:48:35 -04:00