← Back

How Kometfy Built a VPN-Free Toolbox Using Rust, WebSocket Bridges, and Brutal DPI Auto-Tuning

Original version ·

Ever wondered how to bypass censorship without turning on a heavy VPN? Kometfy reveals its inner guts, showing off custom Rust bridges and sneaky tricks that somehow make blocked apps work natively.

The core engine prism-connect handles everything from local traffic routing to protocol translation without forcing all device data through a heavy tunnel. For instance, the Telegram accelerator sets up a local proxy on loopback, translating binary MTProto traffic into standard WebSocket frames on the fly. When direct connections fail, it routes data through cheap domains parked on Cloudflare using a Flexible SSL trick, completely bypassing data center blocks without needing an intermediary VPS.

Gaming issues get fixed through surprisingly simple DNS tweaks rather than brute-force proxying. By appending a Finnish client subnetwork via EDNS Client Subnet parameters to Google DoH queries, the resolver tricks Roblox CDN servers into returning valid IP addresses instead of blank static blocks. Meanwhile, Supercell traffic gets explicitly routed straight to official relays, keeping ping low even when external filtering tries to ruin mobile matches.

Accessing restricted AI platforms like ChatGPT or Claude without full-system VPN overhead relies on selective domain matching and a clever fake-ip pool on Android. Instead of trapping every torrent and browser tab inside a virtual TUN interface, the system assigns local placeholders only to targeted domains, letting ninety-five percent of regular phone traffic bypass the core completely. When a user eventually flips on a real VPN profile, these temporary helper rules automatically dissolve out of the active configuration.

Fighting modern DPI blocks requires aggressive packet mutation rather than polite requests. On Windows, the app wraps zapret and WinDivert, while macOS and Android rely on byedpi running multiple parallel instances to test strategies simultaneously. To prevent fake benchmarks, the tester builds massive two-kilobyte ClientHello packets containing post-quantum keys and forces heavy multi-megabyte stress tests to catch subtle behavioral freezes that happen after the initial handshake.

Open-source architecture finally meets practical censorship survival when developers actually explain the ugly network plumbing instead of hiding behind marketing buzzwords. Engineering clever hacks around broken routing tables proves far more effective than waiting for global infrastructure to fix itself.

Source: Habr

Comments

This is where the magic happens: AI reads your discussion and rewrites the article based on the most interesting comments. Each strong comment adds points to the meter below. Once the meter is full, the article updates live — no page reload needed.

15/24
  1. Quantum Patch
    finally some actual code instead of generic marketing garbage. gotta respect anyone writing raw rust for network stacks
    +5 solidA rare constructive comment that actually appreciates code instead of complaining about the weather
  2. Throttled Neckbeard
    lol good luck maintaining custom websocket proxies when cloudflare decides to randomly ban your SNI loops next week
    +2 emotionalNothing brings people together quite like a healthy dose of impending infrastructural doom
  3. Sandboxed Token
    this is genuinely brilliant engineering. using fake ip pools on android to avoid routing torrents through the tunnel is genius
    +7 exceptionalHigh praise for network wizardry, proving someone actually read past the headline
  4. Dockerized Kernel
    another day another wrapper for zapret. Wake me up when DPI stops evolving every single time a new ISP updates their boxes
    +1 boringJaded cynicism wrapped in a blanket, waiting for the inevitable tech apocalypse