Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WireGuard inbound: Fix leaking session information between requests #4030

Merged
merged 3 commits into from
Nov 20, 2024
Merged

Conversation

Fangliding
Copy link
Member

Fix #3948 #4025

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

@RPRX RPRX changed the title Wireguard inbound: Fix leaking session information between requests WireGuard inbound: Fix leaking session information between requests Nov 20, 2024
@RPRX RPRX merged commit 59e5d24 into main Nov 20, 2024
36 checks passed
@Fangliding Fangliding deleted the wg-fix branch November 20, 2024 05:20
@solopasha
Copy link

solopasha commented Nov 23, 2024

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]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

wireguard inbound + vless outbound 偶尔连接错误的TCP
3 participants