Skip to content

v3.0.3

Choose a tag to compare

@bcblr1993 bcblr1993 released this 19 Nov 05:15
· 8 commits to main since this release

AetherRoute v3.0.3 (Build 2026111902)

核心修复与稳定性升级 / Fixes & Reliability Improvements

  • Rust 双引擎 TUN 死核根治、FFI 关闭竞态与内存优化 / Rust Dual-Engine Netstack, FFI Shutdown & Memory Hardening (Core/Engine 9243834, 54d279c)
    • 修复分片或畸形 UDP/IP 数据包触发 TUN runner 退出的根因,消除 tcp_stream 关闭时的 28 秒 FIN 延迟与 LockFreeRingBuffer 跨线程引用别名 UB,并将 TunDatagram 切换为 PollSender 消除突发 >32 包丢包与乱序。
    • 引入 ShutdownGuard 与完整后台任务 JoinHandle 追踪,退出与重载时等待端口彻底释放防 EADDRINUSE;合入 EncryptedFileStore 单缓冲原位加密(4096 上限 + spawn_blocking 原子落盘)、GeoData mmap 流式索引、SuccinctMatcherGroup 紧凑排序索引及 DNS 解析尾点/别名环路防护。
    • 封堵不可信 proxy-providers 读取本地路径证书/密钥(强制内联 PEM),消除配置解析与复合规则递归 panic(深度上限 16),全面加固 Hysteria2、ShadowTLS、gRPC、AnyTLS、WireGuard、SSH/ECH、WebSocket、TUIC 与 mux 边界处理。
  • Packet Tunnel、透明代理并发预算与核心业务审计修复 / NetworkExtension, Transparent Proxy & CoreKit Audit
    • Packet Tunnel 输出环隔离毒包并按策略丢弃禁用 IPv6 流量防止活锁;透明代理移除 makeFlow/resetNetworkState 锁竞争,引入空闲 UDP LRU 淘汰防止 TCP 饿死,支持 4096 并发 TCP/UDP 会话稳定运行于 512 MiB 内存上限内,并补齐 TCP 半关闭看门狗、UDP 空闲回收及自流量/基础设施排除。
    • 加固不可信订阅拉取的回环/内网/链路本地 SSRF 防护与 304 协商保护,补齐多行流式映射与转义键校验、运行态 dialer-proxy 环路剔除、iCloud 规则集加密同步与幂等防乒乓、系统代理局部失败回滚及外部控制链接权限校验。
  • 分发服务、Sparkle Appcast 与发布流水线加固 / Distribution Service, Appcast & CI Hardening
    • 加固 Go 分发服务并发校验、Sparkle Appcast CDATA 转义与 Homebrew Cask 校验,补齐 test_remote_arm64.sh 远端源码快照的 Distribution/ 同步与回归守卫。

全量验证结论 / Release Qualification & Verification

  • TDD, Fast Lane & Core Regression Suites:
    • Added P0-P2 regression suites in CoreKitAuditP0P2FixesTests (28 tests), TransparentProxyConcurrencyAndBudgetFixesTests (9 tests), MacFuncLifecycleAndV3FixTests, test_sparkle_appcast_generator.sh, and test_remote_arm64_guards.sh (verified red-to-green).
    • ./scripts/test_fast_lane.sh passed all steps (engine-unit: 610 passed, 0 failed, 24 ignored; engine_capabilities.py: outbound=18 rules=37 networks=12 plugins=3; differential-e2e: 10/10).
  • Dual-Fingerprint Interop, Real-Site ECH & 43-Node Protocol Lab (Core/Engine 54d279c):
    • Default-fingerprint and Chrome-fingerprint 12-protocol interop both passed 11/11 suites (68 case passes, 34 cert rejections each); Chrome real_site_tests (9 real sites + Cloudflare ECH) passed 2/2; 43-node protocol-lab differential vs Mihomo on vm:macos27 achieved both_ok=42, both_fail=1 with ours_missing=0, ours_fail=0, mihomo_fail=0.
  • 6-Dimension Tart VM Matrix, Remote ARM64 & UI/Memory Budget Gate (vm:macos27, 52m 44s):
    • 6-dimension matrix across tun/{rule,global,direct} and transparent/{rule,global,direct}: 160 PASS / 0 FAIL / 50 SKIP, 3/3 PASS on all 5 Transparent Proxy gates; remote ARM64 fast gate passed (AetherRouteTests.xctest: 724 XCTests + 144 Swift Testing across 22 suites; AetherRouteTransparentProxySupportTests.xctest: 114; AetherRouteFlowCoreBridgeTests.xctest: 29; flow_engine_mibps=2967.359, packet_engine_mibps=2890.696).
    • UI & Memory Budget Gate (300s showcase + 300s large, status=passed): showcase (420 switches) p50=90.2 ms / p95=124.1 ms / max=198.2 ms, memory 79 MB / 93 MB / +2 MB; large (420 switches) p50=91.0 ms / p95=121.8 ms / max=133.7 ms, memory 72 MB / 87 MB / +2 MB.
  • Notarized Candidate Runtime Evidence (vm:macos27):
    • Bound to notarized stable candidate DMG (f26900499a89cd407d26482b554f6adf791429dbdeafb82f1ee0e33e61b20d93): TUN (50s idle PASS, 2 MiB upload 3.391308s, NIC switch 0/0/2/2/1/1 s <= 15s) & Transparent Proxy (50s idle PASS, 2 MiB upload 4.606271s, NIC switch 1/1/0/0/2/0 s <= 15s).

校验信息 / Checksums

  • AetherRoute-3.0.3-build-2026111902-arm64.dmg (Developer ID Signed, Apple Notarized & Stapled):
    • SHA-256: 5d36f1d37bdf92329149f2c2eb83e202e3b94c256b929ad385a3d0517ae19178
    • Size: 31,870,496 bytes
    • Sparkle Ed25519 Signature: 8T1VsZld1YSX012/X2CSclBB/4NOBIyuum1QphNj2UcCHjOBTkdDrCizU4pARufEyW2pipEfniVIsEWAcmtBBA==