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

[Bug]: 关于TUN模式的问题 #6278

Closed
2 tasks done
Zhopeful88 opened this issue Dec 13, 2024 · 1 comment
Closed
2 tasks done

[Bug]: 关于TUN模式的问题 #6278

Zhopeful88 opened this issue Dec 13, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Zhopeful88
Copy link

预期情况

经常性打开TUN 的时候会提示文件已经存在

实际情况

关闭了tun再关闭软件,下次打开的时候还是提示文件存。能不能增加一个功能,在打开tun 的时候做个判断,存在就清理,再打开?或者代码先重置tun几次再打开,实际使用发现有时候打开3-5次才能顺利打开。我不知道调用那个内核的时候,是不是接口问题还是每个电脑虚拟网卡不一样,如果是sing box 每次产生的虚拟网卡不一样还是,如果每次都不一样,那么我们去sing box 反馈,产生一个默认名+id 的网卡,这样就有特征值去重置

复现方法

打开tun

日志信息

FATAL[0015] start service: initialize inbound/tun[tun-in]: configure tun interface: Cannot create a file when that file already exists.

额外信息

No response

我确认已更新至最新版本

我确认已查询历史issues

@Zhopeful88 Zhopeful88 added the bug Something isn't working label Dec 13, 2024
@2dust 2dust closed this as not planned Won't fix, can't repro, duplicate, stale Dec 15, 2024
@2dust
Copy link
Owner

2dust commented Dec 15, 2024

#4539

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants