XTLS / Xray-core

Xray, Penetrates Everything. Also the best v2ray-core, with XTLS support. Fully compatible configuration.
https://t.me/projectXray
Mozilla Public License 2.0
25.86k stars 3.98k forks source link

WireGuard inbound: Fix leaking session information between requests #4030

Closed Fangliding closed 1 week ago

Fangliding commented 1 week ago

Fix #3948 #4025

我本来以为是设计缺陷,结果这竟然是故意的,wg入站在入站级别共享一系列session参数(s.info) 这些参数对于每个请求都应该是独立的 多个入站互相操作这些参数导致目标可能被不正确重置 暂时没看懂为什么这么做

solopasha commented 6 days ago

I think this broke routing by tag.

This is how it used to look (v24.11.11):

xray[1122931]: 2024/11/22 18:35:40 from tcp:0.0.0.0:0 accepted tcp:****:80 [wireguard-in -> reality-ro]

And now (v24.11.21):

xray[1129149]: 2024/11/23 9:21:47 from tcp:0.0.0.0:0 accepted tcp:****:80 [reality-ro]