-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
- I am reporting an issue in existing functionality that does not work as intended
- I've searched for existing GitHub issues
Description
After upgrading from 12.1.1 to 12.2, MTProto no longer sends TLS SNI, which breaks my own proxy setup. I discovered this since my HAProxy SNI fronted MTG server stopped working for the new version of Telegram since 12.2. And using Wireshark to inspect the packet found that no SNI during the TLS handshake now.
Expected Behavior
Should include SNI during handshake.
Actual Behavior
No SNI during TLS Client Hello.
Steps to Reproduce
- Follow the readme in mtg to set up an MTProto server. When executing
mtg generate-secret example.com, theexample.comshould be the SNI in TLS Client Hello. - Run the Telegram App on macOS, set the MTProto proxy to MTG.
- Using Wireshark to inspect the TLS Client Hello, and found that no SNI.
Environment
Device: iPhone 17 Pro
iOS version: 26.1
App version: 12.2
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working