Skip to content

xray-rust 0.9.0

Choose a tag to compare

@aimalygin aimalygin released this 03 Nov 03:55
· 619 commits to main since this release
Immutable release. Only release title and notes can be modified.

Stable minor release of xray-rust 0.9.0. The mobile SDK is distributed separately through xray-rust-mobile.

Changes:

  • Add SOCKS5 and HTTP/HTTPS outbounds with link import, and the classic Shadowsocks AEAD client (aes-128-gcm, aes-256-gcm, chacha20-poly1305, xchacha20-poly1305) with SIP002 ss:// import.
  • Support Mux on VLESS outbounds and UDP hopping for XHTTP over HTTP/3, matching Xray-core v26.10.21.
  • Fix Mux children that read slower than the server, which lost their session, and the TUN TCP receive window that stalled window-limited uploads.
  • Additive C ABI 1.13–1.15: in-flight outbound probe cancellation, Android startup-probe preflight and live TUN counters. The R8 keep rules for JNI classes ship with the library. No public Swift or Kotlin API was removed.
  • Transport memory and CPU reductions, plus trust-store and zstd security updates. See the changelog.

Known limitations explicitly accepted for 0.9.0:

  • Only the 13 schema-4 performance metrics were measured. There is no non-regression claim against 0.8.1; the full comparison is planned for 0.9.1.
  • Shadowsocks AEAD xchacha20-poly1305 reached a median 59% of paired Xray-core single-flow throughput (about 680 versus 1140 MiB/s). The other three ciphers reached 95–100%.
  • REALITY servers on Xray-core v26.10.21 reject a ClientHello without an X25519MLKEM768 key share. The uTLS profiles ios, edge, qq, android, 360 and the older hello* identifiers do not send it, so they fail against such servers, as upstream Xray clients with the same fingerprints do.
  • SOCKS UDP through an Xray-core server needs the server's ephemeral UDP relay ports reachable.
  • HTTP CONNECT relays no UDP; the HTTP evidence shows every UDP probe refused as a negative control.
  • Android Wi-Fi/cellular and lock/wake transitions were not tested (#89 remains open).

Validation includes fresh exact-candidate runs on a physical iPhone 17 Pro Max (iOS 27.0.1) and Samsung SM-A145F (Android 15). The iPhone also ran Wi-Fi → cellular → Wi-Fi and lock/wake for SOCKS, HTTP, HTTPS and Shadowsocks AEAD against a pinned Xray-core v26.10.21 server over the internet, with zero retries. Complete core and SDK candidate CI passed, and all 13 schema-4 performance metrics are within their thresholds. Device runs used campaign-local harness fixes only; none touched the native library. Superseded attempts are retained with their causes. A schema-validation pass does not mean every trial passed.

Original failures, negative controls, fixture conditions, exact binary and source identities and the explicit 0.9.0 owner decision are retained in the attached evidence.

Measured report · Exact-candidate evidence validation.

Source verification: immutable tag checks confirm every other required tag CI gate and two independent secret scans. The tag CI secret-scan failure is retained: with the candidate's own scanner configuration it flagged six reviewed false positives in the 0.9.0 evidence commit on main, five public binary SHA-256 fields and one collector case-id line. The release tag was not changed.