ZaStoGram/TMessagesProj/jni/tgnet
Repository files (latest commit first)
Filename Latest commit message Latest commit date
loop-uh 495aadc2ff Add DNS negative cache & socket cleanup
Core MTProxy resilience improvements:

- Implement 45s negative DNS cache to prevent rapid retry storms on NXDOMAIN/timeout
- Detect and reject 0.0.0.0 (IPv4) and :: (IPv6) blocked zero addresses from DNS resolvers
- Add resetTransportSocketForOpenConnection() to safely tear down stale sockets before new connection
- Enhance secret domain sanitization with better error classification (control chars vs invalid domain)
- Add pre-handshake DNS preflight check via isHostResolveNegativeCached() JNI

Plugin system expansion:
- Add pre_request_hook for request modification before send
- Add on_send_message_hook for outgoing message interception
- Add on_update/on_updates_hook for incoming update inspection
- Add app lifecycle hooks (start/stop/pause/resume)
- Add menu item system for plugin UI integration
- Refactor extera_utils to package with DexMaker class-proxy stubs

Proxy UX improvements:
- Manual proxy list reordering (drag-and-drop, no auto-sort by ping)
- Add diagnostic strings for new DNS failure phases
- Proxy health store now treats invalid-secret domains as punitive failures requiring rotation

Audio & maintenance:
- Set voice recording bitrate to 16 kbps (explicit, not OPUS_BITRATE_MAX)
- Enable VBR and voice signal hint for better speech compression
- Fix DialogsActivity AppName to use local resources, bypassing cloud strings
- Add guards for DNS resolver fallback chain, voice bitrate, and main title brand
2026-06-29 22:49:16 +03:00
..
ApiScheme.cpp update to 12.3.0 (6377) 2026-01-15 19:10:51 +04:00
ApiScheme.h update to 12.3.0 (6377) 2026-01-15 19:10:51 +04:00
BuffersStorage.cpp Add network debug logging with throttling and metrics 2026-06-27 20:03:11 +03:00
BuffersStorage.h Add network debug logging with throttling and metrics 2026-06-27 20:03:11 +03:00
ByteArray.cpp Update to 5.2.1 2019-01-23 20:03:33 +03:00
ByteArray.h Update to 4.9.0 2018-07-30 09:07:02 +07:00
ByteStream.cpp Update to 5.11.0 2019-09-10 13:56:11 +03:00
ByteStream.h Update to 4.9.0 2018-07-30 09:07:02 +07:00
Config.cpp Update to 5.2.1 2019-01-23 20:03:33 +03:00
Config.h Update to 4.9.0 2018-07-30 09:07:02 +07:00
Connection.cpp Add DNS negative cache & socket cleanup 2026-06-29 22:49:16 +03:00
Connection.h fox 2026-06-22 22:13:03 +03:00
ConnectionSession.cpp Update to 5.2.1 2019-01-23 20:03:33 +03:00
ConnectionSession.h Update to 5.2.1 2019-01-23 20:03:33 +03:00
ConnectionsManager.cpp Add network debug logging with throttling and metrics 2026-06-27 20:03:11 +03:00
ConnectionsManager.h Add MtProxy options JNI and refactor proxy policies 2026-06-24 14:47:17 +03:00
ConnectionSocket.cpp Add DNS negative cache & socket cleanup 2026-06-29 22:49:16 +03:00
ConnectionSocket.h Add DNS negative cache & socket cleanup 2026-06-29 22:49:16 +03:00
ConnectionSocketStateMachine.cpp Add MTProxy diagnostics and logging checks 2026-06-26 00:03:55 +03:00
ConnectionSocketStateMachine.h mtproxy: add recipe cache & handshake parser 2026-06-29 11:52:56 +03:00
Datacenter.cpp update to 11.9.1 (5900) 2025-05-01 02:05:36 +04:00
Datacenter.h Update to 8.8.2 2022-06-21 06:51:00 +04:00
Defines.h Add DNS negative cache & socket cleanup 2026-06-29 22:49:16 +03:00
EventObject.cpp Update to 4.9.0 2018-07-30 09:07:02 +07:00
EventObject.h Update to 4.9.0 2018-07-30 09:07:02 +07:00
FileLog.cpp Add network debug logging with throttling and metrics 2026-06-27 20:03:11 +03:00
FileLog.h Add network debug logging with throttling and metrics 2026-06-27 20:03:11 +03:00
Handshake.cpp update to 11.9.1 (5900) 2025-05-01 02:05:36 +04:00
Handshake.h update to 10.13.1 (4845) 2024-06-03 10:21:03 +04:00
MTProtoScheme.cpp update to 11.8.0 (5771) 2025-03-10 17:15:31 +04:00
MTProtoScheme.h update to 11.8.0 (5771) 2025-03-10 17:15:31 +04:00
MtProxyAdaptivePolicy.cpp Add reserved server-hello parser and true CH timeout 2026-06-29 19:45:18 +03:00
MtProxyAdaptivePolicy.h mtproxy: add recipe cache & handshake parser 2026-06-29 11:52:56 +03:00
MtProxyEndpointPolicy.cpp Add DNS negative cache & socket cleanup 2026-06-29 22:49:16 +03:00
MtProxyEndpointPolicy.h Add DNS negative cache & socket cleanup 2026-06-29 22:49:16 +03:00
MtProxyOptions.h Add reserved server-hello parser and true CH timeout 2026-06-29 19:45:18 +03:00
MtProxyStartupTimeline.cpp Ensure Add Proxy row renders above proxy list 2026-06-26 23:01:44 +03:00
MtProxyStartupTimeline.h Ensure Add Proxy row renders above proxy list 2026-06-26 23:01:44 +03:00
NativeByteBuffer.cpp update to 9.7.0 (3687) 2023-07-21 00:15:36 +04:00
NativeByteBuffer.h Update to 4.9.0 2018-07-30 09:07:02 +07:00
ProxyCheckInfo.cpp update to 9.5.5 2023-03-24 15:38:14 +04:00
ProxyCheckInfo.h Add MtProxy options JNI and refactor proxy policies 2026-06-24 14:47:17 +03:00
Request.cpp update to 11.2.3 (5335) 2024-10-18 00:04:16 +04:00
Request.h update to 11.8.0 (5771) 2025-03-10 17:15:31 +04:00
Timer.cpp Update to 5.2.1 2019-01-23 20:03:33 +03:00
Timer.h Update to 4.9.0 2018-07-30 09:07:02 +07:00
TLObject.cpp Update to 4.9.0 2018-07-30 09:07:02 +07:00
TLObject.h Update to 4.9.0 2018-07-30 09:07:02 +07:00
WssTransport.cpp Remove SOCKS5-over-WSS; enhance plugin system 2026-06-28 23:17:34 +03:00
WssTransport.h Remove SOCKS5-over-WSS; enhance plugin system 2026-06-28 23:17:34 +03:00