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: Do not use kernel TUN #3960

Merged
merged 1 commit into from
Nov 1, 2024
Merged

Wireguard inbound: Do not use kernel TUN #3960

merged 1 commit into from
Nov 1, 2024

Conversation

Fangliding
Copy link
Member

@Fangliding Fangliding commented Oct 31, 2024

fix #3959
白话:system TUN 没做混杂模式支持 压根不能用 只能用 gvisor 如果没有设置的话 刚好又是Linux有权限 会尝试去用 然后炸掉 导致问题
对了 这个不是新版本引入的 旧版本也有问题

@yuhan6665 yuhan6665 merged commit 390265d into main Nov 1, 2024
36 checks passed
@yuhan6665
Copy link
Member

Thanks!

@RPRX
Copy link
Member

RPRX commented Nov 2, 2024

入站用不了的话,出站不知道普遍有没有权限,要不把 kernel tun 改为默认关闭吧,你怎么看

@Fangliding
Copy link
Member Author

不是说之前是默认看有没有权限吗 如果那么久没出问题那就觉得它没问题吧 保持这样有问题再说

@RPRX
Copy link
Member

RPRX commented Nov 2, 2024

那就先这样吧不折腾了,#3959 应该是因为他原本填了 kernelMode false,不过这个 PR 我要小改一下、补个日志

你写的 system tun 就是 kernel tun 的意思吧,为啥不写后者

@RPRX RPRX changed the title Wireguard inbound: Do not use system TUN Wireguard inbound: Do not use kernel TUN Nov 2, 2024
RPRX added a commit that referenced this pull request Nov 2, 2024
Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
@RPRX
Copy link
Member

RPRX commented Nov 2, 2024

对 git 的操作更娴熟了

RPRX added a commit that referenced this pull request Nov 2, 2024
Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
@RPRX
Copy link
Member

RPRX commented Nov 2, 2024

我突然也觉得 kernel 这个名字有歧义了,该不会有人理解成 Xray kernel 吧

@lslqtz
Copy link

lslqtz commented Nov 18, 2024

由于同样的配置在旧版本可以使用新版本不能使用, 怀疑出站也有问题. (noKernelTun 似乎可以解决
似乎不是同一个原因

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.

升级至24.10.31,在没有修改任何配置的情况下Vmess和Vless节点无法使用。
4 participants