The mtproto.zig project provides a high-performance, lightweight Telegram proxy written in Zig that disguises traffic as TLS 1.3 HTTPS to effectively bypass network censorship and deep packet inspection.
Key Points
- The proxy features a 177 KB binary size, requires only 256 KB of RAM, and boots in under 10 milliseconds.
- It utilizes advanced evasion techniques, including TCPMSS fragmentation, IPv6 hopping, and application-level Split-TLS to defeat active and passive DPI probes.
- The software is built entirely on the Zig standard library with zero external dependencies, ensuring high thread safety and minimal resource overhead.
- It supports multi-user authentication and is compatible with Telegram’s MiddleProxy transport for improved media relay performance.
- Deployment is streamlined via Docker, systemd integration, and automated scripts that handle configuration and Cloudflare API-based IPv6 rotation.