gotd / td

Telegram client, in Go. (MTProto API)
MIT License
1.4k stars 122 forks source link

Updating FakeTLS ClientHello to match modern desktop/android clients #1406

Open markpash opened 3 weeks ago

markpash commented 3 weeks ago

Description

Currently the FakeTLS implementation in gotd/td is adequate and works with mtproto proxies. But the code that generates the ClientHello is missing a lot from the Desktop and Android implementations, and seems out of date. Since this is essentially an obfuscation and censorship evasion scheme, it seems appropriate to follow the other clients in their implementation. Given that the code is mostly a translation of the C++ code, updating it following the same scheme isn't difficult and I have partially done it locally.

Would the project be open to me contributing this?

ernado commented 3 weeks ago

This would be great.

connorzhuang commented 2 days ago

How to implement Android?