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

clash tun模式配合下游zjuconnect,当clash分流错误时会死循环 #57

Closed
cxz66666 opened this issue Jul 28, 2024 · 2 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@cxz66666
Copy link
Collaborator

软件版本
latest

使用环境
Windows 10 x64

服务端地址
rvpn.zju.edu.cn:443

故障描述 (建议结合图片说明)

windows下使用clash tun模式作为流量入口,分流规则中接入下游的zjuconnect,zjuconnect使用socks/http监听1080端口

当clash分流规则错误,将类似baidu.com等需要直连的网站转发至zjuconnect时,zjuconnect会使用dialDirectWithoutProxy直接访问,然而这次访问会被clashtun模式接管,然后继续转发到zjuconnect,形成死循环。

虽然该bug是由clash分流配置错误引起的,但是zjuconnect能否检测/并及时提示反馈给用户;或者直接将包注入指定的网卡,不使用现在这种普通的DialContext;或者我们还是应该维持现在的逻辑,用户配置错误用户自己买单。

image

@cxz66666 cxz66666 added the bug Something isn't working label Jul 28, 2024
@Mythologyli
Copy link
Owner

Mythologyli commented Jul 29, 2024

检测的话感觉没有什么必要,我觉得文档里面提醒一下就可以。绑定到网口可以作为一个功能来实现,到时候可以在文档里提一下绑定到端口也可以解决上述问题

@cxz66666
Copy link
Collaborator Author

有道理,我后面更新一下文档中Tun mode注意事项

@cxz66666 cxz66666 closed this as not planned Won't fix, can't repro, duplicate, stale Jul 30, 2024
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