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
..
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
Refactor MTProxy architecture: extract scheduler, evidence, and state management
2026-07-01 14:35:02 +03:00
Connection.h
MTProxy: migrate recipe levels to broad cursor ladder
2026-06-30 20:04:55 +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 mtproxy probe heartbeat and reaper
2026-06-30 20:12:53 +03:00
ConnectionsManager.h
Add mtproxy probe heartbeat and reaper
2026-06-30 20:12:53 +03:00
ConnectionSocket.cpp
Refactor MTProxy architecture: extract scheduler, evidence, and state management
2026-07-01 14:35:02 +03:00
ConnectionSocket.h
Refactor MTProxy architecture: extract scheduler, evidence, and state management
2026-07-01 14:35:02 +03:00
ConnectionSocketStateMachine.cpp
Add MTProxy diagnostics and logging checks
2026-06-26 00:03:55 +03:00
ConnectionSocketStateMachine.h
Refactor MTProxy architecture: extract scheduler, evidence, and state management
2026-07-01 14:35:02 +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
Refactor MTProxy architecture: extract scheduler, evidence, and state management
2026-07-01 14:35:02 +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
Reclassify handshake exhaustion as recovery backoff, not terminal failure
2026-06-30 23:16:14 +03:00
FileLog.h
mtproxy probe lease, native log rotation, logs UI
2026-06-30 21:12:04 +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
Refactor MTProxy architecture: extract scheduler, evidence, and state management
2026-07-01 14:35:02 +03:00
MtProxyAdaptivePolicy.h
Refactor MTProxy architecture: extract scheduler, evidence, and state management
2026-07-01 14:35:02 +03:00
MtProxyDataPathShaper.cpp
Refactor MTProxy architecture: extract scheduler, evidence, and state management
2026-07-01 14:35:02 +03:00
MtProxyDataPathShaper.h
Refactor MTProxy architecture: extract scheduler, evidence, and state management
2026-07-01 14:35:02 +03:00
MtProxyEndpointPolicy.cpp
Refactor MTProxy phases and secret-domain
2026-07-01 00:13:29 +03:00
MtProxyEndpointPolicy.h
Add MTProxy probe coordinator & probeKey support
2026-06-30 18:34:13 +03:00
MtProxyFailureEvidence.cpp
Refactor MTProxy architecture: extract scheduler, evidence, and state management
2026-07-01 14:35:02 +03:00
MtProxyFailureEvidence.h
Refactor MTProxy architecture: extract scheduler, evidence, and state management
2026-07-01 14:35:02 +03:00
MtProxyHandshakePlan.cpp
Refactor MTProxy architecture: extract scheduler, evidence, and state management
2026-07-01 14:35:02 +03:00
MtProxyHandshakePlan.h
Refactor MTProxy architecture: extract scheduler, evidence, and state management
2026-07-01 14:35:02 +03:00
MtProxyHandshakeScheduler.cpp
Refactor MTProxy architecture: extract scheduler, evidence, and state management
2026-07-01 14:35:02 +03:00
MtProxyHandshakeScheduler.h
Refactor MTProxy architecture: extract scheduler, evidence, and state management
2026-07-01 14:35:02 +03:00
MtProxyOptions.h
MTProxy: migrate recipe levels to broad cursor ladder
2026-06-30 20:04:55 +03:00
MtProxyPhaseContract.h
Refactor MTProxy phases and secret-domain
2026-07-01 00:13:29 +03:00
MtProxyProbeCoordinator.cpp
Refactor MTProxy architecture: extract scheduler, evidence, and state management
2026-07-01 14:35:02 +03:00
MtProxyProbeCoordinator.h
Reclassify handshake exhaustion as recovery backoff, not terminal failure
2026-06-30 23:16:14 +03:00
MtProxyRecoveryPolicy.cpp
Refactor MTProxy architecture: extract scheduler, evidence, and state management
2026-07-01 14:35:02 +03:00
MtProxyRecoveryPolicy.h
Refactor MTProxy architecture: extract scheduler, evidence, and state management
2026-07-01 14:35:02 +03:00
MtProxySecretDomain.cpp
Refactor MTProxy phases and secret-domain
2026-07-01 00:13:29 +03:00
MtProxySecretDomain.h
Refactor MTProxy phases and secret-domain
2026-07-01 00:13:29 +03:00
MtProxyServerFlightParser.cpp
Refactor MTProxy architecture: extract scheduler, evidence, and state management
2026-07-01 14:35:02 +03:00
MtProxyServerFlightParser.h
Refactor MTProxy architecture: extract scheduler, evidence, and state management
2026-07-01 14:35:02 +03:00
MtProxySocketPublisher.cpp
Refactor MTProxy architecture: extract scheduler, evidence, and state management
2026-07-01 14:35:02 +03:00
MtProxySocketPublisher.h
Refactor MTProxy architecture: extract scheduler, evidence, and state management
2026-07-01 14:35:02 +03:00
MtProxyStartupTimeline.cpp
Add MTProxy probe coordinator & probeKey support
2026-06-30 18:34:13 +03:00
MtProxyStartupTimeline.h
Add MTProxy probe coordinator & probeKey support
2026-06-30 18:34:13 +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
WSS: relay fallback & accept validation
2026-06-30 12:46:07 +03:00
WssTransport.h
WSS: relay fallback & accept validation
2026-06-30 12:46:07 +03:00