Xray-core v25.12.8
XTLS Vision: Add testpre (outbound pre-connect) and testseed (outbound & inbound) https://github.com/XTLS/Xray-core/pull/5270
本次重点更新内容:
- XTLS Vision 加了试验性的“预连接”以消除延迟,开放用户自定义配置最关键的四个 padding 相关参数,详见 https://github.com/XTLS/Xray-core/pull/5270
- 服务端 sockopt 加了
trustedXForwardedFor以防止 XHTTP、WS、HU 客户端伪造源 IP,详见 https://github.com/XTLS/Xray-core/pull/5331 - VLESS inbound 开了 Reverse Proxy 的 UUID 将默认被拒绝使用正向代理,更加安全,详见 https://github.com/XTLS/Xray-core/pull/5101#issuecomment-3567464144
- @Meo597 对 DNS 和路由模块进行了一些重构、优化、功能新增,详见下方 change log
Sponsors
Donation & NFTs
Collect a Project X NFT to support the development of Project X!
- TRX(Tron)/USDT/USDC:
TNrDh5VSfwd4RPrwsohr6poyNTfFefNYan - TON:
UQApeV-u2gm43aC1uP76xAC1m6vCylstaN1gpfBmre_5IyTH - BTC:
1JpqcziZZuqv3QQJhZGNGBVdCBrGgkL6cT - XMR:
4ABHQZ3yJZkBnLoqiKvb3f8eqUnX4iMPb6wdant5ZLGQELctcerceSGEfJnoCk6nnyRZm73wrwSgvZ2WmjYLng6R7sR67nq - SOL/USDT/USDC:
3x5NuXHzB5APG6vRinPZcsUv5ukWUY1tBGRSJiEJWtZa - ETH/USDT/USDC:
0xDc3Fe44F0f25D13CACb1C4896CD0D321df3146Ee - Project X NFT: https://opensea.io/item/ethereum/0x5ee362866001613093361eb8569d59c4141b76d1/1
- VLESS NFT: https://opensea.io/collection/vless
- REALITY NFT: https://opensea.io/item/ethereum/0x5ee362866001613093361eb8569d59c4141b76d1/2
- Related links: VLESS Post-Quantum Encryption, XHTTP: Beyond REALITY, Announcement of NFTs by Project X
该版本升级了一些依赖,并使用 Go 1.25.5 拉满 inline 编译,已 tag v1.251208.0,感谢所有贡献者,详见下方 change log
What's Changed
- REALITY config: Return error when short id is too long by @Fangliding @RPRX in https://github.com/XTLS/Xray-core/pull/5276
- Fix wireguard not discarding broken connection on android by @Exclude0122 in https://github.com/XTLS/Xray-core/pull/5304
- README.md: Add Remnawave & Happ to Sponsors by @RPRX in https://github.com/XTLS/Xray-core/commit/4e8ee302a6705247ff73da21ade38dc1b83730b5
- README.md: Add TRX & TON & BTC & XMR & SOL to Donation & NFTs by @RPRX in https://github.com/XTLS/Xray-core/commit/8a4b0a9eb084fff56128cc22fe50d1915ce40487
- README.md: Add v2rayN to macOS & Linux Clients by @alen420 in https://github.com/XTLS/Xray-core/pull/5271
- Socks: Fix buffer full panic when encoding large UDP packets by @vemneyy @Fangliding in https://github.com/XTLS/Xray-core/pull/5252
- Docker: Use more aggressive inlining for higher efficiency by @Meo597 in https://github.com/XTLS/Xray-core/pull/5242
- Refactor WrapLink logic by @Fangliding in https://github.com/XTLS/Xray-core/pull/5288
- HTTP outbound: Read negotiated protocol from uTLS by @hax0r31337 in https://github.com/XTLS/Xray-core/pull/5251
- DNS: Fix wrong protocol parse by @vanserox @Fangliding in https://github.com/XTLS/Xray-core/pull/5232
- refactor(dns): enhance cache safety, optimize performance, and refactor query logic by @Meo597 in https://github.com/XTLS/Xray-core/pull/5248
- perf(GeoIPMatcher): faster heuristic matching with reduced memory usage by @Meo597 in https://github.com/XTLS/Xray-core/pull/5289
- perf(router): adjust the order of rules to optimize performance by @Meo597 in https://github.com/XTLS/Xray-core/pull/5267
- perf(dns): cache network capability check by @Meo597 in https://github.com/XTLS/Xray-core/pull/5244
- feat(dns): add optimistic caching by @Meo597 in https://github.com/XTLS/Xray-core/pull/5237
- feat(dns): add parallel query by @Meo597 in https://github.com/XTLS/Xray-core/pull/5239
- Router: Remove the deprecated UseIP option by @Meo597 in https://github.com/XTLS/Xray-core/pull/5323
- Sockopt config: Add
trustedXForwardedFor(for XHTTP, WS, HU inbounds) by @RPRX in https://github.com/XTLS/Xray-core/pull/5331 - VLESS Reverse Proxy: Forbid reverse-proxy UUID using forward-proxy, enabled by default by @RPRX in https://github.com/XTLS/Xray-core/commit/a83253f3d7a4d423d2bfdf522205daacd8ee868e
- fix(dns): inheritance issue with disableCache by @Meo597 in https://github.com/XTLS/Xray-core/pull/5351
- XTLS Vision: Check TLS record isComplete by @yuhan6665 in https://github.com/XTLS/Xray-core/pull/5179
- XTLS Vision: Add
testpre(outbound pre-connect) andtestseed(outbound & inbound) by @RPRX @Fangliding in https://github.com/XTLS/Xray-core/pull/5270 - XTLS Vision: Fix IsCompleteRecord() by @Fangliding in https://github.com/XTLS/Xray-core/pull/5365
- XTLS Vision: Discard expired pre-connect conn automatically by @RPRX in https://github.com/XTLS/Xray-core/commit/c123f163c20d5f54cb92fc1421c844955cddbaaf
- XTLS Vision: Fix enabled uplink splice flag by mistake by @yuhan6665 in https://github.com/XTLS/Xray-core/pull/5391
- XTLS Vision: LogInfo() -> LogDebug() by @RPRX in https://github.com/XTLS/Xray-core/commit/bd7503d506b07252e9c6ae48ef084be7b95fb1c3
- Chore: Remove ctlcmd and leftover envvar by @KobeArthurScofield in https://github.com/XTLS/Xray-core/pull/5392
New Contributors
- @Exclude0122 made their first contribution in https://github.com/XTLS/Xray-core/pull/5304
- @alen420 made their first contribution in https://github.com/XTLS/Xray-core/pull/5271
- @vemneyy made their first contribution in https://github.com/XTLS/Xray-core/pull/5252
- @vanserox made their first contribution in https://github.com/XTLS/Xray-core/pull/5232
Full Changelog: https://github.com/XTLS/Xray-core/compare/v25.10.15...v25.12.8