Skip to content

Commit 3a85c68

Browse files
committed
Upgrade core engine to v3.1.2
1 parent 25af576 commit 3a85c68

3 files changed

Lines changed: 19 additions & 42 deletions

File tree

.github/workflows/build-engine.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ on:
66
telemt_commit:
77
description: 'Telemt commit hash to build from'
88
required: true
9-
default: 'ad1940b'
9+
default: '6d6cd30'
1010
version_tag:
11-
description: 'Version tag (e.g. 3.0.15-ad1940b)'
11+
description: 'Version tag (e.g. 3.1.2-6d6cd30)'
1212
required: true
13-
default: '3.0.15-ad1940b'
13+
default: '3.1.2-6d6cd30'
1414

1515
env:
1616
REGISTRY: ghcr.io

README.md

Lines changed: 14 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -500,43 +500,20 @@ mtproxymax telegram remove # Remove bot completely
500500

501501
## 📋 Changelog
502502

503-
### v1.0.0 — Engine v3.0.15
504-
505-
**Engine Upgrade (v3.0.7 → v3.0.15):**
506-
507-
- **ME Connection Hardening** — Better error handling and recovery for lost middle-end connections
508-
- **Secure Payload Fixes** — Payload length validation and ME protocol hardening
509-
- **Bounded Backpressure** — Semaphore-based global gate prevents overload, ME buffer reuse for efficiency
510-
- **TLS Full Certificate** — New TLS fetcher drafts real certificates in ServerHello, with TTL-based refresh
511-
- **ME Pool Reinit** — Soft-staged reinit without reconcile, plus reinit polishing for smoother reconnects
512-
- **Desync Forensics** — Full forensics for desync detection and debugging
513-
- **ME Pool Hardswap** — Hard connection swap with softer fallback for graceful pool rotation
514-
- **ME Pool Health + Rotation** — Active health checking with automatic rotation of unhealthy connections
515-
516-
### v1.0.0 — Engine v3.0.7 + Custom IP
517-
518-
**Engine Upgrade (v3.0.4 → v3.0.7):**
519-
520-
- **Fake TLS V2** — Complete rewrite of the TLS front. Handshakes now mirror real TLS 1.3 sessions with per-domain profiles, dynamic certificate lengths, and realistic record fragmentation. Significantly harder to fingerprint via DPI
521-
- **ME Pool V2** — Middle-end connections now use keepalive padding frames, staggered warmup, and exponential backoff reconnects for better stability under load
522-
- **Dynamic config reload** — Engine picks up config.toml changes without a restart
523-
- **SOCKS proxy hostname support** — Upstream SOCKS4/SOCKS5 proxies now accept hostnames in addition to IPs
524-
- **Frame size fixes** — Resolved "frame too large" errors on middle-end connections
525-
- **Extended handshake timeout**`client_handshake` raised from 15s to 30s for slow networks
526-
527-
**New Features:**
528-
529-
- **Custom IP** — Set a custom IP for proxy links when behind NAT, CDN, or multi-IP setups. The proxy still binds to all interfaces — this only affects link/QR generation
530-
```bash
531-
mtproxymax ip 203.0.113.50 # Set custom IP
532-
mtproxymax ip auto # Reset to auto-detect
533-
```
534-
Also available in the setup wizard and TUI settings menu
535-
536-
**Performance:**
537-
538-
- **LTO builds** — Engine compiled with Link-Time Optimization (`LTO=true`, `codegen-units=1`) for ~10-20% faster throughput
539-
- **No default resource caps** — Docker CPU/memory limits now default to unlimited instead of 1 core / 256MB
503+
### v1.0.0 — Engine v3.1.2
504+
505+
**Engine Upgrade (v3.0.15 → v3.1.2):**
506+
507+
- **Parallel STUN Queries** — STUN subsystem now queries multiple servers in parallel for faster NAT detection
508+
- **Async ME Pool Init** — Middle-end pools created asynchronously and in parallel, faster startup and recovery
509+
- **Dead Writer Cleanup** — ME writers in dead state removed immediately, no more lingering connections or deadlocks
510+
- **Pool Validation** — Strict ME pool validation before accepting client connections, prevents failed handshakes
511+
- **Pool Observer** — New flap-detection in statistics monitors pool stability
512+
- **TLS-F Optimization** — TLS fingerprint fetching optimized
513+
- **ME Probe Parallelized** — Health checks run concurrently instead of serially
514+
- **Built-in Defaults** — Sensible defaults baked in, `tls_emulation` enabled by default, minimal config needed
515+
- **Detected IP in Links** — Log output now shows correct detected IP in proxy links
516+
- **PROXY Protocol Masking** — New `mask_proxy_protocol` option for PROXY protocol support
540517

541518
### v1.0.0 — Per-User Limits + Telegram Bot
542519

mtproxymax.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ UPSTREAMS_FILE="${INSTALL_DIR}/upstreams.conf"
2222
BACKUP_DIR="${INSTALL_DIR}/backups"
2323
CONTAINER_NAME="mtproxymax"
2424
DOCKER_IMAGE_BASE="mtproxymax-telemt"
25-
TELEMT_MIN_VERSION="3.0.15"
26-
TELEMT_COMMIT="ad1940b" # Pinned: v3.0.15ME Pool Health/Rotation, TLS cert TTL, desync forensics
25+
TELEMT_MIN_VERSION="3.1.2"
26+
TELEMT_COMMIT="6d6cd30" # Pinned: v3.1.2Parallel STUN/ME pools, dead writer cleanup, pool validation, defaults
2727
GITHUB_REPO="SamNet-dev/MTProxyMax"
2828
REGISTRY_IMAGE="ghcr.io/samnet-dev/mtproxymax-telemt"
2929

0 commit comments

Comments
 (0)