Xray-core

Latest version: v1.8.24.3

Safety actively analyzes 714792 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 16

24.12.31

See https://github.com/XTLS/Xray-core/releases/tag/v25.3.6

24.12.28

See https://github.com/XTLS/Xray-core/releases/tag/v25.3.6

24.12.18

XHTTP client: Refactor "packet-up" mode, chasing "stream-up" 4150

这是 2024 年最后一个版本,包含了大量重要更新:**比如再次优化了 XHTTP packet-up 模式的上行,修好了 bug 的同时速率直追 stream-up,还会自动切换连接以避免超过单个连接 HTTP 累计请求数限制,主要利好 H3 及穿透无流式上行的 CDN。** 更多的更新内容请看第三版 [XHTTP: Beyond REALITY](https://github.com/XTLS/Xray-core/discussions/4113),还讨论了套 CDN 是否属于“滥用”的问题。

为了配合 XHTTP 对 TLS 的广泛使用,**Xray-core 已将 "chrome" 设为默认指纹**,防止手动输入配置时忘了选指纹。

**请支持一个 REALITY NFT:https://opensea.io/assets/ethereum/0x5ee362866001613093361eb8569d59c4141b76d1/2**

如果你有余力,请支持一个 Project X NFT:https://opensea.io/assets/ethereum/0x5ee362866001613093361eb8569d59c4141b76d1/1

**一个新的 Xray 客户端正在开发中,持有 REALITY NFT 将获得早期内测资格。圣诞节会发布一篇 XUDP UoT Migration 的文章,并公布 Project X 2024 年度贡献者,颁奖一个 Project X NFT。2025.1.1 每个 Project X NFT 将获赠两个 REALITY NFT。**

What's Changed
* Transport: Remove HTTP by RPRX in https://github.com/XTLS/Xray-core/commit/ae62a0fb526f2faa0aa8b3fbce5a566187059090
* WireGuard inbound: Add missing inbound session information back by Fangliding in https://github.com/XTLS/Xray-core/pull/4126
* XHTTP server: Forbid Mux.Cool except pure XUDP by RPRX in https://github.com/XTLS/Xray-core/pull/4128
* XHTTP, WS, HU: Forbid "host" in `headers`, read `serverName` instead by RPRX in https://github.com/XTLS/Xray-core/pull/4142
* Core: Fix memory leaks with RequireFeatures() by yuhan6665 in https://github.com/XTLS/Xray-core/pull/4095
* Chore: "io/ioutil" -> "io" by ChengenH in https://github.com/XTLS/Xray-core/pull/4143
* XHTTP client: Refactor "packet-up" mode, chasing "stream-up" by RPRX in https://github.com/XTLS/Xray-core/pull/4150
* Core: Fix startup error when `dns` exists but `fakedns` doesn't by RPRX in https://github.com/XTLS/Xray-core/commit/743435d6e6feb1d5144ce004c35a11afa0d768bf
* XHTTP client: Add decideHTTPVersion() and more logs by RPRX in https://github.com/XTLS/Xray-core/commit/7463561856f75ed42564e8a6fad722c6bafc74a6
* XHTTP XMUX: Add `hMaxRequestTimes` and `hKeepAlivePeriod` by RPRX in https://github.com/XTLS/Xray-core/pull/4163
* WebSocket config: Fix `headers` by rosebe in https://github.com/XTLS/Xray-core/pull/4177
* REALITY, TLS config: Set "chrome" as the default `fingerprint` by RPRX in https://github.com/XTLS/Xray-core/commit/96fb680d45c6b356cadf67bcabe29ad5e1a2f6a5
* XHTTP `downloadSettings`: Inherit `sockopt` if its own doesn't exist (e.g., in `extra`) by RPRX in https://github.com/XTLS/Xray-core/commit/9dbdf92c2728070e3e58008598880eb2e9f79188
* XHTTP client: `scMaxEachPostBytes` should be bigger than buf.Size (8192) by RPRX in https://github.com/XTLS/Xray-core/commit/ff8b66aacb0fdfd52c050fd62d73368545ebcd58

24.12.15

See https://github.com/XTLS/Xray-core/releases/tag/v24.12.18

24.11.30

XHTTP: Add "stream-one" mode for client & server 4071

~~又到了一月一次的大版本更新~~,让我们补上 XHTTP 近期最后一大块拼图:**XHTTP 新增 stream-one 模式,详见 4071**

**接棒一个月,给你们一个完全体 XHTTP。客户端 REALITY 已默认使用 stream-one,请及时升级服务端。**

新文章已发布:[XHTTP: Beyond REALITY](https://github.com/XTLS/Xray-core/discussions/4113)

预告已久的 [REALITY NFT](https://opensea.io/assets/ethereum/0x5ee362866001613093361eb8569d59c4141b76d1/2) 现已开售,请多多支持:

- 总数一千个,首发一百个的售价为 0.01 ETH,此后的售价会涨,**抢到首发就是纯捡漏**
- ~~一篇介绍 REALITY 的文章将于接下来几天发布~~ 变成了介绍 XHTTP
- **持有 REALITY NFT 可获得一个新的 Xray 客户端的早期内测资格,以及下一个 NFT 的空投,就像**
- 2025.1.1 时持有 [Project X NFT](https://github.com/XTLS/Xray-core/discussions/3633) 将获赠两个 REALITY NFT

在大家的支持下,**Project X NFT 已翻五六倍**,对于 Project X NFT 首发时观望的朋友,这是一次弥补遗憾的好机会:
https://opensea.io/assets/ethereum/0x5ee362866001613093361eb8569d59c4141b76d1/2

What's Changed
* Chore: Refactor tests in app/router by zonescape in https://github.com/XTLS/Xray-core/pull/4019
* Test: Remove temporary directory afterwards by zonescape in https://github.com/XTLS/Xray-core/pull/4045
* Chore: Improved log messaging by red-avtovo in https://github.com/XTLS/Xray-core/pull/4050
* XHTTP: Add "stream-one" mode for client & server by RPRX in https://github.com/XTLS/Xray-core/pull/4071
* XHTTP config: Add `keepAlivePeriod` for client by Fangliding RPRX in https://github.com/XTLS/Xray-core/pull/4075
* WebSocket config: Add `heartbeatPeriod` for client & server by hr567 RPRX in https://github.com/XTLS/Xray-core/pull/4065

以及升级一些依赖。

New Contributors
* red-avtovo made their first contribution in https://github.com/XTLS/Xray-core/pull/4050
* hr567 made their first contribution in https://github.com/XTLS/Xray-core/pull/4065

**Full Changelog**: https://github.com/XTLS/Xray-core/compare/v24.11.21...v24.11.30

24.11.21

XHTTP client: Add gRPC header to "stream-up" mode by default 4042

这个版本为 stream-up 模式的上行 POST 请求默认加上了 gRPC 标头,**经测试 CF H2 支持它,详见 4042**

**所以,顺便把客户端 auto 的行为改为了 TLS H2 或 REALITY 时默认 stream-up,请尽快适配**

这个版本还修好了 packet-up 模式的上行遗留问题,上行测速再也不会断了

**蓦然回首,XHTTP 已经成为了很多场景下,尤其是穿透 CDN 时的最佳选择,Make Xray Great Again!**

**~~这次有没有又开启了一个崭新的时代不重要~~,支持一下 Project X NFT 非常重要:[Announcement of NFTs by Project X 3633](https://github.com/XTLS/Xray-core/discussions/3633)**

What's Changed
* Test: Change address for DNS over QUIC tests by zonescape in https://github.com/XTLS/Xray-core/pull/4002
* REALITY client: Log invalid connections at warning level by RPRX in https://github.com/XTLS/Xray-core/commit/1a238cbb7d213433942dcc6268274e0638805e23
* Update Dockerfile to Use Multiple Config Files by lxsq in https://github.com/XTLS/Xray-core/pull/4010
* Chore: Use a more direct and less error-prone return value by pinglanlu in https://github.com/XTLS/Xray-core/pull/4008
* Chore: Drop dead code in test by zonescape in https://github.com/XTLS/Xray-core/pull/4012
* WireGuard kernelTun: Fix multi-outbounds not work by Fangliding in https://github.com/XTLS/Xray-core/pull/4015
* Chore: Refactor infra/conf.TestToCidrList() by zonescape in https://github.com/XTLS/Xray-core/pull/4017
* XHTTP client: Fix upload issue in "packet-up" mode inherited from SplitHTTP by RPRX in https://github.com/XTLS/Xray-core/commit/2d7b0e8cd4f1fc6ec840891dbc03b4e781d0a5ad
* XHTTP test: Fix Test_maxUpload by RPRX in https://github.com/XTLS/Xray-core/commit/1f570d9cefb750b9f1d3730ce21a7c6341e1bd6f
* Config: Correctly marshal `Address` to JSON by yiguous in https://github.com/XTLS/Xray-core/pull/4021
* WireGuard inbound: Fix leaking session information between requests by Fangliding in https://github.com/XTLS/Xray-core/pull/4030
* Test: Delete temporary file afterwards by zonescape in https://github.com/XTLS/Xray-core/pull/4028
* HTTP transport: Use dest as Host if not set by Fangliding in https://github.com/XTLS/Xray-core/pull/4038
* XHTTP client: Add gRPC header to "stream-up" mode by default by RPRX in https://github.com/XTLS/Xray-core/pull/4042

以及升级一些依赖。

New Contributors
* lxsq made their first contribution in https://github.com/XTLS/Xray-core/pull/4010
* pinglanlu made their first contribution in https://github.com/XTLS/Xray-core/pull/4008
* yiguous made their first contribution in https://github.com/XTLS/Xray-core/pull/4021

**Full Changelog**: https://github.com/XTLS/Xray-core/compare/v24.11.11...v24.11.21

Page 2 of 16

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.