Skip to content

XrayDroid v0.3.1

Pre-release
Pre-release

Choose a tag to compare

@yeeeee0529 yeeeee0529 released this 15 Oct 01:45
· 17 commits to main since this release

面板連接埠 TOCTOU 修補

  • XuiService 啟動流程改將 127.0.0.1:2053 綁定測試與子程序啟動緊接於同一區間,預檢 socket 持有至啟動返回後才釋放,避免第三方 App 於空檔搶先佔用連接埠,使真正的管理面板無法綁定。
  • 功能與原生核心不變;沿用 3x-ui v3.8.5、Xray-core v26.6.27 與 frpc v0.71.0。

Panel port TOCTOU fix

  • XuiService now performs the 127.0.0.1:2053 bind check and the child process spawn inside a single ServerSocket scope, holding the pre-check socket until start() returns so no third-party app can squat the port in the gap and force the real panel to fail binding.
  • No feature or native core changes; cores remain pinned to 3x-ui v3.8.5, Xray-core v26.6.27, and frpc v0.71.0.

安裝 / Install

下載 app-release.apk 後覆蓋安裝,或執行:

adb install -r app-release.apk

版本:0.3.1(versionCode 4)。沿用既有 Android debug key 簽署,可覆蓋安裝使用相同金鑰的舊版並保留資料。

Requires Android 8.0 / API 26+ on arm64-v8a.

Targeted validation: ktlint, lint, unit tests, and release build passed; APK verified as versionCode 4 / versionName 0.3.1 with v2 signature (same debug certificate as previous releases). On-device instrumentation tests (ServerLifecycleTest, NetworkSwitchLifecycleTest) and the adversarial port-squatting scenario were not exercised this round — no device was available.