zapret-kvn/xray_fluent/application
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 Prepare v0.4.78: server list rework, faster switching, subscriptions 2026-08-11 22:10:53 +03:00
async_steps.py Exit: no false «не удалось запустить» after an update 2026-11-19 16:05:17 -05:00
auto_switch_service.py Пинг и тест скорости: быстрее, без подвисаний и заметно тише на линии 2026-10-01 23:56:34 +03:00
config.py фикс открытого прокси 2026-04-07 20:49:48 +03:00
config_documents.py Prepare v0.4.78: server list rework, faster switching, subscriptions 2026-08-11 22:10:53 +03:00
config_profiles.py Update config_profiles.py 2026-04-07 21:11:24 +03:00
connection_service.py client reports: app errors not about a server (vpnbot app_error live) 2026-11-20 05:26:26 -05:00
controller.py WG/AWG: race the first handshake over IPv6 and IPv4 2026-11-22 13:13:05 -05:00
masking_runtime.py Masking: packet tricks on Windows (sing-box front, WinDivert spoof) 2026-11-16 09:10:14 -05:00
masking_tune_service.py Masking: «Подобрать» runner (trial per candidate, freeze verdict, keep the winner) 2026-11-16 09:10:05 -05:00
node_runtime_service.py Zapret VPN service subscriptions: no address reveal, no GeoIP country 2026-11-16 12:10:22 -05:00
node_service.py Транзакция выбора сервера и единый итог перехода (архитектура вместо заплатки) 2026-10-31 10:42:12 -04:00
nodes.py Смена сервера всегда называет источник: [select] в логе, «Следующий» без фокуса 2026-09-28 21:35:12 +03:00
outbound_pool_service.py Xray: если управляющий порт ядра не отвечает, сайдкар запускается с пулом из одного выбранного сервера 2026-11-04 11:41:25 -05:00
port_allocator.py sing-box extended 2026-07-11 21:01:15 +03:00
profile_service.py Маршрутизация: структурный редактор sing-box по схеме ядра 2026-09-26 20:30:17 +03:00
protocol_core.py Xray owns VMess and Trojan: sidecar path, XHTTP, TLS and masking follow 2026-11-16 09:44:27 -05:00
rotation_service.py feat: use official Amnezia transport and organize runtime modules 2026-09-06 00:14:08 +03:00
route_check.py Простое правило: регистр программ, слово без точки, защитные правила, «Применить» 2026-09-27 13:14:18 +03:00
runtime.py Тест скорости узла проверяет и известные сервисы: пауза и медленный ответ видны в карточке сервера 2026-10-20 12:48:35 -04:00
runtime_introspection.py wireguard 2026-07-11 23:17:09 +03:00
runtime_security.py feat: use official Amnezia transport and organize runtime modules 2026-09-06 00:14:08 +03:00
runtime_services.py Service slots on Windows: launch, own native-core helpers, hot moves, YouTube rescue and the main-page card 2026-11-16 09:03:00 -05:00
selection_source.py Серверы: счёт ответивших при пинге, кнопка «К самому быстрому», время замера 2026-11-04 09:30:12 -05:00
server_bypass.py Masking: packet tricks on Windows (sing-box front, WinDivert spoof) 2026-11-16 09:10:14 -05:00
server_selection.py Транзакция выбора сервера и единый итог перехода (архитектура вместо заплатки) 2026-10-31 10:42:12 -04:00
session_state.py feat: use official Amnezia transport and organize runtime modules 2026-09-06 00:14:08 +03:00
signature_service.py Masking: «Подобрать» runner (trial per candidate, freeze verdict, keep the winner) 2026-11-16 09:10:05 -05:00
singbox_config_recovery.py Automatically recover wrapped sing-box configs 2026-07-25 18:34:27 +03:00
singbox_editor_check.py Маршрутизация: структурный редактор sing-box по схеме ядра 2026-09-26 20:30:17 +03:00
slot_runtime_service.py Diagnostics: a big server list no longer floods the log 2026-11-17 08:56:36 -05:00
smart_switch_service.py Switch server when a YouTube cache cluster answers with silent connections 2026-11-13 16:13:42 -05:00
startup_notices.py DNS: доверенный адрес сервера для гибридного режима и WG/AWG, диагностика подмены 2026-10-09 01:56:33 +03:00
startup_service.py client reports: app errors not about a server (vpnbot app_error live) 2026-11-20 05:26:26 -05:00
subscription_service.py Client reports: relay lines carry via, fresh network value 2026-11-19 14:48:15 -05:00
template_sync.py Template sync: do not take stock DNS whose rule sets the user's route lacks; repair configs broken by 0.8.67 2026-11-09 11:47:22 -05:00
transition_engine.py fix: unify transport transitions and restore direct Russian services 2026-09-06 01:10:35 +03:00
transition_outcome.py Уведомления: один модуль, пауза под мышью; понятные DNS-предупреждения 2026-10-31 11:52:39 -04:00
update_service.py Hysteria: рабочий сервер не заменяется из-за случайной ошибки; подписки — гонка маршрутов 2026-10-01 19:20:34 +03:00
worker_keeper.py Hysteria: рабочий сервер не заменяется из-за случайной ошибки; подписки — гонка маршрутов 2026-10-01 19:20:34 +03:00
worker_service.py Пинг подключённого сервера через его подключение; «Подключаться при запуске» выкл. 2026-10-28 06:23:07 -04:00
xray_runtime_service.py Masking: packet tricks on Windows (sing-box front, WinDivert spoof) 2026-11-16 09:10:14 -05:00
zapret_conflict.py Разбор аварии sing-box: код выхода с причиной и подсказка про чужой Zapret в режиме TUN 2026-11-04 16:05:50 -05:00