Remix.run Logo
Show HN: Mtproto.zig – High-performance Telegram proxy with DPI evasion(github.com)
16 points by slp3r 13 hours ago | 11 comments

Hey everyone. I built an MTProto proxy for Telegram aimed at bypassing active DPI censorship like the Russian TSPU. I chose Zig because it's perfect for writing fast network daemons and makes it incredibly easy to port low-level C bypass techniques like TCP desync and packet fragmentation. Would love to get some feedback or contributors!

txrx0000 an hour ago | parent | next [-]

Cool project. But why tunnel Telegram specifically? This could be a yet another VPN protocol.

There are some useful ideas from SoftEtherVPN, BitTorrent, Yggdrasil Network, and Tor you could borrow, if you're looking to improve this. The ideal tunneling solution, which doesn't exist yet, is one that not only evades DPI, but also onion bounces you through nodes in a decentralized ad hoc network, and does automatic node discovery.

Asuka-wx 2 hours ago | parent | prev | next [-]

As a solo founder myself, I can relate. The hardest part is making decisions alone.

echovoiceapp 10 hours ago | parent | prev | next [-]

Interesting project! As someone building a voice-to-text keyboard (Echo), I appreciate the craftsmanship here. The attention to detail in developer tools makes a big difference for the end user experience.

wheresmyshadow 13 hours ago | parent | prev | next [-]

that looks very interesting, indeed. do you think it could work in places like iran too during current internet shutdown? some people use things like dnstt to get connected but it's extremely slow and unstable.

thanks for your work

slp3r 13 hours ago | parent [-]

If they are implementing a complete blackout - dropping international routing and switching to a default-deny intranet - this proxy won't help, sadly

hagbard_c 10 hours ago | parent [-]

It could if connectivity to Telegram were brought in through e.g. Starlink. Users would connect to the proxy (an Iranian address) which forwards the requests to the outside world.

ai_slop_hater 10 hours ago | parent | prev [-]

Have you built it, or have you had AI build it?

acheong08 8 hours ago | parent | next [-]

Very obvious with the GEMINI.md.

I wish there was a rule to ban AI submissions. Not because I think there's 0 value, but because there's just such a high volume and low signal to noise ratio

buremba 10 hours ago | parent | prev [-]

does it matter?

000ooo000 9 hours ago | parent [-]

Yeah it does. If you're happy routing your personal data through software that lacks an author who fully understands what the software does, good for you. Suggesting that this doesn't matter in general is.. not an opinion I'd share publicly.

buremba 7 hours ago | parent [-]

You can ask your agent to verify or review code. Just because people wrote code by hand, it doesn't mean you should trust