ZaStoGram/TMessagesProj
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
..
config update to 12.4.0 (6506) 2026-02-14 16:49:34 +04:00
jni Refactor MTProxy architecture: extract scheduler, evidence, and state management 2026-07-01 14:35:02 +03:00
libs Update to 5.13.0 (1818) 2019-12-31 16:08:08 +03:00
src/main Refactor MTProxy architecture: extract scheduler, evidence, and state management 2026-07-01 14:35:02 +03:00
build.gradle Add bundled Python deps for plugin runtime 2026-06-30 23:25:11 +03:00
google-services.json update to 11.1.1 (5235) 2024-09-11 01:07:16 +04:00
proguard-rules-beta.pro update to 11.1.1 (5235) 2024-09-11 01:07:16 +04:00
proguard-rules.pro Add exteraGram plugin support and enhance hooks 2026-06-30 00:30:57 +03:00