Skip to content

RyanDPI v3.1.2 — Unbound (Full Reliability & Stability Hardening)

Choose a tag to compare

@CallMeRyanYT CallMeRyanYT released this 26 Nov 22:36
· 15 commits to main since this release

RyanDPI v3.1.2 — Unbound (Full Reliability & Stability Hardening)

Comprehensive end-to-end audit and hardening release fixing 14 real edge cases across Windows and Android (including all v3.1.1 non-English Windows Error 1073 fixes and all v3.1.0 Always-On & low-resource optimizations).


What's Hardened & Fixed in v3.1.2

Windows Fixes

  • Locale-Free Native Win32 SCM APIs (advapi32.dll): Completely eliminates Error 1073 (O serviço especificado já existe) on Portuguese, Turkish, Russian, Arabic, Chinese, and all non-English Windows installations.
  • Fixed usque register Pipe Deadlock (WindowsServiceHost.cs): Removed unread stdout/stderr redirection during headless WARP MASQUE registration.
  • Corrupt / 0-Byte WARP Config Recovery: Validates usque config.json before launch (size + JSON keys), automatically deleting and re-registering (with retry) if a network drop left a truncated file.
  • Safe DNS Restoration When Switching Regions (Turkey/Global -> Brazil): Switching from Encrypted DNS (127.0.0.1) to KeepSystemDns cleanly restores automatic DHCP DNS instead of leaving adapters pointing at a stopped DNS proxy.
  • Exact-Path Service Host Exclusion & Uninstall Cleanup: Excludes engine\usque\RyanDPI.exe in ProxiFyre, validates Custom SOCKS5 endpoints before installation, fast-fails Brazil Exit Check when stopped, quotes adapter names with spaces (Conexão Local) in Inno Setup uninstall, kills lingering processes before deleting {app}\engine, and removes RyanDPI Geo Engine firewall rules on uninstall.
  • Wi-Fi Handoff Timing: Increased network-watch.ps1 restart settle delay to 1200 ms so Brazil WARP MASQUE rebinds cleanly after network switches.

Android Fixes

  • Fixed Heavy-Load Connection Freeze (RyanDpiSocksGateway.kt): Raised on-demand ioExecutor ceiling from 96 to 512 (still 0 idle threads when resting!) and replaced CallerRunsPolicy with guarded AbortPolicy so acceptThread can never stall when browsers/Discord hold 50+ simultaneous sockets.
  • Fixed Permanent Always-On Infinite Revive Loop (RyanDpiVpnService.kt): Fatal config/binary/permission errors now clear userWantsConnected before stopping, and automatic revives are rate-limited (max 3 in 60s) to protect battery life.
  • Race-Free Screen-Off Battery Saver: Replaced CompletableDeferred wake signal with atomic MutableStateFlow<Boolean> (first { it }) so repeated screen-off events can never miss a wake signal.
  • Instant 0 ms Wi-Fi ↔ 5G DNS Recovery (DohDnsResolver.kt): Automatically evicts stale HTTP/2 DoH connections on network switch.
  • Corrupt usque-config.json Auto-Recovery (UsqueProcessManager.kt): Validates and re-registers truncated/0-byte WARP configs with automatic retry.
  • Brazil Custom SOCKS5 Auth in Self-Test (SelfTestEngine.kt): Passes configured SOCKS5 username/password during Android Self-Test, uses GET for JSON/trace endpoints (HTTP 200), fast-fails Exit Check when disconnected, and reports BuildConfig.VERSION_NAME.

Downloads

  • Windows Installer: RyanDPI-Setup-Windows-3.1.2.exe
  • Windows Portable: RyanDPI-Portable-Windows-3.1.2.zip
  • Android APK (Android 10–16, No Root, Universal 4-ABI): RyanDPI-Android-3.1.2.apk