Skip to content

feat: v3.0.0 - virtual private network service focused on anonymity parity (14 features) - #8

Merged
Bulletdev merged 3 commits into
masterfrom
feat/v3-mullvad-parity
Nov 24, 2026
Merged

Bulletdev merged 3 commits into
masterfrom
feat/v3-mullvad-parity

Conversation

@Bulletdev

Copy link
Copy Markdown
Owner

Summary

  • 14 new features achieving full Mullvad VPN feature parity
  • 4 new Rust modules: lockdown.rs, obfuscation.rs, diagnostics.rs, daita.rs
  • +1444 lines across 17 files, 0 compilation errors (cargo check + tsc --noEmit)
  • Version bump: 2.3.9 -> 3.0.0

Features implemented

Core Security (Phase 10-11)

  • G1 Auto-connect on startup with default profile
  • G2 Auto-start/stop SSH tunnels linked to VPN profiles
  • G3 Lockdown mode - persistent iptables blocking ALL non-VPN traffic (survives reboot)
  • G4 LAN sharing toggle - conditional RFC1918 rules in kill switch

DNS & QoL (Phase 12)

  • G5 Custom DNS per profile (backend already supported, frontend wired)
  • G6 Content blockers - ads/trackers/malware/adult via AdGuard DNS
  • G7 Custom MTU per profile in WireGuard config

Advanced Privacy (Phase 13-14)

  • G8 Multi-hop / double VPN data model (profile chaining)
  • G9 Obfuscation: UDP2TCP (udp2raw), Shadowsocks (ss-local), obfs4 (obfs4proxy)
  • G10 Quantum-resistant PresharedKey (AES-256-GCM encrypted in SQLite)
  • G11 DAITA traffic padding (random UDP packets 64-1420B at 50-500ms intervals)
  • G12 Problem report / diagnostics (sanitized - private keys auto-redacted)
  • G13 API access methods - obfs4 pluggable transport bridge support
  • G14 Server health check - latency ping with 30s polling, color-coded UI

Infrastructure

  • Settings table (key/value) in SQLite for persistent app config
  • 6 automatic DB migrations (profile_id, multihop, obfuscation, mtu, preshared_key, daita)
  • 15 new Tauri commands registered in invoke_handler
  • 30 new i18n strings (pt-BR + en-US)
  • Updated readme with new features, architecture, security model, roadmap

Test plan

  • cargo check passes (verified)
  • tsc --noEmit passes (verified)
  • Manual: create profile with PSK, verify .conf has PresharedKey line
  • Manual: enable DAITA, verify UDP traffic on gateway:9
  • Manual: enable lockdown, disconnect VPN, verify no outbound traffic
  • Manual: set auto-connect + default profile, restart app, verify auto-connection
  • Manual: link SSH tunnel to profile, connect VPN, verify tunnel auto-starts
  • Manual: select obfs4 in obfuscation dropdown, verify obfs4proxy spawns
  • Manual: generate diagnostic report, verify no private keys in output
  • Manual: check latency indicator shows green/yellow/red next to profiles

The previous fix only truncated the log at connection start. During a
long-running session the log grew unbounded (122 GB observed). Root cause:
--log opens without O_APPEND, so external truncation leaves OpenVPN writing
at the old offset, creating a sparse file that still reports huge size.

- Switch --log to --log-append so writes always seek to EOF
- Add cap_log() that keeps only the last 50 KB when file exceeds 1 MB
- Connection guard calls cap_log() every 5 s while VPN is up
- Add --mute 10 to suppress repeated log messages
- Always clean up .pid/.log on disconnect, even if kill fails
Auto-connect on startup, auto-start SSH tunnels linked to profiles,
lockdown mode (persistent iptables), LAN sharing toggle, custom DNS
per profile, content blockers (AdGuard DNS), custom MTU, multi-hop
double VPN, obfuscation (UDP2TCP, Shadowsocks, obfs4), quantum-
resistant PresharedKey, DAITA traffic padding, diagnostics/problem
report with sanitized output, server health check with latency
polling.

Backend: 4 new modules (lockdown.rs, obfuscation.rs, diagnostics.rs,
daita.rs), settings table, 6 DB migrations, 15 new Tauri commands.
Frontend: +315 lines in App.tsx, 30 new i18n keys, 4 new settings
cards, profile form fields for PSK/DAITA/MTU/obfuscation/multihop.
Apply cargo fmt to new v3 modules (db, diagnostics, lib, lockdown,
obfuscation). Bump org.bouncycastle bcprov-jdk18on and bcpkix-jdk18on
from 1.77 to 1.85 in v1-java/pom.xml.

Closes #6, closes #7
@Bulletdev Bulletdev self-assigned this Nov 24, 2026
@Bulletdev Bulletdev changed the title feat: v3.0.0 - Mullvad parity (14 features) feat: v3.0.0 - virtual private network service focused on anonymity parity (14 features) Nov 24, 2026
@Bulletdev
Bulletdev merged commit 9672b02 into master Nov 24, 2026
7 of 8 checks passed
@Bulletdev
Bulletdev deleted the feat/v3-mullvad-parity branch November 24, 2026 01:45
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