DP Analyzer
A native macOS app and Go routing engine that distributes TCP and UDP connections directly across Wi-Fi and USB phone tethering, with zero cloud relays and deterministic route rollback.
┌──────────────────────┐
┌──▶│ IF1 · HOME WI-FI │
┌──────────────────┐ ┌────────────────────────┐ │ │ Direct Link · Tested │
│ IN1 · MAC APPS │────▶│ U1 · LOCAL ROUTER │───┤ └──────────────────────┘
│ Separate Flows │ │ Virtual Link + Undo │ │ ┌──────────────────────┐
└──────────────────┘ └────────────────────────┘ └──▶│ IF2 · PHONE USB │
│ iPhone / Android USB │
└──────────────────────┘Why I built it
Whenever home Wi-Fi stutters, a live 5G connection is usually sitting inches away on my phone, yet macOS routes traffic through only one primary interface at a time. Existing channel-bonding apps either tunnel every packet through a paid cloud VPN or corrupt system routes if killed. DP Analyzer distributes separate connections directly across two local interfaces on-device.
How it works
- Per-Connection Load Sharing: Rather than splitting packets through an external relay, DP Analyzer assigns whole TCP and UDP connections across active interfaces. End-to-end TLS stays untouched, and multi-connection downloads or browser sessions draw from both Wi-Fi and USB tethering simultaneously.
- Reversible Routing Ledger: Instead of overwriting the macOS default gateway, the local Go engine installs scoped public routes over a virtual
utuninterface and records an ordered undo log so every route unwinds in reverse order on stop or crash recovery. A lightweight loopback SOCKS5 mode is also included for proxy-aware tools. - Hardware-Tested macOS Fixes: Live testing exposed three subtle platform bugs that I resolved: preventing Dual-Stack Wi-Fi IPv6 from starving an IPv4-only phone tether, preserving Android USB DHCP leases during tunnel bring-up, and fixing a busy-wait loop in an open-source USB tether helper that cut idle CPU load from ~90% to under 4%.
What I tested & current scope
The scheduler and route ledger pass 40 Go tests and 5 Swift checks, and live Apple Silicon sessions forwarded connections reliably across Wi-Fi + iPhone USB (en0 + en5) and Wi-Fi + Android USB with zero dropped transfers and verified SHA-256 checksums.
One honest benchmark finding: in a recorded 103 MB multi-connection download, dual-link mode completed with zero errors but did not beat single-link Wi-Fi peak speed. Sustained multi-link throughput gains and Apple-notarized packaging for the system extension mode remain open work.
Stack & parts