sing-box Fork Expands from Desktop VPN Launcher to Android and Router Deployments

The sing-box-lx fork has grown from a desktop-focused VPN engine into a cross-platform solution supporting Android and headless router deployments. Over 1,700 commits since June produced 24 stable 1.14 releases and dozens of specialized builds. New protocol support includes a full MASQUE CONNECT-IP outbound for Cloudflare WARP and a rigorously verified AmneziaWG 2.0 implementation matching 16 obfuscation parameters across three reference sources. Android adaptations introduced aggressive endpoint state management that reduced RSS by 31 percent and CPU load by 80 percent while fixing long-standing TCP dial timeouts inherited from gVisor. The new lxd headless daemon exposes gRPC observability and admin REST endpoints with mTLS, config validation, automatic rollback, and device-name mapping for OpenWrt deployments. All changes follow strict upstream discipline: minimal patches, regular rebases, reproducible builds, and real-device testing before stable tags.

HabrTranslated from Russian

Read at source

The sing-box-lx project, an actively maintained fork of sing-box, has completed its transition from a desktop VPN engine to a unified platform running on Android devices and OpenWrt routers. The developer behind L×Box and Sing-box Launcher reports more than 1,700 commits, 24 stable 1.14 releases, and roughly seventy specialized builds since June.

Two major protocol additions stand out. A native MASQUE outbound implements CONNECT-IP as defined in RFC 9484, tunneling complete IP packets rather than UDP datagrams and reusing the same userspace network stack employed by WireGuard endpoints. The implementation treats Cloudflare WARP as a configuration preset while keeping device registration outside the core. AmneziaWG 2.0 received exhaustive verification against amneziawg-tools, the upstream kernel module netlink interface, and live IPC round-trips, confirming parity on all sixteen obfuscation parameters including Jc/Jmin/Jmax junk packets, S1–S4 padding, H1–H4 magic headers, and I1–I5 signature packets.

Android required extensive runtime optimizations. A full state machine now suspends idle WireGuard and AmneziaWG endpoints, sometimes destroying userspace devices entirely, and restores them lazily on first use. Health checks skip cycles when recent traffic has succeeded. The resulting savings reach 31 percent lower resident set size and 80 percent lower kernel CPU usage on production configurations. Additional fixes eliminated 127-second TCP dial timeouts caused by unbounded gVisor SYN backoff and ensured prompt recovery after Android Doze cycles.

Several long-standing silent failures were resolved during the summer. A three-byte change restored REALITY compatibility after Xray 26.7.11 began enforcing minimum client versions. XHTTP path handling now correctly appends trailing slashes, and mutual uplink/downlink deadlock in packet-up scenarios was eliminated. XMUX connection reuse and automatic TLS record fragmentation for detoured outbounds were also added.

The newest component, sing-box lxd, is a headless daemon that hosts the core and exposes a persistent gRPC management channel. Designed for routers, it survives configuration reloads, validates candidates before apply, performs automatic rollback on failure, and delivers the same structured observability previously available only to Android clients. An additional REST endpoint aggregates DHCP leases, ARP tables, bridge FDB entries, hostapd data, and operator labels to map IP addresses to human-readable device names.

Releases continue to follow three self-imposed rules: drift from upstream is measured by merge-base rather than commit count, every submodule is integrity-checked before merge, and no stable tag is cut without execution on real hardware. Static musl binaries for router architectures, including big-endian MIPS, are published alongside detailed OpenWrt recipes for isolated VPN SSIDs.

Meridian digestThe week's most consequential security stories, distilled into one briefing.See the digest

More in Other

Mail.ru Reduces Lifetime 1TB Cloud Storage Promo to Standard 8GB Quota for Select Users
Kimi K3 Open Model Surpasses Closed AI Leaders with Million-Token Context and 896 Experts
Innostage Completes Functional Testing of PT NGFW 1.10.3 Across 156 Criteria