Add proxy speed measurement, connection logs and standalone Android packaging

This commit is contained in:
shen
2026-10-13 23:08:57 -07:00
parent f94dab0555
commit 72566b9a8a
22 changed files with 551 additions and 91 deletions
@@ -0,0 +1,10 @@
# Android independent package — 2026-10-13
- App: MeshPort 独立版; application ID `com.meshport.client.standalone`.
- Build: 0.1.0 / 1791938964, ARM64 Release, Android 8.0/API 26 minimum.
- Artifact: `outputs/android/MeshPort-Standalone-0.1.0-1791938964-release.apk`.
- APK SHA-256: `fb252396aeca83cf3340445046b7698f9db7f92c3b8c2979ecab4a7c1e319557`.
- New persistent RSA 3072 signing identity; certificate SHA-256: `ab8bc33b6441aec319fb7b585038efb1f1550f12d1fc5b9de8fd11d4302b7c4d`.
- APK Signature Scheme v2 verification, archive integrity, public bundled configuration, AOT packaging, ZIP 16 KB alignment and native ELF alignment passed. Manifest confirms the original fully qualified MainActivity and MeshVpnService implementations, with a distinct app ID and receiver permission.
- Build command: `sh scripts/package-lab-android.sh --standalone`. Signing files are under ignored `work/android-signing/`, preserved by cache cleanup; retain/back up this directory for compatible future independent-app updates.
- Original app and its profiles are untouched. Independent app has its own sandbox and needs configuration imported again; this package does not update the old app. No device was available, so actual installation, VPN connection and video throughput were not tested.
@@ -0,0 +1,20 @@
# Latest macOS and Android packages — 2026-10-13
These packages include the new overview proxy speed card, removal of overview test widgets, proxy log filtering and info-level redacted engine logging, along with the earlier local profile storage, macOS helper authorization reuse and video TCP fallback.
## macOS
- Artifact: `outputs/macos/MeshPort-0.1.0-1791957009-arm64-release.zip` (contains `MeshPort.app`). Expanded bundle also retained under the same versioned output name.
- SHA-256: `8aab1f5a32324947ef6f9c1605b9d2425ec69081e5311e60d7462e686ee9cb4c`.
- Version 0.1.0 / 1791957009; Apple Silicon, macOS 12+.
- Apple Development signed; deep/strict signature verification passed. Not Developer ID/notarized. Helper included; ZIP integrity and exact public default configuration verified.
## Android
- Artifact: `outputs/android/MeshPort-Standalone-0.1.0-1791957094-release.apk`.
- SHA-256: `030bc2a85c9d04064c8d02fe2cfa54a9132eea6e80e871c7de25e6e912207e0d`.
- App label MeshPort 独立版; ID `com.meshport.client.standalone`; version 0.1.0 / 1791957094; ARM64, Android 8.0+.
- Persistent signing certificate SHA-256 `ab8bc33b6441aec319fb7b585038efb1f1550f12d1fc5b9de8fd11d4302b7c4d`, matching the preceding independent APK. Intended to update that independent app while keeping its profiles, or install alongside the original app with a separate sandbox.
- APK signature v2, archive integrity, AOT, exact public default configuration, 16 KB ZIP alignment and all six native ELF library alignments passed.
Flutter tests (55 passed / 6 skipped), analyzer, Go bridge suite/race and vet passed before packaging. Both full Release builds passed. No existing app was replaced or launched, and no device/VPN/WAN speed test was performed. These builds supersede the preceding validation note that no updated installer had been produced.
@@ -0,0 +1,8 @@
# Proxy overview, speed measurement and logs — 2026-10-13
- Removed network overview test latency, trends and quick-test launcher. Added manual proxy speed card for proxy/combined use, with progress, cancellation, Mbps/MB/s and first-byte timing.
- Speed download uses a loopback HTTP proxy on the existing managed port; the inbound now supports HTTP and SOCKS while retaining tracked connection limits and cleanup. No direct fallback; existing routing rules remain in effect. Maximum 32 MB / 15 seconds from Cloudflare, so results reflect current routing and endpoint conditions, not guaranteed node or video-CDN throughput.
- Proxy logging now includes info-level connection/outbound messages, retaining redaction and bounded buffers (128 native / 300 UI). Application-mode refresh includes proxy runtime events. Log UI offers all/proxy scopes and copies the visible scope.
- Go bridge suite and race tests passed, vet passed. Real HTTP CONNECT fixture confirms selected SOCKS outbound and actual connection log collection; existing TCP/UDP, lifecycle, routing and QUIC tests passed.
- Final Flutter suite: 55 passed / 6 skipped; analyzer clean. Overview/log UI tests passed. Three speed tests cover explicit proxy use without target DNS, unavailable proxy without direct fallback, failed responses and cancellation.
- No real device, privileged TUN speed measurement or WAN bandwidth test performed. No updated installer produced for these UI/engine changes; preceding independent APK predates them.