Skip to content

Releases

rVPN v1.3.9

Choose a tag to compare

@creativebastard creativebastard released this 18 Nov 09:14
a63a4dd

Added:

  • Opt-in client-to-client traffic and internal-range egress exemptions for TUN mode, default off (allow_client_to_client, allowed_internal_ranges) (#21)
  • The installer ships in this repo at scripts/install.sh; install commands fetch it by release tag. Fail-closed manifest verification against a compiled-in release key, rollback floor RVPN_MIN_VERSION (#20)

Fixed:

  • rvpn-server rejects unknown command-line arguments; --version/--help handled before startup (#18)
  • Installer usage text drops the pipe-to-shell form and points at the release-tag origin (#20)

Security:

  • TUN uplink packets must carry the session's own assigned tunnel IP as source (spoofing fix, all versions) (#21)
  • CI supply-chain pinning: all GitHub Actions uses: pinned to full commit SHAs (#19), gitleaks image pinned by registry digest (#23)

rVPN v1.3.8

Choose a tag to compare

@creativebastard creativebastard released this 18 Nov 06:16
72b3b1a

Fixed:

  • ACME dns-persist-01: tolerate unknown and token-less challenge types from the CA instead of failing the whole order (#1, #11)

Security:

  • rustls 0.23.46 / webpki 0.103.17 / webpki-roots 1.0.12 (#9); cargo-audit gate in CI (#8, #10)

Documentation:

  • README: WireGuard comparison section and accuracy fixes (#6, #12)

rVPN v1.3.7

Choose a tag to compare

@creativebastard creativebastard released this 18 Nov 00:24
bc90aa9

Public-repo replay of private development: ratchet skipped-key fix,
X3DH identity-signature format, server hardening, mobile API surface,
1 KB block padding, and privacy-safe default logging (no client
identifiers at INFO). Metadata: AGPL-3.0-or-later, rust-version 1.88.

Fork owners: rebase — two security fixes included. See CHANGELOG.md.

rVPN v1.3.6

Choose a tag to compare

@creativebastard creativebastard released this 25 Sep 08:46

Patch release: a built-in stats dashboard for the CLI client, and a round of mobile memory and reconnect-stability fixes.

Added

  • MRTG/RRD-style stats dashboard (client). The CLI can now serve a self-contained HTML page with live graphs (throughput, connections) and a JSON endpoint at /api/stats.json from a small embedded HTTP listener. History is kept in memory for 24 hours. Enable with --dashboard-listen 127.0.0.1:9800 or [dashboard] enabled = true.
  • Dashboard access control. allow_cidrs restricts which client IPs may view the dashboard (localhost only by default), so it can be shared safely on a LAN.

Fixed

  • Memory leak at the Rust/Swift packet boundary (mobile). The tunnel write loop now wraps the entire iteration in an autoreleasepool; previously the periodic status write leaked ~600 KB/min into the default malloc zone.
  • Stack corruption in the mobile memory diagnostics. A hand-declared malloc_statistics_t was 16 bytes short of the platform struct and segfaulted the process at session end.
  • Overnight extension kills (iOS). wake/sleep no longer tear down the Rust core, and zombie keepalive tasks no longer send shutdowns into successor connections.
  • Reconnect resilience. The keepalive probes before declaring a session dead after a doze, a background assertion is held across every reconnect, and the platform health check no longer races the client's own reconnect logic.

Changed

  • Removed the dead Android JNI state-callback path.

The Android app in this release is version 1.2.11 (versionCode 15).

rVPN v1.3.5

Choose a tag to compare

@creativebastard creativebastard released this 13 Sep 14:21

Patch release: seamless mobile roaming, pooled multiplexing with TLS session resumption, and per-instance decoy login pages.

  • Server: sticky TUN IP leases keyed by client identity — Wi-Fi ↔ cellular roaming keeps the same tunnel IP; fixes 'connected but no data' after a network switch.
  • Client: pooled multiplex mode (many flows over a few long-lived WebSocket connections, credit-based flow control, strict wire ordering) + TLS 1.3 session resumption.
  • Server: non-VPN HTTPS probes now get a realistic, per-instance randomized decoy login page.
  • Mobile: multi-server Direct TUN routing (apps v1.2.9); iOS v1.2.11 fixes the reconnect storm on network handoff.
  • Fixed: ad-block list no longer blocks graph.instagram.com.

Full changelog: https://github.com/PDG-Global/rVPN-core/blob/main/CHANGELOG.md

rVPN v1.3.4

Choose a tag to compare

@creativebastard creativebastard released this 24 Aug 06:56

What's new in 1.3.4

  • Resolution that survives bad upstreams — if every configured resolver fails or times out, the client now falls back to a last-resort set (1.1.1.1, 8.8.8.8) instead of silently dropping DNS answers.
  • Flat memory, indefinitely — the CLI client now uses mimalloc as its global allocator. Long-running gateways that previously ballooned to hundreds of MB now run flat (~25 MB) over weeks.
  • Real answers for every record type — non-A/AAAA queries (TXT, MX, NS, PTR…) are now resolved locally with correct answers instead of empty NOERROR responses, and upstream failures surface as SERVFAIL instead of silent emptiness.

Mobile apps stay on v1.2.6. Full changelog: https://github.com/PDG-Global/rVPN-core/blob/main/CHANGELOG.md

rVPN v1.3.1

Choose a tag to compare

@creativebastard creativebastard released this 14 Jul 02:22

rVPN v1.3.1

Server

  • Prekey bundle auto-generation on first start
  • Virtual IP lease persistence across restarts
  • Connection timeout tuning for high-latency networks

Client

  • TOFU pin file permission fix (chmod 600 on write)
  • SOCKS5 reconnect backoff improvements
  • Connection state machine hardening

Note: iOS/macOS/Android apps remain at v1.2.6.

rVPN v1.3.0

Choose a tag to compare

@creativebastard creativebastard released this 12 Jul 08:54

rVPN v1.3.0

Server

  • Automatic TLS certificates via ACME TLS-ALPN-01 (Let's Encrypt)
  • ACME rate-limit handling with friendlier error messages
  • DNS cache eviction: fixed stale entries
  • RX decrypt path: skip Vec allocation

Client

  • Per-domain multi-server routing in SOCKS5 mode
  • TOFU identity verification with rotation ceremony support
  • Unified identity encoding: ik:1:base32 format
  • X3DH fix: use ServerHello wire keys, not stale disk bundle

Core

  • Pin encoding + rotation signature validation (TOFU v1)
  • Prekey bundle format bump for TOFU rotation ceremony

Mobile (iOS/macOS/Android)

  • iOS memory optimization: eliminated per-frame VM growth
  • iOS WebSocket keepalive + dead-connection detection
  • iOS rustls backend (reverted from BoringSSL)
  • iOS reconnect: flap-aware backoff
  • Runtime fix: hoisted Tokio Runtime out of IosTunClient
  • Android cfg guards for TLS + JNI params
  • Android DNS: DoH TLS root store + local DNS probe
  • Android VirtualIp re-establishment
  • Mobile TunConfig split + TOFU enforcement

Tests

  • Rotation ceremony + two-server flow integration tests

Note: iOS/macOS/Android apps remain at v1.2.6.

rVPN v1.2.6

Choose a tag to compare

@creativebastard creativebastard released this 07 Jul 23:26

rVPN v1.2.6

Highlights

  • 7x iOS survival improvement: 70s → 505s under sustained 5G traffic
  • 43% archive size reduction: 69.82MB → 40.22MB
  • New crate architecture: rvpn-tls + rvpn-split-tunnel extracted from rvpn-client
  • Android fixes: DNS proxy, VirtualIp re-establishment, JNI params

Memory Optimization (iOS)

  • Replaced tungstenite with MinimalWebSocket parser (pre-allocated 16KB read buffer, zero per-frame alloc)
  • Zero-copy RatchetMessageRef eliminates per-frame Vec allocation on download path
  • VecPool reuses Vec buffers on upload path
  • Direct frame encoding (no clone per packet)
  • Feature-gated builtin IPs/domains from iOS binary (-5.81MB)
  • Excluded dns feature from iOS build (-4MB)
  • mimalloc allocator for aggressive page purging
  • 48KB Tokio worker stack
  • Batched packet allocation (one Bytes per WebSocket frame)
  • Swift write loop fix (autoreleasepool + batch writePackets)

Crate Extractions

  • rvpn-tls: TLS with Chrome fingerprint mimicry (boring/rustls/native-tls backends)
  • rvpn-split-tunnel: Split tunnel routing engine + DNS cache
  • rvpn-mobile depends only on rvpn-core, rvpn-tls, rvpn-split-tunnel

Runtime Fix

  • hoisted Tokio Runtime out of IosTunClient to prevent drop-panic during network flaps
  • Runtime stored in TUN_RUNTIME static, dropped on FFI thread (safe context)

Android Fixes

  • cfg guards for flow_connector TLS (Android uses rustls, not boring)
  • DoH TLS root store + local DNS probe answer
  • JNI params fix for rvpnNetworkChanged
  • VirtualIp re-establishment on server reassignment
  • builtin-ips/domains enabled (no jetsam limit on Android)

macOS Fixes

  • IOKit power hook + health-check timer for idle recovery
  • Batch writePackets + autoreleasepool in write loop

Build

  • Version 1.2.6 across all platforms
  • Fat LTO for maximum dead code elimination
  • Removed Windows from build-release (not a supported platform)
  • R2 upload script for binary distribution
  • Public repo sync includes rvpn-tls + rvpn-split-tunnel

Breaking Changes

  • Windows builds removed (not a supported platform)

rVPN v1.2.4

Choose a tag to compare

@creativebastard creativebastard released this 21 Jun 23:38

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