[Bug] Mixed堆栈对TCP/UDP的区分可能造成一些应用运行在预期外
Verify steps
- [X] I have read the documentation and understand the meaning of all the configuration items I have written, rather than just piling up seemingly useful options or default values.
- [X] I have carefully reviewed the documentation and have not resolved the issue.
- [X] I have searched the Issue Tracker for the issue I want to raise and did not find it.
- [ ] I am a non-Chinese user.
- [X] I have tested with the latest Alpha branch version, and the issue still persists.
- [X] I have provided the server and client configuration files and processes that can reproduce the issue locally, rather than a sanitized complex client configuration file.
- [X] I provided the simplest configuration that can be used to reproduce the errors in my report, rather than relying on remote servers or piling on a lot of unnecessary configurations for reproduction.
- [X] I have provided complete logs, rather than just the parts I think are useful out of confidence in my own intelligence.
- [X] I have directly reproduced the error using the Mihomo command-line program, rather than using other tools or scripts.
Operating System
Linux
System Version
OpenWrt 23.05.5 r24106
Mihomo Version
Mihomo Meta alpha-g59a2b24 linux amd64 with go1.22.7 Mon Sep 23 11:53:09 UTC 2024 with OpenClash
Configuration File
tun:
enable: true
stack: mixed
device: utun
dns-hijack:
- tcp://any:53
gso: true
gso-max-size: 65536
auto-route: false
auto-detect-interface: false
auto-redirect: false
strict-route: false
Description
mihomo通过openclash部署在OpenWrt 23.05.5 r24106版本的路由器上。
子网内的iOS,在运行 应用/游戏 (APP:Squad Busters,美区appstore/美服)时候发现,能够进入大厅,但无法进入游戏对战(停留在加载页面)。 通过调整配置发现,发现区别在 stack: mixed(无法进入)/system(顺利进入)/gvisor(顺利进入)
据了解mixed态下,tcp走system,udp走gvisor
这个应用进行对战游戏时候,会保持两种连接
在mixed下,可能是某种验证机制,导致该游戏无法进入对战。也许其他一些应用也会有这种影响。
请问这是堆栈mixed模式分流tcp/udp后预期内表现吗?
Reproduction Steps
OpenClash,Core:Mihomo Meta alpha-g59a2b24
APP:Squad Busters,美区appstore/美服 app分流策略:未指定,others->proxy 或者 other->direct fake-ip
观察上述app/游戏,进入大厅后,进入对战的情况。 其他配置不变,通过调整配置: stack: mixed(无法进入) stack: system(顺利进入) stack: gvisor(顺利进入)
Logs
No response
哥们,你这个内核版本有点怪啊,建议手动安装最新的内核,或者考虑使用openwrt-mihomo
哥们,你这个内核版本有点怪啊,建议手动安装最新的内核,或者考虑使用openwrt-mihomo
因为是openclash带的,我用 clash -v查的,可能是openclash项目那边编译的
openwrt-mihomo有其他我用到的需求待提升,所以暂时铲掉了,有条件可以再试试。
我刚刚部署回openwrt-mihomo,复现了。发自我的 iPhone在 2024年10月23日,15:38,ForestL @.***> 写道: 哥们,你这个内核版本有点怪啊,建议手动安装最新的内核,或者考虑使用openwrt-mihomo
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
@NV3S 请直接运行内核,否则该issues会被视为无效
Have a good day.