Closed Zyilin98 closed 2 years ago
换v0.44.16,模式就用推荐的fakeip增强+策略
换v0.44.16,模式就用推荐的fakeip增强+策略
换了0.44.16一样有这问题 用tun模式是因为有udp代理需求 不用fakeip是因为有部分应用有兼容问题 虽然fake-ip用着超级爽
gvisor和system的插件设置都是一样的,可能是内核的问题,待观察
贴一下debug的日志 运行在fake-ip下 tun协议栈为systeam 仍有之前的问题
2022-02-08 11:29:12 level=info msg="[TCP] 192.168.1.225:53072 --> 20.42.65.85:443 match Match() using Final[🇭🇰 香港 01]" 2022-02-08 11:29:11 level=debug msg="[Rule] find process name Process error: protocol not supported" 2022-02-08 11:29:04 level=info msg="[TCP] 192.168.1.225:53071 --> inference.location.live.net:443 match DomainSuffix(live.net) using 🖥 Microsoft[🇭🇰 香港 01]" 2022-02-08 11:29:04 level=debug msg="[Rule] find process name Process error: protocol not supported" 2022-02-08 11:29:04 level=debug msg="[DNS] inference.location.live.net --> 13.76.219.184" 2022-02-08 11:29:01 level=info msg="[TCP] 192.168.1.225:53069 --> settings-win.data.microsoft.com:443 match DomainSuffix(microsoft.com) using 🖥 Microsoft[🇭🇰 香港 01]" 2022-02-08 11:29:01 level=debug msg="[Rule] find process name Process error: protocol not supported" 2022-02-08 11:29:01 level=debug msg="[DNS] settings-win.data.microsoft.com --> 40.74.108.123" 2022-02-08 11:28:52 level=info msg="[TCP] 192.168.1.225:53068 --> deff.nelreports.net:443 match Match() using Final[🇭🇰 香港 01]" 2022-02-08 11:28:52 level=debug msg="[Rule] find process name Process error: protocol not supported" 2022-02-08 11:28:52 level=debug msg="[DNS] deff.nelreports.net --> 23.218.94.74" 2022-02-08 11:28:51 level=info msg="[UDP] 192.168.1.225:56151 --> rs-ny.rustdesk.com:21116 match Match() using Final[🇭🇰 香港 01]" 2022-02-08 11:28:51 level=debug msg="[Rule] find process name Process error: protocol not supported" 2022-02-08 11:28:51 level=info msg="[UDP] 192.168.1.225:56150 --> rs-sg.rustdesk.com:21116 match Match() using Final[🇭🇰 香港 01]" 2022-02-08 11:28:51 level=debug msg="[Rule] find process name Process error: protocol not supported" 2022-02-08 11:28:51 level=debug msg="[DNS] rs-ny.rustdesk.com --> 216.128.140.17" 2022-02-08 11:28:51 level=debug msg="[DNS] rs-sg.rustdesk.com --> 45.76.181.120" 2022-02-08 11:28:38 level=info msg="[TCP] 192.168.1.225:53067 --> APAC05.azure-devices.net:443 match Match() using Final[🇭🇰 香港 01]" 2022-02-08 11:28:37 level=debug msg="[Rule] find process name Process error: protocol not supported" 2022-02-08 11:28:37 level=debug msg="[DNS] APAC05.azure-devices.net --> 20.43.70.166" 2022-02-08 11:28:31 level=info msg="[TCP] 192.168.1.225:53066 --> assets.msn.cn:443 match DomainSuffix(cn) using China-Websites[DIRECT]" 2022-02-08 11:28:31 level=debug msg="[Rule] find process name Process error: protocol not supported" 2022-02-08 11:28:31 level=debug msg="[DNS] assets.msn.cn --> 218.58.102.48" 2022-02-08 11:28:30 level=info msg="[TCP] 192.168.1.225:53063 --> www.baidu.com:443 match DomainSuffix(baidu.com) using China-Websites[DIRECT]" 2022-02-08 11:28:30 level=info msg="[TCP] 192.168.1.225:53064 --> www.baidu.com:443 match DomainSuffix(baidu.com) using China-Websites[DIRECT]" 2022-02-08 11:28:30 level=info msg="[TCP] 192.168.1.225:53065 --> www.baidu.com:443 match DomainSuffix(baidu.com) using China-Websites[DIRECT]" 2022-02-08 11:28:30 level=info msg="[TCP] 192.168.1.225:53062 --> www.baidu.com:443 match DomainSuffix(baidu.com) using China-Websites[DIRECT]" 2022-02-08 11:28:30 level=debug msg="[Rule] find process name Process error: protocol not supported" 2022-02-08 11:28:30 level=debug msg="[Rule] find process name Process error: protocol not supported" 2022-02-08 11:28:30 level=debug msg="[Rule] find process name Process error: protocol not supported" 2022-02-08 11:28:30 level=debug msg="[Rule] find process name Process error: protocol not supported" 2022-02-08 11:28:30 level=debug msg="[DNS] www.baidu.com --> 110.242.68.3" 2022-02-08 11:28:30 level=debug msg="[DNS] www.baidu.com --> 110.242.68.3" 2022-02-08 11:28:30 level=debug msg="[DNS] www.baidu.com --> 110.242.68.4" 2022-02-08 11:28:30 level=debug msg="[DNS] www.baidu.com --> 110.242.68.3" 2022-02-08 11:28:25 level=info msg="[TCP] 192.168.1.225:53060 --> 20.42.65.85:443 match Match() using Final[🇭🇰 香港 01]" 2022-02-08 11:28:25 level=debug msg="[Rule] find process name Process error: protocol not supported" 2022-02-08 11:28:22 level=info msg="[TCP] 192.168.1.225:53058 --> www.msn.cn:443 match DomainSuffix(cn) using China-Websites[DIRECT]" 2022-02-08 11:28:22 level=info msg="[TCP] 192.168.1.225:53056 --> windows.msn.cn:443 match DomainSuffix(cn) using China-Websites[DIRECT]" 2022-02-08 11:28:22 level=info msg="[TCP] 192.168.1.225:53057 --> assets.msn.cn:443 match DomainSuffix(cn) using China-Websites[DIRECT]" 2022-02-08 11:28:22 level=debug msg="[Rule] find process name Process error: protocol not supported" 2022-02-08 11:28:22 level=debug msg="[Rule] find process name Process error: protocol not supported" 2022-02-08 11:28:22 level=debug msg="[Rule] find process name Process error: protocol not supported" 2022-02-08 11:28:22 level=debug msg="[DNS] www.msn.cn --> 202.89.233.96" 2022-02-08 11:28:22 level=debug msg="[DNS] assets.msn.cn --> 218.58.102.48" 2022-02-08 11:28:22 level=debug msg="[DNS] windows.msn.cn --> 202.89.233.96" 2022-02-08 11:28:08 level=info msg="[TCP] 192.168.1.225:53051 --> github.com:443 match DomainKeyword(github) using Final[🇭🇰 香港 01]" 2022-02-08 11:28:08 level=info msg="[TCP] 192.168.1.225:53050 --> github.com:443 match DomainKeyword(github) using Final[🇭🇰 香港 01]" 2022-02-08 11:28:08 level=info msg="[TCP] 192.168.1.225:53048 --> github.com:443 match DomainKeyword(github) using Final[🇭🇰 香港 01]" 2022-02-08 11:28:08 level=info msg="[TCP] 192.168.1.225:53047 --> github.com:443 match DomainKeyword(github) using Final[🇭🇰 香港 01]" 2022-02-08 11:28:08 level=info msg="[TCP] 192.168.1.225:53042 --> s1.music.126.net:443 match DomainSuffix(126.net) using China-Websites[DIRECT]" 2022-02-08 11:28:08 level=debug msg="[Rule] find process name Process error: protocol not supported" 2022-02-08 11:28:08 level=info msg="[TCP] 192.168.1.225:53041 --> api-ipv4.ip.sb:443 match Match() using Final[🇭🇰 香港 01]" 2022-02-08 11:28:08 level=info msg="[TCP] 192.168.1.225:53049 --> github.com:443 match DomainKeyword(github) using Final[🇭🇰 香港 01]" 2022-02-08 11:28:08 level=info msg="[TCP] 192.168.1.225:53046 --> s1.music.126.net:443 match DomainSuffix(126.net) using China-Websites[DIRECT]" 2022-02-08 11:28:08 level=info msg="[TCP] 192.168.1.225:53045 --> s1.music.126.net:443 match DomainSuffix(126.net) using China-Websites[DIRECT]" 2022-02-08 11:28:08 level=info msg="[TCP] 192.168.1.225:53043 --> s1.music.126.net:443 match DomainSuffix(126.net) using China-Websites[DIRECT]" 2022-02-08 11:28:08 level=debug msg="[Rule] find process name Process error: protocol not supported" 2022-02-08 11:28:08 level=debug msg="[Rule] find process name Process error: protocol not supported" 2022-02-08 11:28:08 level=debug msg="[Rule] find process name Process error: protocol not supported" 2022-02-08 11:28:08 level=debug msg="[Rule] find process name Process error: protocol not supported" 2022-02-08 11:28:08 level=info msg="[TCP] 192.168.1.225:53044 --> s1.music.126.net:443 match DomainSuffix(126.net) using China-Websites[DIRECT]" 2022-02-08 11:28:08 level=debug msg="[Rule] find process name Process error: protocol not supported" 2022-02-08 11:28:08 level=debug msg="[Rule] find process name Process error: protocol not supported"
将协议栈从system换成gvisor 上网等行为均正常 log中仍然有 [Rule] find process name Process error: protocol not supported的提示
换了一下 2021.12.07-17-g89376cf 的tun内核 测试下来的情况和2022.1.27的内核情况是一样的 cfw下也是 fake-ip tun模式 22.1.27内核 也没有这个问题
emmm 问题解决了
我为了排除固件问题就编译了好几个版本的固件 之后在测试的时候随手就刷了一个
测试的时候怀疑是设备问题 就用我自己的笔记本通过转接卡启动了一下固件
然后从订阅链接拉了最新的配置文件 发现就没有问题了
除了debug日志下仍有level=debug msg="[Rule] find process name Process error: protocol not supported"
的提示之外没有任何问题
已经重刷了好几次固件了 也换了别的设备运行openwrt 症状是在tun模式下 system协议栈中就会出现 无法访问任何网站 ping延迟小于1ms nalookup正常解析 curl也能获取正确的网站信息 fake-IP redirect-host两种模式下均有此情况 将协议栈改为gvisor或者兼容模式运行 则不会出现上方情况 但是ip.skk.moe的IP测试结果中 从国内查询为我本地的ipv4地址 从国外查询为我的ipv6地址 不会出现节点的ip地址 同时任何网站正常访问 没有其他问题
下面是运行在 redirect-host模式下tun协议栈为system生成的调试日志 OpenClash 调试日志
生成时间: 2022-02-07 17:24:41 插件版本: v0.44.09-beta 隐私提示: 上传此日志前请注意检查、屏蔽公网IP、节点、密码等相关敏感信息