Repository navigation
Patch release of xray-rust 0.10.1. The mobile SDK is distributed separately through xray-rust-mobile.
Changes:
- Security: the QUIC stack under Hysteria, MASQUE, XHTTP over HTTP/3 and DNS over QUIC moves to quinn-proto 0.11.19 and quinn 0.11.12, which close ways a peer, or anyone who sees the client's first packet, could exhaust a client's memory or abort it (RUSTSEC-2026-0338, 0339, 0341, 0342, 0523, 0524). TLS takes upstream rustls' 0.23.45/0.23.46 fixes in the vendored shaped-rustls: a server can no longer make a client that offers brotli certificate compression, as the Chrome-shaped fingerprints do, allocate 1 GiB (RUSTSEC-2026-0348), with RUSTSEC-2026-0285, 0346 and 0349 beside it. No ClientHello byte changes.
- Every TLS and REALITY fingerprint advertises its uTLS profile's whole cipher suite list, where the suites rustls does not implement were left off the wire.
- A Hysteria connect attempt to a server's last or only address gets what is left of the dial's ten seconds, at most eight, where it had three.
xray_core_freeno longer waits for a system DNS lookup still in flight.- See the changelog.
TUN TCP sniffing for destOverride is not in this release: it changes what profiles saved from 0.10.0's importers do, and waits for 0.11.0 with a migration of those profiles.
Known limitations explicitly accepted for 0.10.1:
- Memory: against a build of 0.9.0 measured in the same run, sampled peak memory is above the 110% budget for nine of the twelve protocols 0.9.0 shipped (112.0% to 127.5%; 0.10.0 had ten). Throughput and p95 latency are within budget for all twelve.
- Android: Wi-Fi/cellular changes, for mKCP, MASQUE and XHTTP over HTTP/3, and lock/wake were not tested. The iPhone ran all of them.
- Three device runs were made on 0.10.0's build and not repeated on this one: the iPhone's
xicmpand Wi-Fi/cellular mKCP runs and Android'sxicmprun. They carry mKCP with VLESS and no TLS, REALITY or QUIC, which this release does not change. - A MASQUE or WireGuard tunnel carries at most 16 TCP flows at once, idle ones included, and refuses the next one at once. Android's MASQUE resource stress therefore ran 8 connections at a time where mKCP ran 32.
- MASQUE does not deliver a UDP datagram above 1252 bytes over IPv4 or 1232 bytes over IPv6.
- MASQUE download on a single flow reached a median 21.0% of Xray-core's rate on the loopback. Upload, full duplex and download on eight flows were faster than Xray-core's.
- mKCP: the server learns that a flow was cancelled about six seconds after the client closes it, as with Xray-core's own client.
- On the LAN test bed the iPhone's first exchange after a tunnel start sometimes failed or was slow, because the phone looks up the fixture Mac's address again at every start and the Mac, on Wi-Fi, answered late. Four LAN runs needed a second or third attempt; every attempt is retained. Runs against the public server had no such failure.
- In the iPhone's resource run MASQUE's resident memory grew 8.48 MiB, above the 8 MiB bound the 0.9.0 evidence used and inside the bound 0.10.0's owner decision set before this measurement (9.81 MiB). Physical footprint (+0.19 MiB) and threads (+0), the documented criterion, passed.
- A server that picks a cipher suite rustls does not implement (CBC or RSA key exchange) now fails the handshake, where Xray-core would complete it on that suite. A server that prefers an AEAD suite is unaffected.
Validation includes runs on a physical iPhone 17 Pro Max (iOS 27.0.1) and Samsung SM-A145F (Android 15). On this release's tree the iPhone ran every LAN scenario of the profile, and Wi-Fi → cellular → Wi-Fi with lock/wake for MASQUE and XHTTP over HTTP/3 against a pinned Xray-core v26.11.9 server over the internet with zero retries; the Samsung ran every LAN scenario of the profile on both TUN backends, each on its first attempt. Complete core and SDK candidate CI passed, and all ten gate measurements are within their thresholds. 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.10.1 owner decision are retained in the attached evidence.
Measured report · Exact-candidate evidence validation · Candidate CI.
Source verification: tag CI verified the tag and changelog, scanned the tag's own history, revalidated the device evidence and bound the tag to the passing candidate CI run on the same commit. The attached source-tag-validation.json is its record.