Closed vindia9 closed 1 month ago
awk '!/^$/&&!/^#/&&!/(^([1-9]|1[0-9]|1[1-9]{2}|2[0-4][0-9]|25[0-5])\.)(([0-9]{1,2}|1[1-9]{2}|2[0-4][0-9]|25[0-5])\.){2}([1-9]|[1-9][0-9]|1[0-9]{2}|2[0-5][0-9]|25[0-4])((\/[0-9][0-9])?)$/{printf("'${settype}'=/%s/'${nftflag}'china_ip_route_pass'" "'\n",$0)}' /etc/openclash/custom/openclash_custom_chnroute_pass.list
还原以后这个命令显示什么结果,eapis.cn是在哪里配置的域名
awk '!/^$/&&!/^#/&&!/(^([1-9]|1[0-9]|1[1-9]{2}|2[0-4][0-9]|25[0-5])\.)(([0-9]{1,2}|1[1-9]{2}|2[0-4][0-9]|25[0-5])\.){2}([1-9]|[1-9][0-9]|1[0-9]{2}|2[0-5][0-9]|25[0-4])((\/[0-9][0-9])?)$/{printf("'${settype}'=/%s/'${nftflag}'china_ip_route_pass'" "'\n",$0)}' /etc/openclash/custom/openclash_custom_chnroute_pass.list 还原以后这个命令显示什么结果,eapis.cn是在哪里配置的域名
我重新复现了一次,现在是这个情况:
# logread -f
Thu Sep 26 15:26:02 2024 daemon.crit dnsmasq[1]: recompile with HAVE_IPSET defined to enable ipset directives at line 1 of /tmp/dnsmasq.d/dnsmasq_openclash_chnroute_pass.conf
Thu Sep 26 15:26:02 2024 daemon.crit dnsmasq[1]: FAILED to start up
# cat /etc/openclash/custom/openclash_custom_chnroute_pass.list
#baidu.com
#114.114.114.114
##解决绕过大陆后谷歌商店无法更新
xn--ngstr-lra8j.com
services.googleapis.cn
googleapis.cn
# cat /tmp/dnsmasq.d/dnsmasq_openclash_chnroute_pass.conf
ipset=/xn--ngstr-lra8j.com/china_ip_route_pass
ipset=/services.googleapis.cn/china_ip_route_pass
ipset=/googleapis.cn/china_ip_route_pass
# awk '!/^$/&&!/^#/&&!/(^([1-9]|1[0-9]|1[1-9]{2}|2[0-4][0-9]|25[0-5])\.)(([0-9]{1,2}|1[1-9]{2}|2[0-4][0-9]|25[0-5])\.){2}([1-9]|[1-9][0-9]|1[0-9
]{2}|2[0-5][0-9]|25[0-4])((\/[0-9][0-9])?)$/{printf("'${settype}'=/%s/'${nftflag}'china_ip_route_pass'" "'\n",$0)}' /etc/openclash/custom/openclash_custom_chn
route_pass.list
=/xn--ngstr-lra8j.com/china_ip_route_pass
=/services.googleapis.cn/china_ip_route_pass
=/googleapis.cn/china_ip_route_pass
你的dnsmasq缺功能,换固件
dnsmasq --version
dnsmasq --version
# dnsmasq --version
Dnsmasq version 2.86 Copyright (c) 2000-2021 Simon Kelley
Compile time options: IPv6 GNU-getopt no-DBus UBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-cryptohash no-DNSSEC no-ID loop-detect inotify dumpfile
This software comes with ABSOLUTELY NO WARRANTY.
Dnsmasq is free software, and you are welcome to redistribute it
under the terms of the GNU General Public License, version 2 or 3.
重装或者换一下固件
重装或者换一下固件
好,谢谢。
Verify Steps
OpenClash Version
v0.46.033-beta
Bug on Environment
Official OpenWrt
OpenWrt Version
OpenWrt 22.03.3 r20028-43d71ad93e
Bug on Platform
Linux-amd64(x86-64)
Describe the Bug
在默认配置下,启动openclash,启动成功后所有网站均无法访问。 定位问题后发现只要注释掉
插件设置 - 流量控制 - 绕过指定区域 IPv4 黑名单
下的所有内容,就可正常启动。To Reproduce
插件设置 - 流量控制 - 绕过指定区域 IPv4 黑名单
文本框内的内容如下:logread -f
命令查看日志输出/tmp/dnsmasq.d/dnsmasq_openclash_chnroute_pass.conf
插件设置 - 流量控制 - 绕过指定区域 IPv4 黑名单
文本框内的内容全部注释掉,则不会出现步骤5中的错误日志,openclash启动后DNS解析正常。OpenClash Log
log 推测和
/etc/init.d/oepnclash
文件中1177行的if语句有关系OpenClash Config
No response
Expected Behavior
定位问题定位了好久,暂时只能注释掉
绕过指定区域 IPv4 黑名单
功能。Additional Context
No response