vernesong / OpenClash

A Clash Client For OpenWrt
MIT License
17.6k stars 3.19k forks source link

大佬好,使用筛选节点的配置无法使用 #845

Closed zhangzhang115 closed 4 years ago

zhangzhang115 commented 4 years ago

E147ACEB-4851-41CC-9CA1-2A7428941FAD A24588CA-F7D4-494E-B6F7-97A26E601631 BFA22B8E-6360-4920-AE34-ADEF9960B980 71699FA3-1565-48F3-98CB-1FDC641219BE 49D9B80F-F753-4B96-B854-2260DFD6A3F8 OpenClash 调试日志

生成时间: 2020-10-13 00:53:39 插件版本: v0.40.8-beta


#===================== 系统信息 =====================#
主机型号: Phicomm N1
固件版本: OpenWrt SNAPSHOT r2907-71e335c0b
LuCI版本: git-20.256.12360-1a54222-1
内核版本: 5.4.69-flippy-45+o
处理器架构: aarch64_generic

#此项在使用Tun模式时应为ACCEPT
防火墙转发: ACCEPT

#此项有值时建议到网络-接口-lan的设置中禁用IPV6的DHCP
IPV6-DHCP: 

#此项结果应仅有配置文件的DNS监听地址
Dnsmasq转发设置: 

#===================== 依赖检查 =====================#
dnsmasq-full: 已安装
coreutils: 已安装
coreutils-nohup: 已安装
bash: 已安装
curl: 已安装
jsonfilter: 已安装
ca-certificates: 已安装
ipset: 已安装
ip-full: 已安装
iptables-mod-tproxy: 已安装
libcap: 已安装
libcap-bin: 已安装
kmod-tun(TUN模式): 已安装
luci-compat(Luci-19.07): 已安装

#===================== 内核检查 =====================#
运行状态: 未运行
已选择的架构: linux-armv8

#下方无法显示内核版本号时请确认您的内核版本是否正确或者有无权限
Tun内核版本: 2020.10.09.g93e919b
Tun内核文件: 存在
Tun内核运行权限: 正常

Game内核版本: v0.17.0-206-gf8a1f1d
Game内核文件: 存在
Game内核运行权限: 正常

Dev内核版本: v1.2.0
Dev内核文件: 存在
Dev内核运行权限: 正常

#===================== 插件设置 =====================#
当前配置文件: /etc/openclash/config/ACL4SSR_Online<香港、美国>.yaml
运行模式: fake-ip-mix
默认代理模式: rule
UDP流量转发: 停用
DNS劫持: 启用
自定义DNS: 启用
IPV6-DNS解析: 停用
禁用Dnsmasq缓存: 启用
自定义规则: 停用
仅允许内网: 停用
仅代理命中规则流量: 停用
绕过中国大陆IP: 停用

#启动异常时建议关闭此项后重试
保留配置: 停用
第三方规则: 停用

#===================== 配置文件 =====================#
port: 7890
socks-port: 7891
allow-lan: true
mode: Rule
log-level: info
external-controller: 127.0.0.1:9090

#===================== 防火墙设置 =====================#

#NAT chain

Chain PREROUTING (policy ACCEPT)
num  target     prot opt source               destination         
1    REDIRECT   udp  --  0.0.0.0/0            0.0.0.0/0            udp dpt:53 redir ports 53
2    REDIRECT   tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:53 redir ports 53
3    prerouting_rule  all  --  0.0.0.0/0            0.0.0.0/0            /* !fw3: Custom prerouting rule chain */
4    zone_lan_prerouting  all  --  0.0.0.0/0            0.0.0.0/0            /* !fw3 */
5    zone_vpn_prerouting  all  --  0.0.0.0/0            0.0.0.0/0            /* !fw3 */
Chain OUTPUT (policy ACCEPT)
num  target     prot opt source               destination         

#Mangle chain

Chain PREROUTING (policy ACCEPT)
num  target     prot opt source               destination         
Chain OUTPUT (policy ACCEPT)
num  target     prot opt source               destination         

#===================== 路由表状态 =====================#
#route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.50.1    0.0.0.0         UG    0      0        0 br-lan
172.31.0.0      0.0.0.0         255.255.255.0   U     0      0        0 docker0
192.168.50.0    0.0.0.0         255.255.255.0   U     0      0        0 br-lan
#ip route list
default via 192.168.50.1 dev br-lan proto static 
172.31.0.0/24 dev docker0 proto kernel scope link src 172.31.0.1 linkdown 
192.168.50.0/24 dev br-lan proto kernel scope link src 192.168.50.200 
#ip rule show
0:  from all lookup local
32766:  from all lookup main
32767:  from all lookup default

#===================== Tun设备状态 =====================#

#===================== 端口占用状态 =====================#

#===================== 测试本机DNS查询 =====================#
Server:     127.0.0.1
Address:    127.0.0.1#53

Name:      www.baidu.com
www.baidu.com   canonical name = www.a.shifen.com
Name:      www.a.shifen.com
Address 1: 14.215.177.39
Address 2: 14.215.177.38
*** Can't find www.baidu.com: No answer

#===================== resolv.conf.d =====================#
# Interface lan
nameserver 192.168.50.1

#===================== 测试本机网络连接 =====================#
HTTP/1.1 200 OK
Accept-Ranges: bytes
Cache-Control: private, no-cache, no-store, proxy-revalidate, no-transform
Connection: keep-alive
Content-Length: 277
Content-Type: text/html
Date: Mon, 12 Oct 2020 16:53:41 GMT
Etag: "575e1f6d-115"
Last-Modified: Mon, 13 Jun 2016 02:50:21 GMT
Pragma: no-cache
Server: bfe/1.0.8.18

#===================== 测试本机网络下载 =====================#
HTTP/1.1 200 OK
Connection: keep-alive
Content-Length: 78
Content-Type: text/plain; charset=utf-8
Cache-Control: max-age=300
Content-Security-Policy: default-src 'none'; style-src 'unsafe-inline'; sandbox
ETag: "5016ea7c6325112383567f4aa1eeac12b629f69831d6247aa56e37973f3aab37"
Strict-Transport-Security: max-age=31536000
X-Content-Type-Options: nosniff
X-Frame-Options: deny
X-XSS-Protection: 1; mode=block
Via: 1.1 varnish (Varnish/6.0)
X-GitHub-Request-Id: 7DCE:069D:53A10F:596D35:5F84794A
Accept-Ranges: bytes
Date: Mon, 12 Oct 2020 16:53:42 GMT
Via: 1.1 varnish
X-Served-By: cache-tyo19950-TYO
X-Cache: HFM, HIT
X-Cache-Hits: 0, 1
X-Timer: S1602521622.165923,VS0,VE181
Vary: Authorization,Accept-Encoding, Accept-Encoding
Access-Control-Allow-Origin: *
X-Fastly-Request-ID: f9000885ddae90f116f5892047de8e0d27b532bf
Expires: Mon, 12 Oct 2020 16:58:42 GMT
Source-Age: 307

#===================== 最近运行日志 =====================#
time="2020-10-13T00:32:34+08:00" level=info msg="Start initial compatible provider 🚀 节点选择"
time="2020-10-13T00:32:34+08:00" level=info msg="Start initial compatible provider 🐟 漏网之鱼"
time="2020-10-13T00:32:34+08:00" level=info msg="Start initial compatible provider 🌏 出海媒体"
time="2020-10-13T00:32:34+08:00" level=info msg="Start initial compatible provider 🎯 全球直连"
time="2020-10-13T00:32:34+08:00" level=info msg="Start initial compatible provider 🇸🇬 狮城节点"
time="2020-10-13T00:32:34+08:00" level=info msg="Start initial compatible provider 🍃 应用净化"
time="2020-10-13T00:32:34+08:00" level=info msg="DNS server listening at: 127.0.0.1:7874"
2020-10-13 00:32:17 OpenClash Start Successful
2020-10-13 00:32:39 Watchdog: Force Reset DNS Hijack.
2020-10-13 00:32:36 Warning: Multiple Start Scripts Running, Exit...
2020-10-13 00:48:48 Error: Nameserver Option Must Be Setted, Auto Completing
2020-10-13 00:48:48 Error: OpenClash Can Not Start, Try Use Raw Config Restart Again
2020-10-13 00:48:48 Error: Get DNS 'listen' Option Error, OpenClash Can Not Start With Raw Config File
2020-10-13 00:48:48 Error: Get DNS 'enhanced-mode' Option Error, OpenClash Can Not Start With Raw Config File
2020-10-13 00:48:48 Error: Get General 'redir-port' Option Error, OpenClash Can Not Start With Raw Config File
time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 🇺🇲 美国节点"
time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 🇸🇬 狮城节点"
time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 🌏 出海媒体"
time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 🔯 故障转移"
time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 🛑 广告拦截"
time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 🌍 国外媒体"
time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 🎥 奈飞节点"
time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 🍃 应用净化"
time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider Ⓜ️ 微软云盘"
time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 🎮 游戏平台"
time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 🍎 苹果服务"
time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 🎥 奈飞视频"
time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 🇯🇵 日本节点"
time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 🇭🇰 香港节点"
time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 🌏 国内媒体"
time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 🎶 网易音乐"
time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 📲 电报消息"
time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 🚀 手动切换"
time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 🇰🇷 韩国节点"
time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 🔮 负载均衡"
time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 📹 油管视频"
time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 📢 谷歌FCM"
time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 🇨🇳 台湾节点"
time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider ♻️ 自动选择"
time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 🚀 节点选择"
time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 🐟 漏网之鱼"
time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 📺 巴哈姆特"
time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 🎯 全球直连"
time="2020-10-13T00:49:47+08:00" level=info msg="DNS server listening at: 127.0.0.1:7874"
2020-10-13 00:49:32 OpenClash Start Successful
2020-10-13 00:52:32 Error: Nameserver Option Must Be Setted, Auto Completing
2020-10-13 00:52:32 Error: OpenClash Can Not Start, Try Use Raw Config Restart Again
2020-10-13 00:52:32 Error: Get DNS 'listen' Option Error, OpenClash Can Not Start With Raw Config File
2020-10-13 00:52:32 Error: Get DNS 'enhanced-mode' Option Error, OpenClash Can Not Start With Raw Config File
2020-10-13 00:52:32 Error: Get General 'redir-port' Option Error, OpenClash Can Not Start With Raw Config File

port: 7890 socks-port: 7891 allow-lan: true mode: Rule log-level: info external-controller: 127.0.0.1:9090

===================== 防火墙设置 =====================

NAT chain

Chain PREROUTING (policy ACCEPT) num target prot opt source destination
1 REDIRECT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:53 redir ports 53 2 REDIRECT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:53 redir ports 53 3 prerouting_rule all -- 0.0.0.0/0 0.0.0.0/0 / !fw3: Custom prerouting rule chain / 4 zone_lan_prerouting all -- 0.0.0.0/0 0.0.0.0/0 / !fw3 / 5 zone_vpn_prerouting all -- 0.0.0.0/0 0.0.0.0/0 / !fw3 / Chain OUTPUT (policy ACCEPT) num target prot opt source destination

Mangle chain

Chain PREROUTING (policy ACCEPT) num target prot opt source destination
Chain OUTPUT (policy ACCEPT) num target prot opt source destination

===================== 路由表状态 =====================

route -n

Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.50.1 0.0.0.0 UG 0 0 0 br-lan 172.31.0.0 0.0.0.0 255.255.255.0 U 0 0 0 docker0 192.168.50.0 0.0.0.0 255.255.255.0 U 0 0 0 br-lan

ip route list

default via 192.168.50.1 dev br-lan proto static 172.31.0.0/24 dev docker0 proto kernel scope link src 172.31.0.1 linkdown 192.168.50.0/24 dev br-lan proto kernel scope link src 192.168.50.200

ip rule show

0: from all lookup local 32766: from all lookup main 32767: from all lookup default

===================== Tun设备状态 =====================

===================== 端口占用状态 =====================

===================== 测试本机DNS查询 =====================

Server: 127.0.0.1 Address: 127.0.0.1#53

Name: www.baidu.com www.baidu.com canonical name = www.a.shifen.com Name: www.a.shifen.com Address 1: 14.215.177.39 Address 2: 14.215.177.38 www.baidu.com canonical name = www.a.shifen.com

===================== resolv.conf.d =====================

Interface lan

nameserver 192.168.50.1

===================== 测试本机网络连接 =====================

HTTP/1.1 200 OK Accept-Ranges: bytes Cache-Control: private, no-cache, no-store, proxy-revalidate, no-transform Connection: keep-alive Content-Length: 277 Content-Type: text/html Date: Mon, 12 Oct 2020 16:53:44 GMT Etag: "575e1f65-115" Last-Modified: Mon, 13 Jun 2016 02:50:13 GMT Pragma: no-cache Server: bfe/1.0.8.18

===================== 测试本机网络下载 =====================

HTTP/1.1 200 OK Connection: keep-alive Content-Length: 78 Content-Type: text/plain; charset=utf-8 Cache-Control: max-age=300 Content-Security-Policy: default-src 'none'; style-src 'unsafe-inline'; sandbox ETag: "5016ea7c6325112383567f4aa1eeac12b629f69831d6247aa56e37973f3aab37" Strict-Transport-Security: max-age=31536000 X-Content-Type-Options: nosniff X-Frame-Options: deny X-XSS-Protection: 1; mode=block Via: 1.1 varnish (Varnish/6.0) X-GitHub-Request-Id: 8E6E:5340:52FB76:58C652:5F848A17 Accept-Ranges: bytes Date: Mon, 12 Oct 2020 16:53:45 GMT Via: 1.1 varnish X-Served-By: cache-tyo19921-TYO X-Cache: HIT, MISS X-Cache-Hits: 1, 0 X-Timer: S1602521625.900787,VS0,VE182 Vary: Authorization,Accept-Encoding, Accept-Encoding Access-Control-Allow-Origin: * X-Fastly-Request-ID: 4c8658cebc2d68b76c46d5d9d8ff0caef4e0e88e Expires: Mon, 12 Oct 2020 16:58:45 GMT Source-Age: 2

===================== 最近运行日志 =====================

time="2020-10-13T00:32:34+08:00" level=info msg="Start initial compatible provider 🚀 节点选择" time="2020-10-13T00:32:34+08:00" level=info msg="Start initial compatible provider 🐟 漏网之鱼" time="2020-10-13T00:32:34+08:00" level=info msg="Start initial compatible provider 🌏 出海媒体" time="2020-10-13T00:32:34+08:00" level=info msg="Start initial compatible provider 🎯 全球直连" time="2020-10-13T00:32:34+08:00" level=info msg="Start initial compatible provider 🇸🇬 狮城节点" time="2020-10-13T00:32:34+08:00" level=info msg="Start initial compatible provider 🍃 应用净化" time="2020-10-13T00:32:34+08:00" level=info msg="DNS server listening at: 127.0.0.1:7874" 2020-10-13 00:32:17 OpenClash Start Successful 2020-10-13 00:32:39 Watchdog: Force Reset DNS Hijack. 2020-10-13 00:32:36 Warning: Multiple Start Scripts Running, Exit... 2020-10-13 00:48:48 Error: Nameserver Option Must Be Setted, Auto Completing 2020-10-13 00:48:48 Error: OpenClash Can Not Start, Try Use Raw Config Restart Again 2020-10-13 00:48:48 Error: Get DNS 'listen' Option Error, OpenClash Can Not Start With Raw Config File 2020-10-13 00:48:48 Error: Get DNS 'enhanced-mode' Option Error, OpenClash Can Not Start With Raw Config File 2020-10-13 00:48:48 Error: Get General 'redir-port' Option Error, OpenClash Can Not Start With Raw Config File time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 🇺🇲 美国节点" time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 🇸🇬 狮城节点" time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 🌏 出海媒体" time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 🔯 故障转移" time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 🛑 广告拦截" time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 🌍 国外媒体" time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 🎥 奈飞节点" time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 🍃 应用净化" time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider Ⓜ️ 微软云盘" time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 🎮 游戏平台" time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 🍎 苹果服务" time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 🎥 奈飞视频" time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 🇯🇵 日本节点" time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 🇭🇰 香港节点" time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 🌏 国内媒体" time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 🎶 网易音乐" time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 📲 电报消息" time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 🚀 手动切换" time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 🇰🇷 韩国节点" time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 🔮 负载均衡" time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 📹 油管视频" time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 📢 谷歌FCM" time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 🇨🇳 台湾节点" time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider ♻️ 自动选择" time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 🚀 节点选择" time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 🐟 漏网之鱼" time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 📺 巴哈姆特" time="2020-10-13T00:49:47+08:00" level=info msg="Start initial compatible provider 🎯 全球直连" time="2020-10-13T00:49:47+08:00" level=info msg="DNS server listening at: 127.0.0.1:7874" 2020-10-13 00:49:32 OpenClash Start Successful 2020-10-13 00:52:32 Error: Nameserver Option Must Be Setted, Auto Completing 2020-10-13 00:52:32 Error: OpenClash Can Not Start, Try Use Raw Config Restart Again 2020-10-13 00:52:32 Error: Get DNS 'listen' Option Error, OpenClash Can Not Start With Raw Config File 2020-10-13 00:52:32 Error: Get DNS 'enhanced-mode' Option Error, OpenClash Can Not Start With Raw Config File 2020-10-13 00:52:32 Error: Get General 'redir-port' Option Error, OpenClash Can Not Start With Raw Config File

vernesong commented 4 years ago

ssh输入 capsh --supprots测试下依赖是否正常,不正常重装2.43版本的libcap和libcap-bin

zhangzhang115 commented 4 years ago

Snipaste_2020-10-13_10-59-47 ![Uploading Snipaste_2020-10-13_11-00-45.png…]()

zhangzhang115 commented 4 years ago

大佬好,重装libcap和libcap-bin,重启openwrt,现在原本的配置也用不起来了,感谢大佬