ZaStoGram/TMessagesProj/jni
Repository files (latest commit first)
Filename Latest commit message Latest commit date
loop-uh 92c8e130e6 Refactor MTProxy architecture: extract scheduler, evidence, and state management
Major architectural refactoring of MTProxy (FakeTLS proxy) implementation to improve modularity, testability, and evidence-based failure handling:

Native C++ changes:
- Extract handshake scheduler from ConnectionSocket into MtProxyHandshakeScheduler (mutex, endpoints, queuing, cooldown logic)
- Extract server-flight parsing and HMAC verification into MtProxyServerFlightParser
- Extract data-path shaping (record sizing, timing) into MtProxyDataPathShaper with policy decisions
- Introduce typed failure evidence classification (MtProxyFailureEvidence) mapping phases to evidence kinds
- Introduce typed recovery actions (MtProxyRecoveryPolicy) to gate recipe cursor movement
- Create MtProxyHandshakePlan to capture immutable handshake selections per attempt
- Create MtProxySocketPublisher facade for high-risk phase observations
- Introduce MtProxyRequestClass enum to replace raw priority integers in scheduler API
- Move startup cover state from pendingWrite to fakeTls in state machine

Java changes:
- Create ProxyEventReducer to centralize native event reduction logic
- Create ProxyVisibleStateStore to own visible proxy state, DNS debounce, and mirrorVisiblePhase orchestration
- Refactor ProxyRuntimeStateStore to delegate event routing and visible writes to these modules
- Add ProxyPhasePolicy.evidenceForPhase() to map phases to typed evidence classes
- Update ProxyHealthStore logging to include typed evidence in backoff decisions
- Update ProxyRotationEngine to track and log failure evidence with rotation triggers

Plugin API:
- Upgrade client_utils to export RequestCallback class for externally-managed request callbacks
- Add compatibility guard check_plugin_client_utils_contract.py

Tooling:
- Enhance runtime log analyzer to track failure evidence and response bytes
- Improve runtime verifier to validate evidence mappings and recipe cursor gating
- Add Stage 2 runtime proof checklist for FakeTLS usability verification
2026-07-01 14:35:02 +03:00
..
boringssl update to 11.9.1 (5900) 2025-05-01 02:05:36 +04:00
exoplayer update to 11.12.0 (5997) 2025-06-04 22:41:24 +04:00
ffmpeg update to 11.9.1 (5900) 2025-05-01 02:05:36 +04:00
intro update to 12.0.0 (6163) 2025-09-01 19:12:49 +04:00
mozjpeg Update to 7.1.0 (2090) 2020-09-30 16:48:47 +03:00
opus update to 10.8.1 (4404) 2024-02-20 12:03:54 +04:00
rlottie update to 12.7.0 (6740) 2026-05-21 14:11:54 +04:00
sqlite update to 9.1.0 2022-11-05 16:34:47 +04:00
tde2e update to 11.9.1 (5900) 2025-05-01 02:05:36 +04:00
tgnet Refactor MTProxy architecture: extract scheduler, evidence, and state management 2026-07-01 14:35:02 +03:00
third_party update to 9.4.3 2023-02-19 01:24:25 +04:00
voip update to 12.7.3 (6750) 2026-05-21 14:23:03 +04:00
Application.mk update to 12.0.0 (6163) 2025-09-01 19:12:49 +04:00
audio.c Add DNS negative cache & socket cleanup 2026-06-29 22:49:16 +03:00
c_utils.h Update to 5.4.0 2019-03-03 20:40:48 +00:00
CMakeLists.txt Refactor MTProxy architecture: extract scheduler, evidence, and state management 2026-07-01 14:35:02 +03:00
fast-edge.cpp Update to 4.9.0 2018-07-30 09:07:02 +07:00
fast-edge.h Update to 4.9.0 2018-07-30 09:07:02 +07:00
genann.c Update to 4.9.0 2018-07-30 09:07:02 +07:00
genann.h Update to 4.9.0 2018-07-30 09:07:02 +07:00
gifvideo.cpp update to 12.8.0 (6913) 2026-06-16 19:04:08 +02:00
image.cpp update to 12.7.0 (6740) 2026-05-21 14:11:54 +04:00
jni.c update to 12.0.0 (6163) 2025-09-01 19:12:49 +04:00
lottie.cpp update to 12.8.0 (6913) 2026-06-16 19:04:08 +02:00
NativeLoader.cpp Update to 7.1.0 (2090) 2020-09-30 16:48:47 +03:00
secureid_ocr.cpp Update to 4.9.0 2018-07-30 09:07:02 +07:00
SqliteWrapper.cpp Update to 7.1.0 (2090) 2020-09-30 16:48:47 +03:00
sws_context_holder.h update to 12.7.0 (6740) 2026-05-21 14:11:54 +04:00
TgNetWrapper.cpp MTProxy: migrate recipe levels to broad cursor ladder 2026-06-30 20:04:55 +03:00
utilities.cpp update to 9.4.3 2023-02-19 01:24:25 +04:00
video.c Update to 4.9.0 2018-07-30 09:07:02 +07:00
webm_encoder.c update to 10.12.0 (4710) 2024-05-02 20:38:57 +04:00