ElemenTP

Results 18 comments of ElemenTP

这个是存储proxygroup选项和tracing信息的数据库,要经常写入所以一直独占。建议把cache.db设置为不同步

> 我也碰到了这个的问题,打开TUN模式,nameserver里只用dns from dhcp的话,log里会显示`connect error: all DNS requests failed, first error: DHCP not responding`,直接填DHCP的DNS地址,比如 `192.168.1.1`,是可以正常工作的 我也一样,在nameserver里只填入dhcp提供的dns地址,tun模式下可以正常工作。2021年时期某些版本的premium core应该dns from dhcp在tun模式下能正常工作,但是我找不到旧版premium core了

> ### 用很久的配置了一直都没出现过问题。 > ``` > dns: > enable: true > listen: 0.0.0.0:53 > ipv6: true > default-nameserver: > - 1.1.1.1:53 > - 8.8.8.8:53 > - 9.9.9.9:53 > enhanced-mode: redir-host...

更新一下,premium版本已经更新到2022.07.07,此bug仍然存在,有一些新的发现 >使用wireshark抓取出口网卡,发现clash从dhcp正常获取了dns服务器地址,正常发送了解析请求,dns服务器也正常回复了解析结果,但由于未知原因,clash并没有收到解析结果。(192.168.1.1为dns服务器地址,192.168.1.20为测试主机地址) 这个判断是错误的,图中wireshark抓取的dns活动实际上是来自Windows的一个feature,自动跨所有网络发出 DNS 查询。https://github.com/Dreamacro/clash/issues/1177#issuecomment-758524782 https://github.com/Dreamacro/clash/issues/2136#issuecomment-1128410968 根据clash开源版本的代码的dns from dhcp部分(姑且认为这部分和premium版本是一致的),dns的dhcpClient在目标网卡上广播带DNS服务器option的dhcpv4的discover报文,并从收到的dhcp服务器返回的offer报文中解析dns服务器地址。解析到dns服务器地址后,dhcpClient才可以正常使用。 不开启tun模式的情况下,dns from dhcp正常使用的情况: ![屏幕截图 2022-07-12 162811-1](https://user-images.githubusercontent.com/57991536/178448043-26cfe74f-d7a3-4d00-94be-cd5c6b247386.png) 开启tun模式,dns from dhcp无法正常使用的情况: ![屏幕截图 2022-07-12 163118](https://user-images.githubusercontent.com/57991536/178448254-49cba00b-9cf3-4c18-867a-5d77cfe6749e.png) 从抓包结果可知,dns from dhcp在tun模式下不能正常工作的原因是dhcp discover包没有发出去,自然也收不到dhcp服务器的回复。而日志中`DHCP not responding`也确实说明clash没有收到dhcp服务器的回复。 但是,关闭tun模式使用系统代理,可以正常上网,之后再关闭系统代理,通过控制端口更新configs开启tun模式,此时tun模式下就可以正常上网了。 ![屏幕截图 2022-07-12...

撸了一个用于测试的工具,核心代码如下: ```go package cmd import ( "context" "fmt" "os" "github.com/Dreamacro/clash/component/dhcp" "github.com/spf13/cobra" ) // rootCmd represents the base command when called without any subcommands var rootCmd = &cobra.Command{ Use: "dhcptest", Short:...

https://github.com/BeyondDimension/SteamTools/releases/tag/2.8.0 steam++语言改为简体中文并重启steam++即可

> @ElemenTP 设置是点不开的 确实,忘了linux和macos上设置点不开这个事。。。那你可能需要把系统语言改为简体中文

打开管理员权限的cmd,用命令reagentc /info看一下re的状态

This has been discussed before: #1495