v1.8.8

XTLS/Xray-corev1.8.8Feb 25, 2024by yuhan6665

AI Summary

Focuses on UDP traffic handling and load balancing. Unifies XUDP traffic with Vision padding, adds `leastLoad` balancer strategy, and supports PROXY Protocol for Freedom outbound.

Key Highlights

  • Unifies XUDP traffic using Vision padding
  • New `leastLoad` load balancing strategy
  • Freedom outbound now supports PROXY Protocol

New Features

  • XUDP Vision padding
  • `leastLoad` balancer
  • PROXY Protocol support
  • Sockopt for UDP
  • MasterKeyLog support
  • WireGuard IPv6 address usage
  • TCP connection leak fixes

Full Release Notes

## Features
- 统一 XUDP 流量(例如 DNS 查询)使用 Vision 填充 ad3d347cfc1fada5e951ebcd3de9696f69a1f927 @RPRX
**注意:服务端需要 v1.8.1+**
**其它实现 `xtls-rprx-vision` 的开发者注意:请同步此修改 以后版本将只接受这种 UDP** 
- `balancer` 新增 `leastLoad` 策略(基于 `burstObservatory` 多次测量之平均速度和标准差衡量稳定性的最优选) #2999 @qjebbs @xiaokangwang @nekohasekai @4-FLOSS-Free-Libre-Open-Source-Software @AkinoKaede @KujouRinka
- sockopt 选项对 UDP 连接生效 #3002 @Fangliding @dyhkwong
- `freedom` 出站支持 PROXY Protocol #2988 @iainlau
- `masterKeyLog` 支持 uTLS 和 Reality #2911 #2912 @atmospher3

## Fixes
- 修复多处 TCP 连接未正确关闭导致的内存泄漏  #3001 @deorth-kku
- 使用 Fakedns 时 XUDP 回包地址问题 #2941 @dyhkwong
- Fakedns 返回 TTL 为 1 并且禁用  HTTPS 记录(QType 65)转发  #3006
- 修复 `freedom` 出站 splice 拷贝时的一个罕见 SSL 错误 3167a70ff8f0ac7e2b6c4f8ffc57a0a2ada0be9c
- 修复 `roundRobin` 策略 #2914 #2927 #2943 @hossinasaadi @vrnobody
- `wireguard` 地址使用 IPv6 #3021 @lunafe

## Chores
- 减少易出错的 UDP 测试
- 移除对 slices 包的依赖 @vrnobody
- 更新 readme @chise0713 @RPRX
- 更新所有依赖 包括 Go 1.22(1.21 需要修改 go.mod)@RPRX  @yin1999