Skip to content

Release 2.3.2 - #45

Merged
Dezuron merged 3 commits into
masterfrom
release/2.3.2
Nov 25, 2026
Merged

Dezuron merged 3 commits into
masterfrom
release/2.3.2

Conversation

@Dezuron

@Dezuron Dezuron commented Nov 25, 2026

Copy link
Copy Markdown
Owner

Splitline 2.3.2

VPN не остаётся выключенным, если Windows зарезервировала порт, который нужен ядру, и поднимается сам после неожиданного падения.

Что в релизе

  • fix(vpn): служебный порт Stats API берётся у ОС при каждом запуске вместо жёсткого 10085; один повтор старта при ошибке bind; автоперезапуск ядра по общей политике (2/5/15/30/60 с, до пяти попыток, ручной стоп отменяет); все неудачные старты пишутся в xray.log.
  • refactor: RestartPolicy вынесена в src-tauri/src/supervisor.rs, Telegram-прокси и VPN используют одну реализацию.
  • Версия 2.3.2 в трёх файлах, npm run check:version проходит.

Проверки

  • npm run lint, format:check, test, build — зелёные.
  • cargo fmt --check, cargo clippy --all-targets -- -D warnings, cargo test — зелёные (201 тест).
  • Независимое ревью ветки — approve.
  • Ручная проверка на машине с зарезервированными диапазонами: VPN поднимается, автоперезапуск после убийства xray.exe работает, статистика и SOCKS живы.

Тикет: releases/2.3.2/tasks/XRAY-1.md (локально, в git не попадает).

Ilya Speranskiy added 3 commits November 25, 2026 02:31
The Stats API inbound used a hardcoded port 10085. After a reboot Hyper-V,
Docker or WSL can reserve that range for themselves, the core died on bind
with WSAEACCES, and the VPN stayed off until the user noticed.

- take the Stats API port from the OS (ephemeral bind) and keep it out of
  the SOCKS/HTTP and provider inbound numbers;
- retry the start once when the core reports a bind failure;
- explain an unavailable SOCKS/HTTP port as a Windows reservation instead
  of a program the user has to close;
- restart the core after an unexpected exit with the shared backoff policy
  and give up after five attempts; a manual stop still stops it;
- log failed starts to xray.log instead of keeping them in memory only;
- move RestartPolicy to supervisor.rs so the Telegram proxy and the VPN
  share one implementation.
RUSTSEC-2026-0594 and RUSTSEC-2026-0592 were published after the last
release, so `cargo audit` turned the 2.3.2 pull request red without any
dependency change on our side. Both fixes are patch releases:

- cookie 0.18.2 -> 0.18.3
- url 2.5.8 -> 2.5.9 (with form_urlencoded 1.2.2 -> 1.2.3)
@Dezuron
Dezuron merged commit 5812c1e into master Nov 25, 2026
2 checks passed
@Dezuron
Dezuron deleted the release/2.3.2 branch November 25, 2026 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant