Commit Graph

23537 Commits

Author SHA1 Message Date
Qz3rK 51ebb27e06 Update mtproto_tls_socket.cpp
-7
2026-05-30 19:40:23 +07:00
Qz3rK 018031b1d7 Fix DPI blocking by randomizing TLS ClientHello fingerprint
Default Telegram Desktop uses a static ClientHello with a fixed fingerprint, making it easy for DPI systems to detect and block MTProto traffic.

Changes:
 - Random selection between Chrome-like and Firefox-like fingerprint on each connection instead of a single static rule set
 - Dynamic cipher suites: a small set of essential suites are always present, a random subset is picked from the remaining ones, then everything is shuffled
 - Randomized TLS extensions: besides mandatory SNI, randomly add a few valid extensions from a predefined list, also shuffled
 - Chunked ClientHello sending with random delays between chunks and random initial delay, forced flush after each chunk
 - Disabled Nagle's algorithm via LowDelayOption for immediate packet sending
 - Added random jitter to timestamp to avoid perfect precision

Each new connection generates a unique ClientHello with different fingerprint, different cipher suites, different extensions and different sending pattern, making MTProto traffic detection by signature impossible.
v6.8.4-dpifix-v3
2026-05-30 07:38:45 +07:00
Qz3rK 2089bfd1f3 implement DPI evasion for MTProto TLS connections
- Increase ClientHello size via padding
- Fragment outgoing packets with randomized chunk sizes
- Remove extension shuffling for stable fingerprint
- Add support for new TLS block schema types
- Add random jitter to timestamp generation
* Hacky implementation, needs review.
v6.8.4-dpifix
2026-05-29 05:42:07 +07:00
John Preston 9caf32dffc Fix possible assertion violation. 2026-05-28 09:54:42 +04:00
23rd 5b79e1be62 Added pass of visible region into credits history list controller. 2026-05-27 13:59:34 +03:00
23rd 3fb525d261 Lowered initial credits history page size in settings section. 2026-05-27 13:56:41 +03:00
23rd 06a138cf45 Added scroll-driven auto load to credits history list controller. 2026-05-27 13:56:41 +03:00
23rd 137f5a29d3 Added optional limit parameter to credits history request. 2026-05-27 13:56:41 +03:00
23rd 8ea22f9ef2 Cached currency icon images in credits history rows controller. 2026-05-27 13:56:41 +03:00
23rd 32e9e73c77 Added paid media price entry to media viewer dropdown menu. 2026-05-27 12:18:58 +03:00
23rd 5b0d6132cb Highlighted compose AI apply row when opening shortcut settings. 2026-05-27 12:18:58 +03:00
23rd 577e06ff40 Added per-row highlight registration to shortcuts settings. 2026-05-27 12:18:58 +03:00
23rd d22448420e Added day change re-evaluation to top bar suggestion driver. 2026-05-27 12:18:57 +03:00
23rd 504f680292 Added day dependency to birthday top bar suggestions. 2026-05-27 12:18:57 +03:00
23rd 6c7900c0b0 Added day rollover detection to top promotion refresh. 2026-05-27 12:18:57 +03:00
23rd 4923db60ff Added refresh of unconfirmed auth bar on authorization list changes. 2026-05-27 12:18:57 +03:00
23rd 595e235981 Replaced unconfirmed auth bar text snapshot with producer. 2026-05-27 12:18:57 +03:00
23rd a272f148c4 Deduplicated top bar suggestion activation by current priority. 2026-05-27 12:18:57 +03:00
John Preston c0bffa30ab Beta version 6.8.4: Fix build with GCC. 2026-05-27 12:57:18 +04:00
John Preston 641cc9c054 Fix level badge requirement for groups. 2026-05-27 11:59:00 +04:00
John Preston a7f3df9574 Beta version 6.8.4.
- Drag-and-drop of photos into chats.
- Testing Qt RHI renderer on macOS and Windows on ARM.
- Native external webapp viewer on Linux by default.
- Frequent contacts and search in gift recipient picker.
- Fix passcode bypass via separate windows opened while locked.
- Fix clickable timestamps in blockquote.
- Fix never ending download progress in web apps.
- Fix borders in Instant View tables.
- Fix several possible crashes.
2026-05-27 10:53:31 +04:00
John Preston 2586b1bbce Try restoring GL context on Windows. 2026-05-27 10:23:11 +04:00
Ilya Fedin 60577b7883 Qt 5.15.18 -> 5.15.19 2026-05-27 10:02:06 +04:00
23rd c9f2794c53 Added AI apply hotkey entry to compose AI tone context menu. 2026-05-26 21:44:44 +03:00
23rd 3154011d47 Added AI apply hotkey binding row to tone preview. 2026-05-26 21:44:44 +03:00
23rd 1ac44b87e1 Bound compose AI shortcut to in-place tone apply. 2026-05-26 21:44:44 +03:00
23rd 4e6f2daf04 Added in-place AI apply helpers and binding option. 2026-05-26 21:44:44 +03:00
23rd 50b13b2bed Added compose AI apply shortcut command. 2026-05-26 21:44:44 +03:00
John Preston eb31bda16b Attempt to fix thanos effect on D3D11. 2026-05-26 22:26:47 +04:00
23rd 6eccdae3a1 Added pause for AI Editor style tabs emoji when window is not active. 2026-05-26 21:54:48 +04:00
23rd 2081a92873 Added frequent contacts section to gift credits recipient picker. 2026-05-26 21:54:48 +04:00
23rd 85ce183859 Slightly improved top spacing between lists in gift recipient picker. 2026-05-26 21:54:48 +04:00
23rd 12ef19f020 Added frequent contacts and search placeholder to gift picker. 2026-05-26 21:54:48 +04:00
23rd de6b3670d3 Added search placeholder hook to PeerListController. 2026-05-26 21:54:48 +04:00
23rd 610d1bcecd Switched bot webview button in profile to full radius. 2026-05-26 21:54:48 +04:00
23rd a220f56319 Fixed handling of no-argument bot webview commands.
Regression was introduced in c46fe28908.
2026-05-26 21:54:48 +04:00
John Preston b09327e476 Workaround MSVC ARM codegen bug. 2026-05-26 16:35:04 +04:00
23rd bd4c4c38c3 Fixed possible crash on macOS with web bots. 2026-05-26 15:06:25 +03:00
23rd 15e45557ac [qrhi] Fixed QSB lookup on macOS Packaged CI via Homebrew qtshadertools. 2026-05-26 13:55:42 +03:00
John Preston 436f929e79 Suggest all send options in topics. 2026-05-26 13:05:26 +04:00
John Preston edef400f30 Fix never ending download progress in webapps. 2026-05-26 12:44:03 +04:00
John Preston 2aa5795f56 Fix dialogs suggestions animation glitch. 2026-05-26 12:43:36 +04:00
John Preston 3ea799391a Fix name overlapping emoji status. 2026-05-26 11:43:46 +04:00
John Preston 0bfd2bd0d5 SavedMusic not participating in profile sections. 2026-05-26 10:52:50 +04:00
John Preston e9a0df4715 Show correct limit of accounts. 2026-05-26 10:51:51 +04:00
John Preston 74eccef9a4 Build on Windows on ARM with v145. 2026-05-26 10:09:53 +04:00
John Preston c6541e1e91 Fix unnecessary rebuilds because of shaders. 2026-05-26 10:09:53 +04:00
23rd 9ed0b1e6ef Fixed build on macOS. 2026-05-25 21:56:40 +03:00
23rd 047a24185f Enabled Qt RHI renderer by default on macOS in experimental options. 2026-05-25 21:56:40 +03:00
23rd fce19ac336 Aligned userpic and text in top bar suggestion with dialog row column. 2026-05-25 21:56:40 +03:00