mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-11-21 00:41:57 +09:00
[docs] (P7): ph-f.md §6/§7 record the F fix round - the fingerprint refusal is one-directional and an un-redeployed phone shows as "no Welcome", the unix pairing window and the two pre-auth exposures are §12 debts, the token minimum is TCP-only, and the token examples are 16+ bytes
- ph-f.md: §0 rows F-a..F-d with package-tree SHAs; §2.2 states the asymmetry (new server + old client -> Refuse{WireFingerprint}; old server + new client -> the old AcceptPair closes both after 2000 ms and the client sees `no Welcome ... (rc=6)`, no Refuse frame); §6 the four fix commits with their red-once lines; §6.4 the unix arrival-order pairing (250 ms / 2000 ms) as a local-peer debt with the SELinux assumption named, and the two pre-auth exposures; §7 the gates on 2b2a0ae0
- CONTRACT-P7 §12: the two pre-auth exposures (fork before Hello with a 10 s wait; ValidatePeerHandshake before AuthenticatePeerToken sends the fingerprint and build stamp to an unauthenticated peer), the unix pairing debt, and the fingerprint asymmetry, for PH-7 (5)
- PLAN-PH-P34B-P7: PH-7 (3) says the minimum is checked at the TCP listen; PH-8 says "ignored, server-sized" rather than "clamped"; the no-token listen row's remaining-work cell no longer claims the smoke is unreferenced
- device-window-1-runbook §2 step 3: the un-redeployed-phone symptom, and where to look first
- ROADMAP §6 and peer-loss-probe: `MOBILEGL_IPC_TOKEN=devtoken` (8 bytes, which now exits 72) becomes a 25-byte token in every example
This commit is contained in:
@@ -128,7 +128,7 @@ server 在手机上**监听**,client 从 WSL **拨出**。理由不是偏好
|
||||
adb shell ip -f inet addr show wlan0
|
||||
# 3. 起 server(前台 Service → supervisor 监听)
|
||||
adb shell am start-foreground-service -n top.mobilegl.plugin.trace/top.mobilegl.plugin.MobileGLServerService \
|
||||
--es listen tcp://0.0.0.0:40613 --es token devtoken \
|
||||
--es listen tcp://0.0.0.0:40613 --es token devtoken-0123456789abcdef \
|
||||
--es env "MOBILEGL_BACKEND_TYPE=DirectGLES;MOBILEGL_PIPE_STATS=1;MOBILEGL_PIPE_STATS_PERIOD=1;MOBILEGL_LOG_FILE_PATH=/data/data/top.mobilegl.plugin.trace/files/mgl.log"
|
||||
adb logcat -s MobileGL | grep -m1 'listening on tcp://'
|
||||
# 停:adb shell am force-stop top.mobilegl.plugin.trace
|
||||
@@ -139,7 +139,7 @@ adb logcat -s MobileGL | grep -m1 'listening on tcp://'
|
||||
export MOBILEGL_TRANSPORT=spawn # 拓扑:两进程;不 fork,因为下面给了远端
|
||||
export MOBILEGL_IPC_CONTROL=tcp://<phone-ip>:40613
|
||||
export MOBILEGL_IPC_DATA=stream
|
||||
export MOBILEGL_IPC_TOKEN=devtoken
|
||||
export MOBILEGL_IPC_TOKEN=devtoken-0123456789abcdef # ≥16 字节(PH-7 (3)):更短的令牌让 server 以 72 退出而不是监听
|
||||
export MOBILEGL_IPC_REQUIRE_SAME_BUILD=1 # APK 与本地构建必须同 commit
|
||||
ctest -L integration-tcp-device -j 1 --output-on-failure # -j 1:设备同时只服务一个会话
|
||||
# retrace(同一环境):
|
||||
|
||||
Reference in New Issue
Block a user