github XTLS/Xray-core v25.12.1
Xray-core v25.12.1

latest release: v1.251201.0
8 hours ago

XTLS Vision: Add testpre (outbound pre-connect) and testseed (outbound & inbound) #5270

本次重点更新内容:

  1. XTLS Vision 加了试验性的“预连接”以消除延迟,开放用户自定义配置最关键的四个 padding 相关参数,详见 #5270
  2. 服务端 sockopt 加了 trustedXForwardedFor 以防止 XHTTP、WS、HU 客户端伪造源 IP,详见 #5331
  3. VLESS inbound 开了 Reverse Proxy 的 UUID 将默认被拒绝使用正向代理,更加安全,详见 #5101 (comment)
  4. @Meo597 对 DNS 和路由模块进行了一些重构、优化、功能新增,详见下方 change log

Sponsors

Remnawave

Happ

Sponsor Xray-core

Donation & NFTs

Collect a Project X NFT to support the development of Project X!

Project X NFT

该版本升级了一些依赖,并使用 Go 1.25.4 拉满 inline 编译,已 tag v1.251201.0,感谢所有贡献者,详见下方 change log

What's Changed

  • REALITY config: Return error when short id is too long by @Fangliding @RPRX in #5276
  • Fix wireguard not discarding broken connection on android by @Exclude0122 in #5304
  • README.md: Add Remnawave & Happ to Sponsors by @RPRX in 4e8ee30
  • README.md: Add TRX & TON & BTC & XMR & SOL to Donation & NFTs by @RPRX in 8a4b0a9
  • README.md: Add v2rayN to macOS & Linux Clients by @alen420 in #5271
  • Socks: Fix buffer full panic when encoding large UDP packets by @vemneyy @Fangliding in #5252
  • Docker: Use more aggressive inlining for higher efficiency by @Meo597 in #5242
  • Refactor WrapLink logic by @Fangliding in #5288
  • HTTP outbound: Read negotiated protocol from uTLS by @hax0r31337 in #5251
  • DNS: Fix wrong protocol parse by @vanserox @Fangliding in #5232
  • refactor(dns): enhance cache safety, optimize performance, and refactor query logic by @Meo597 in #5248
  • perf(GeoIPMatcher): faster heuristic matching with reduced memory usage by @Meo597 in #5289
  • perf(router): adjust the order of rules to optimize performance by @Meo597 in #5267
  • perf(dns): cache network capability check by @Meo597 in #5244
  • feat(dns): add optimistic caching by @Meo597 in #5237
  • feat(dns): add parallel query by @Meo597 in #5239
  • Router: Remove the deprecated UseIP option by @Meo597 in #5323
  • Sockopt config: Add trustedXForwardedFor (for XHTTP, WS, HU inbounds) by @RPRX in #5331
  • VLESS Reverse Proxy: Forbid reverse-proxy UUID using forward-proxy, enabled by default by @RPRX in a83253f
  • fix(dns): inheritance issue with disableCache by @Meo597 in #5351
  • XTLS Vision: Check TLS record isComplete by @yuhan6665 in #5179
  • XTLS Vision: Add testpre (outbound pre-connect) and testseed (outbound & inbound) by @RPRX @Fangliding in #5270

New Contributors

Full Changelog: v25.10.15...v25.12.1

Don't miss a new Xray-core release

NewReleases is sending notifications on new releases.