Skip to content

rVPN v1.2.4

Choose a tag to compare

@creativebastard creativebastard released this 21 Jun 23:38
· 31 commits to main since this release

rVPN v1.2.4

Major stability release fixing iOS TUN disconnects and Android crash on connect.

iOS — TUN stability fix

Resolved a critical issue where the VPN connection dropped after 3–6 minutes during video streaming on cellular. Two root causes identified and fixed:

  1. Server ratchet lock contention: The server's TUN response task held both the ratchet and WebSocket write locks during sends. Under TCP backpressure, this froze the download path while upload continued. Fixed by releasing the ratchet lock before the WebSocket send.

  2. iOS jetsam memory kill: The system allocator fragmented under high packet throughput (~3000 allocs/sec), causing RSS to grow past the 50 MB NetworkExtension limit. iOS killed the extension process. Fixed by switching to mimalloc global allocator with aggressive page return.

Result: iOS TUN mode improved from ~3 minute disconnect (jetsam kill) to 10+ minutes stable with self-healing reconnects.

Android — Linker crash fix

Fixed UnsatisfiedLinkError: dlopen failed: cannot locate symbol "X509_free". The Android NDK linker could not resolve 157+ BoringSSL static library symbols. Replaced BoringSSL with rustls across all Android code paths.

Server — Download stall fix

The tun_response_task no longer holds the ratchet lock during WebSocket sends. SOCKS mode was unaffected (uses ws_sender which already had the correct lock pattern).

What's included

  • rvpn — CLI client (SOCKS5 proxy and TUN mode)
  • rvpn-server — Server binary (relay, NAT, reverse proxy)
  • SHA256SUMS.txt — Checksums for all binaries

Platforms

Platform Client Server
macOS (Apple Silicon) rvpn-macos-arm64 rvpn-server-macos-arm64
macOS (Intel) rvpn-macos-x86_64 rvpn-server-macos-x86_64
macOS (Universal) rvpn-macos-universal rvpn-server-macos-universal
Linux x86_64 (glibc) rvpn-x86_64-linux-gnu rvpn-server-x86_64-linux-gnu
Linux ARM64 (glibc) rvpn-aarch64-linux-gnu rvpn-server-aarch64-linux-gnu
Linux ARMv7 (glibc) rvpn-armv7-linux rvpn-server-armv7-linux
Linux RISC-V 64 rvpn-riscv64gc-linux-gnu rvpn-server-riscv64gc-linux-gnu
Linux x86_64 (musl/static) rvpn-x86_64-linux-static rvpn-server-x86_64-linux-static
Linux ARM64 (musl/static) rvpn-aarch64-linux-static rvpn-server-aarch64-linux-static
FreeBSD x86_64 rvpn-x86_64-freebsd rvpn-server-x86_64-freebsd
Windows x86_64 rvpn-x86_64-pc-windows.exe -
Android rvpn-android.apk -

Native apps

The macOS, iOS, and Android native apps are available on their respective app stores:

Documentation

Verification

Verify downloaded binaries against SHA256SUMS.txt:

sha256sum -c SHA256SUMS.txt

macOS binaries are signed and notarized by PDG Global Limited.


Previous release: rVPN v1.2.3