Skip to content

1.5.0

Choose a tag to compare

@github-actions github-actions released this 28 Aug 09:20
· 14 commits to main since this release
v1.5.0: fix VLESS XHTTP from RIXXX panel subscription + REALITY support

Root cause of 'XHTTP never worked from subscription':
- Our User-Agent was 'NekoBox/Android/...' -> the RIXXX panel's
  detectSubClient() matched the 'nekobox' token and served the sing-box
  JSON subscription. In that branch the panel converts admin bonus links
  via bonusUrlToSingboxOutbound(), which only understands ws/grpc
  transports: a vless://...type=xhttp bonus link silently LOSES its
  transport and arrives as a broken plain-VLESS outbound that our
  parseXhttpOutbound() correctly rejects (network != xhttp). The profile
  imported as ordinary VLESS and could never connect.

Fixes:
- Nets.kt: switch subscription User-Agent to 'RX-PRO/Android/<ver>'.
  The panel now falls back to the base64 URI list where the XHTTP link
  is appended VERBATIM and parseXhttp() handles it natively
  (naive/mieru/hy2 already parse fine from that list).
- XhttpBean/XhttpFmt: add REALITY support (security=reality, pbk/sid/spx
  query params -> Xray realitySettings with mandatory uTLS fingerprint,
  default chrome). Previously pbk/sid were silently dropped, breaking
  every XHTTP+REALITY share link even when added manually.
- Kryo serialization bumped to version 1 (backward compatible: old
  version-0 profiles still deserialize).
- RawUpdater.parseXhttpOutbound(): recognize REALITY in both Xray style
  (streamSettings.realitySettings) and sing-box style (tls.reality).
- XhttpSettingsActivity + xhttp_preferences.xml: editable Reality
  Public Key / ShortId / SpiderX fields; 'reality' added to the
  security selector.
- Version bump 1.4.0 -> 1.5.0 (versionCode 6).