vernesong / OpenClash

A Clash Client For OpenWrt
MIT License
16.91k stars 3.11k forks source link

[Bug] ERR [Config] configuration file test failed error=initial rule provider ****** error: file must have a `payload` field path=/etc/openclash/YToo.yaml; #3462

Closed Faramitas closed 11 months ago

Faramitas commented 1 year ago

Verify Steps

OpenClash Version

v0.45.129-beta

Bug on Environment

Official OpenWrt

Bug on Platform

Linux-amd64(x86-64)

To Reproduce

关闭meta内核,启用第三方规则,无法启动openclash

Describe the Bug

如果要使用第三方规则,必须打开meta内核才正常启动 openclash,关闭meta内核的话就不能正常启动,就会提示

ERR [Config] configuration file test failed error=initial rule provider Scholar error: file must have a payload field path=/etc/openclash/YToo.yaml;“Scholar” 也会换成其他规则的名称

OpenClash Log

OpenClash 调试日志

生成时间: 2023-08-15 00:51:07 插件版本: v0.45.129-beta 隐私提示: 上传此日志前请注意检查、屏蔽公网IP、节点、密码等相关敏感信息


#===================== 系统信息 =====================#

主机型号: VMware, Inc. VMware Virtual Platform
固件版本: ImmortalWrt 21.02.6 r20007-6e54cb5d37
LuCI版本: git-20.074.84698-ead5e81
内核版本: 5.4.242
处理器架构: 

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

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

#===================== 依赖检查 =====================#

dnsmasq-full: 已安装
coreutils: 已安装
coreutils-nohup: 已安装
bash: 已安装
curl: 已安装
ca-certificates: 已安装
ipset: 已安装
ip-full: 已安装
libcap: 已安装
libcap-bin: 已安装
ruby: 已安装
ruby-yaml: 已安装
ruby-psych: 已安装
ruby-pstore: 已安装
kmod-tun(TUN模式): 已安装
luci-compat(Luci >= 19.07): 已安装
kmod-inet-diag(PROCESS-NAME): 未安装
unzip: 已安装
iptables-mod-tproxy: 已安装
kmod-ipt-tproxy: 已安装
iptables-mod-extra: 未安装
kmod-ipt-extra: 未安装
kmod-ipt-nat: 已安装

#===================== 内核检查 =====================#

运行状态: 未运行
已选择的架构: linux-amd64

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

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

Meta内核版本: alpha-g0b1aff5
Meta内核文件: 存在
Meta内核运行权限: 正常

#===================== 插件设置 =====================#

当前配置文件: /etc/openclash/config/YToo.yaml
启动配置文件: /etc/openclash/YToo.yaml
运行模式: redir-host
默认代理模式: rule
UDP流量转发(tproxy): 停用
自定义DNS: 启用
IPV6代理: 停用
IPV6-DNS解析: 停用
禁用Dnsmasq缓存: 启用
自定义规则: 停用
仅允许内网: 停用
仅代理命中规则流量: 启用
仅允许常用端口流量: 停用
绕过中国大陆IP: 启用
路由本机代理: 启用

#启动异常时建议关闭此项后重试
混合节点: 停用
保留配置: 停用

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

#===================== 配置文件 =====================#

port: 7890
socks-port: 7891
redir-port: 7892
mixed-port: 7893
allow-lan: true
mode: rule
log-level: info
ipv6: false
external-controller: 0.0.0.0:9090
clash-for-android:
  append-system-dns: false
profile:
  tracing: true
  store-selected: true
experimental:
  sniff-tls-sni: true
dns:
  enable: true
  listen: 0.0.0.0:7874
  default-nameserver:
  - 223.5.5.5
  - 8.8.4.4
  ipv6: false
  enhanced-mode: fake-ip
  nameserver:
  - 114.114.114.114
  - 119.29.29.29
  - 223.5.5.5
  fallback:
  - https://1.0.0.1/dns-query
  - https://public.dns.iij.jp/dns-query
  - tls://8.8.4.4:853
  fallback-filter:
    geoip: false
    ipcidr:
    - 240.0.0.0/4
    - 0.0.0.0/32
    - 127.0.0.1/32
    domain:
    - "+.facebook.com"
    - "+.twitter.com"
    - "+.google.com"
    - "+.googleapis.com"
    - "+.google.cn"
    - "+.googleapis.cn"
    - "+.xn--ngstr-lra8j.com"
    - "+.googlevideo.com"
    - "+.gvt1.com"
    - "+.gmail.com"
    - "+.youtube.com"
    - "+.youtu.be"
    - "+.gvt0.com"
    - "+.gvt2.com"
    - "+.gvt3.com"
    - "+.gstatic.com"
    - "+.265.com"
    - "+.2mdn.net"
    - "+.app-measurement.com"
    - "+.c.admob.com"
    - "+.clickserve.dartsearch.net"
    - "+.crl.pki.goog"
    - "+.doubleclick.net"
    - "+.firebase-settings.crashlytics.com"
    - "+.google-analytics.com"
    - "+.googleadservices.com"
    - "+.googleanalytics.com"
    - "+.googleoptimize.com"
    - "+.googlesyndication.com"
    - "+.googletagmanager.com"
    - "+.googletagservices.com"
  fake-ip-filter:
  - "*.lan"
  - "*.localdomain"
  - "*.example"
  - "*.invalid"
  - "*.localhost"
  - "*.test"
  - "*.local"
  - "*.home.arpa"
  - time.*.com
  - time.*.gov
  - time.*.edu.cn
  - time.*.apple.com
  - time1.*.com
  - time2.*.com
  - time3.*.com
  - time4.*.com
  - time5.*.com
  - time6.*.com
  - time7.*.com
  - ntp.*.com
  - ntp1.*.com
  - ntp2.*.com
  - ntp3.*.com
  - ntp4.*.com
  - ntp5.*.com
  - ntp6.*.com
  - ntp7.*.com
  - "*.time.edu.cn"
  - "*.ntp.org.cn"
  - "+.pool.ntp.org"
  - time1.cloud.tencent.com
  - music.163.com
  - "*.music.163.com"
  - "*.126.net"
  - musicapi.taihe.com
  - music.taihe.com
  - songsearch.kugou.com
  - trackercdn.kugou.com
  - "*.kuwo.cn"
  - api-jooxtt.sanook.com
  - api.joox.com
  - joox.com
  - y.qq.com
  - "*.y.qq.com"
  - streamoc.music.tc.qq.com
  - mobileoc.music.tc.qq.com
  - isure.stream.qqmusic.qq.com
  - dl.stream.qqmusic.qq.com
  - aqqmusic.tc.qq.com
  - amobile.music.tc.qq.com
  - "*.xiami.com"
  - "*.music.migu.cn"
  - music.migu.cn
  - "+.msftconnecttest.com"
  - "+.msftncsi.com"
  - msftconnecttest.com
  - msftncsi.com
  - localhost.ptlogin2.qq.com
  - localhost.sec.qq.com
  - "+.srv.nintendo.net"
  - "+.stun.playstation.net"
  - xbox.*.microsoft.com
  - xnotify.xboxlive.com
  - "+.ipv6.microsoft.com"
  - "+.battlenet.com.cn"
  - "+.wotgame.cn"
  - "+.wggames.cn"
  - "+.wowsgame.cn"
  - "+.wargaming.net"
  - proxy.golang.org
  - stun.*.*
  - stun.*.*.*
  - "+.stun.*.*"
  - "+.stun.*.*.*"
  - "+.stun.*.*.*.*"
  - heartbeat.belkin.com
  - "*.linksys.com"
  - "*.linksyssmartwifi.com"
  - "*.router.asus.com"
  - mesu.apple.com
  - swscan.apple.com
  - swquery.apple.com
  - swdownload.apple.com
  - swcdn.apple.com
  - swdist.apple.com
  - lens.l.google.com
  - stun.l.google.com
  - "*.square-enix.com"
  - "*.finalfantasyxiv.com"
  - "*.ffxiv.com"
  - "*.ff14.sdo.com"
  - ff.dorado.sdo.com
  - "*.mcdn.bilivideo.cn"
  - "+.media.dssott.com"
  - "+.pvp.net"
  - "+.*"
  fake-ip-range: 198.18.0.1/16
proxy-groups:
- name: Proxies
  type: select
  proxies:
  - HK
  - JP
  - SG
  - TW
  - US
  - 'Traffic: 190.86 GB | 400 GB'
  - 'Expire: 2024-08-08'
  - "\U0001F1ED\U0001F1F0 日用 专线 香港 [0.2]"
  - "\U0001F1F8\U0001F1EC 日用 专线 狮城 [0.2]"
  - "\U0001F1EF\U0001F1F5 日用 专线 日本 [0.2]"
  - "\U0001F1FA\U0001F1F8 日用 专线 美国 [0.2]"
  - "\U0001F1ED\U0001F1F0 高级 专线 香港 01"
  - "\U0001F1ED\U0001F1F0 高级 专线 香港 02"
  - "\U0001F1ED\U0001F1F0 高级 专线 香港 03"
  - "\U0001F1ED\U0001F1F0 高级 专线 香港 04"
  - "\U0001F1ED\U0001F1F0 高级 专线 香港 05"
  - "\U0001F1ED\U0001F1F0 高级 专线 香港 06"
  - "\U0001F1ED\U0001F1F0 高级 专线 香港 07"
  - "\U0001F1ED\U0001F1F0 高级 专线 香港 08"
  - "\U0001F1F8\U0001F1EC 高级 专线 狮城 01"
  - "\U0001F1F8\U0001F1EC 高级 专线 狮城 02"
  - "\U0001F1F8\U0001F1EC 高级 专线 狮城 03"
  - "\U0001F1F8\U0001F1EC 高级 专线 狮城 04"
  - "\U0001F1F8\U0001F1EC 高级 专线 狮城 05"
  - "\U0001F1FA\U0001F1F8 高级 专线 美国 01"
  - "\U0001F1FA\U0001F1F8 高级 专线 美国 02"
  - "\U0001F1FA\U0001F1F8 高级 专线 美国 03"
  - "\U0001F1FA\U0001F1F8 高级 专线 美国 04"
  - "\U0001F1FA\U0001F1F8 高级 专线 美国 05"
  - "\U0001F1FA\U0001F1F8 高级 专线 美国 06"
  - "\U0001F1FA\U0001F1F8 高级 专线 美国 07"
  - "\U0001F1FA\U0001F1F8 高级 专线 美国 08"
  - "\U0001F1FA\U0001F1F8 高级 专线 美国 09"
  - "\U0001F1FA\U0001F1F8 高级 专线 美国 10"
  - "\U0001F1F0\U0001F1F7 高级 专线 韩国 01"
  - "\U0001F1F0\U0001F1F7 高级 专线 韩国 02"
  - "\U0001F1E8\U0001F1F3 高级 专线 台湾 01"
  - "\U0001F1E8\U0001F1F3 高级 专线 台湾 02"
  - "\U0001F1EF\U0001F1F5 高级 专线 日本 01"
  - "\U0001F1EF\U0001F1F5 高级 专线 日本 02"
  - "\U0001F1EF\U0001F1F5 高级 专线 日本 03"
  - "\U0001F1EF\U0001F1F5 高级 专线 日本 04"
  - "\U0001F1EF\U0001F1F5 高级 专线 日本 05"
  - "\U0001F1EF\U0001F1F5 高级 专线 日本 06"
  - "\U0001F1EF\U0001F1F5 高级 专线 日本 07"
  - "\U0001F1EF\U0001F1F5 高级 专线 日本 08"
  - "\U0001F1ED\U0001F1F0 标准 专线 香港 01"
  - "\U0001F1ED\U0001F1F0 标准 专线 香港 02"
  - "\U0001F1ED\U0001F1F0 标准 专线 香港 03"
  - "\U0001F1F8\U0001F1EC 标准 专线 狮城 01"
  - "\U0001F1F8\U0001F1EC 标准 专线 狮城 02"
  - "\U0001F1F8\U0001F1EC 标准 专线 狮城 03"
  - "\U0001F1FA\U0001F1F8 标准 专线 美国 01"
  - "\U0001F1FA\U0001F1F8 标准 专线 美国 02"
  - "\U0001F1FA\U0001F1F8 标准 专线 美国 03"
  - "\U0001F1FA\U0001F1F8 标准 专线 美国 04"
  - "\U0001F1FA\U0001F1F8 标准 专线 美国 05"
  - "\U0001F1FA\U0001F1F8 标准 专线 美国 06"
  - "\U0001F1F0\U0001F1F7 标准 专线 韩国 01"
  - "\U0001F1EF\U0001F1F5 标准 专线 日本 01"
  - "\U0001F1EF\U0001F1F5 标准 专线 日本 02"
  - "\U0001F1EF\U0001F1F5 标准 专线 日本 03"
  - "\U0001F1EF\U0001F1F5 标准 专线 日本 04"
  - "\U0001F1E8\U0001F1F3 标准 专线 台湾 01"
  - "\U0001F1EC\U0001F1E7 特殊 专线 伦敦 01"
  - "\U0001F1EC\U0001F1E7 特殊 专线 伦敦 02"
  - "\U0001F1E9\U0001F1EA 特殊 专线 德国 01"
  - "\U0001F1E9\U0001F1EA 特殊 专线 德国 02"
  - "\U0001F1E7\U0001F1F7 特殊 专线 巴西 01"
  - "\U0001F1E7\U0001F1F7 特殊 专线 巴西 02"
  - "\U0001F1E8\U0001F1E6 特殊 专线 加拿大 01"
  - "\U0001F1E8\U0001F1E6 特殊 专线 加拿大 02"
  - "\U0001F1F9\U0001F1F7 特殊 专线 土耳其 01"
  - "\U0001F1F9\U0001F1F7 特殊 专线 土耳其 02"
  - "\U0001F1F9\U0001F1ED 特殊 专线 泰国"
  - "\U0001F1FB\U0001F1F3 特殊 专线 越南"
  - "\U0001F1EE\U0001F1F3 特殊 专线 印度"
  - "\U0001F1E6\U0001F1FA 特殊 专线 悉尼"
  - "\U0001F1E6\U0001F1EA 特殊 专线 迪拜"
  - "\U0001F1EB\U0001F1F7 特殊 专线 法国"
  - "\U0001F1F3\U0001F1F1 特殊 专线 荷兰"
  - "\U0001F1EE\U0001F1E9 特殊 专线 印尼"
  - "\U0001F1FF\U0001F1E6 特殊 专线 南非"
  - "\U0001F1EA\U0001F1EC 特殊 专线 埃及"
  - "\U0001F1F5\U0001F1ED 特殊 专线 菲律宾"
  - "\U0001F1EE\U0001F1F9 特殊 专线 意大利"
  - "\U0001F1EA\U0001F1F8 特殊 专线 西班牙"
  - "\U0001F1ED\U0001F1FA 特殊 专线 匈牙利"
  - "\U0001F1EE\U0001F1F1 特殊 专线 以色列"
  - "\U0001F1FA\U0001F1E6 特殊 专线 乌克兰"
  - "\U0001F1F7\U0001F1FA 特殊 专线 俄罗斯"
  - "\U0001F1F2\U0001F1FE 特殊 专线 马来西亚"
  - "\U0001F1F5\U0001F1F0 特殊 专线 巴基斯坦"
  - "\U0001F1F2\U0001F1E9 特殊 专线 摩尔多瓦"
  - "\U0001F1E6\U0001F1F7 购物 专线 阿根廷"
- name: YouTube
  type: select
  proxies:
  - Proxies
  - HK
  - JP
  - SG
  - TW
  - US
- name: Netflix
  type: select
  proxies:
  - Proxies
  - HK
  - JP
  - SG
  - TW
  - US
- name: Disney
  type: select
  proxies:
  - Proxies
  - HK
  - JP
  - SG
  - TW
  - US
- name: Bahamut
  type: select
  proxies:
  - Proxies
  - HK
  - TW
- name: Bilibili
  type: select
  proxies:
  - DIRECT
  - HK
  - TW
- name: Telegram
  type: select
  proxies:
  - Proxies
  - HK
  - JP
  - SG
  - TW
  - US
- name: Steam
  type: select
  proxies:
  - Proxies
  - DIRECT
  - HK
  - JP
  - SG
  - TW
  - US
- name: PayPal
  type: select
  proxies:
  - Proxies
  - DIRECT
  - HK
  - JP
  - SG
  - TW
  - US
- name: OpenAI
  type: select
  proxies:
  - Proxies
  - HK
  - JP
  - SG
  - TW
  - US
- name: Apple
  type: select
  proxies:
  - Proxies
  - DIRECT
  - HK
  - JP
  - SG
  - TW
  - US
- name: Final
  type: select
  proxies:
  - Proxies
  - DIRECT
- name: HK
  type: select
  proxies:
  - "\U0001F1ED\U0001F1F0 日用 专线 香港 [0.2]"
  - "\U0001F1ED\U0001F1F0 高级 专线 香港 01"
  - "\U0001F1ED\U0001F1F0 高级 专线 香港 02"
  - "\U0001F1ED\U0001F1F0 高级 专线 香港 03"
  - "\U0001F1ED\U0001F1F0 高级 专线 香港 04"
  - "\U0001F1ED\U0001F1F0 高级 专线 香港 05"
  - "\U0001F1ED\U0001F1F0 高级 专线 香港 06"
  - "\U0001F1ED\U0001F1F0 高级 专线 香港 07"
  - "\U0001F1ED\U0001F1F0 高级 专线 香港 08"
  - "\U0001F1ED\U0001F1F0 标准 专线 香港 01"
  - "\U0001F1ED\U0001F1F0 标准 专线 香港 02"
  - "\U0001F1ED\U0001F1F0 标准 专线 香港 03"
- name: SG
  type: select
  proxies:
  - "\U0001F1F8\U0001F1EC 日用 专线 狮城 [0.2]"
  - "\U0001F1F8\U0001F1EC 高级 专线 狮城 01"
  - "\U0001F1F8\U0001F1EC 高级 专线 狮城 02"
  - "\U0001F1F8\U0001F1EC 高级 专线 狮城 03"
  - "\U0001F1F8\U0001F1EC 高级 专线 狮城 04"
  - "\U0001F1F8\U0001F1EC 高级 专线 狮城 05"
  - "\U0001F1F8\U0001F1EC 标准 专线 狮城 01"
  - "\U0001F1F8\U0001F1EC 标准 专线 狮城 02"
  - "\U0001F1F8\U0001F1EC 标准 专线 狮城 03"
- name: TW
  type: select
  proxies:
  - "\U0001F1E8\U0001F1F3 高级 专线 台湾 01"
  - "\U0001F1E8\U0001F1F3 高级 专线 台湾 02"
  - "\U0001F1E8\U0001F1F3 标准 专线 台湾 01"
- name: JP
  type: select
  proxies:
  - "\U0001F1ED\U0001F1F0 日用 专线 香港 [0.2]"
  - "\U0001F1F8\U0001F1EC 日用 专线 狮城 [0.2]"
  - "\U0001F1EF\U0001F1F5 日用 专线 日本 [0.2]"
  - "\U0001F1FA\U0001F1F8 日用 专线 美国 [0.2]"
  - "\U0001F1EF\U0001F1F5 高级 专线 日本 01"
  - "\U0001F1EF\U0001F1F5 高级 专线 日本 02"
  - "\U0001F1EF\U0001F1F5 高级 专线 日本 03"
  - "\U0001F1EF\U0001F1F5 高级 专线 日本 04"
  - "\U0001F1EF\U0001F1F5 高级 专线 日本 05"
  - "\U0001F1EF\U0001F1F5 高级 专线 日本 06"
  - "\U0001F1EF\U0001F1F5 高级 专线 日本 07"
  - "\U0001F1EF\U0001F1F5 高级 专线 日本 08"
  - "\U0001F1EF\U0001F1F5 标准 专线 日本 01"
  - "\U0001F1EF\U0001F1F5 标准 专线 日本 02"
  - "\U0001F1EF\U0001F1F5 标准 专线 日本 03"
  - "\U0001F1EF\U0001F1F5 标准 专线 日本 04"
- name: US
  type: select
  proxies:
  - "\U0001F1FA\U0001F1F8 日用 专线 美国 [0.2]"
  - "\U0001F1FA\U0001F1F8 高级 专线 美国 01"
  - "\U0001F1FA\U0001F1F8 高级 专线 美国 02"
  - "\U0001F1FA\U0001F1F8 高级 专线 美国 03"
  - "\U0001F1FA\U0001F1F8 高级 专线 美国 04"
  - "\U0001F1FA\U0001F1F8 高级 专线 美国 05"
  - "\U0001F1FA\U0001F1F8 高级 专线 美国 06"
  - "\U0001F1FA\U0001F1F8 高级 专线 美国 07"
  - "\U0001F1FA\U0001F1F8 高级 专线 美国 08"
  - "\U0001F1FA\U0001F1F8 高级 专线 美国 09"
  - "\U0001F1FA\U0001F1F8 高级 专线 美国 10"
  - "\U0001F1FA\U0001F1F8 标准 专线 美国 01"
  - "\U0001F1FA\U0001F1F8 标准 专线 美国 02"
  - "\U0001F1FA\U0001F1F8 标准 专线 美国 03"
  - "\U0001F1FA\U0001F1F8 标准 专线 美国 04"
  - "\U0001F1FA\U0001F1F8 标准 专线 美国 05"
  - "\U0001F1FA\U0001F1F8 标准 专线 美国 06"
tproxy-port: 7895
bind-address: "*"
external-ui: "/usr/share/openclash/ui"
authentication:
- Clash:rhLf8BCW
rule-providers:
  Reject:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Reject.yaml
    path: "./rule_provider/Reject"
    interval: 86400
  Special:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Special.yaml
    path: "./rule_provider/Special"
    interval: 86400
  PROXY:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Proxy.yaml
    path: "./rule_provider/Proxy"
    interval: 86400
  Domestic:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Domestic.yaml
    path: "./rule_provider/Domestic"
    interval: 86400
  Domestic IPs:
    type: http
    behavior: ipcidr
    url: https://dler.cloud/Rules/Clash/Provider/Domestic%20IPs.yaml
    path: "./rule_provider/Domestic_IPs"
    interval: 86400
  LAN:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/LAN.yaml
    path: "./rule_provider/LAN"
    interval: 86400
  Netflix:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Media/Netflix.yaml
    path: "./rule_provider/Netflix"
    interval: 86400
  Spotify:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Media/Spotify.yaml
    path: "./rule_provider/Spotify"
    interval: 86400
  YouTube:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Media/YouTube.yaml
    path: "./rule_provider/YouTube"
    interval: 86400
  Bilibili:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Media/Bilibili.yaml
    path: "./rule_provider/Bilibili"
    interval: 86400
  IQ:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Media/IQ.yaml
    path: "./rule_provider/IQI"
    interval: 86400
  IQIYI:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Media/IQIYI.yaml
    path: "./rule_provider/IQYI"
    interval: 86400
  Letv:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Media/Letv.yaml
    path: "./rule_provider/Letv"
    interval: 86400
  Netease Music:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Media/Netease%20Music.yaml
    path: "./rule_provider/Netease_Music"
    interval: 86400
  Tencent Video:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Media/Tencent%20Video.yaml
    path: "./rule_provider/Tencent_Video"
    interval: 86400
  Youku:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Media/Youku.yaml
    path: "./rule_provider/Youku"
    interval: 86400
  WeTV:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Media/WeTV.yaml
    path: "./rule_provider/WeTV"
    interval: 86400
  ABC:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Media/ABC.yaml
    path: "./rule_provider/ABC"
    interval: 86400
  Abema TV:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Media/Abema%20TV.yaml
    path: "./rule_provider/Abema_TV"
    interval: 86400
  Amazon:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Media/Amazon.yaml
    path: "./rule_provider/Amazon"
    interval: 86400
  Apple Music:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Media/Apple%20Music.yaml
    path: "./rule_provider/Apple_Music"
    interval: 86400
  Apple News:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Media/Apple%20News.yaml
    path: "./rule_provider/Apple_News"
    interval: 86400
  Apple TV:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Media/Apple%20TV.yaml
    path: "./rule_provider/Apple_TV"
    interval: 86400
  Bahamut:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Media/Bahamut.yaml
    path: "./rule_provider/Bahamut"
    interval: 86400
  BBC iPlayer:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Media/BBC%20iPlayer.yaml
    path: "./rule_provider/BBC_iPlayer"
    interval: 86400
  DAZN:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Media/DAZN.yaml
    path: "./rule_provider/DAZN"
    interval: 86400
  Discovery Plus:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Media/Discovery%20Plus.yaml
    path: "./rule_provider/Discovery_Plus"
    interval: 86400
  Disney Plus:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Media/Disney%20Plus.yaml
    path: "./rule_provider/Disney_Plus"
    interval: 86400
  encoreTVB:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Media/encoreTVB.yaml
    path: "./rule_provider/encoreTVB"
    interval: 86400
  F1 TV:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Media/F1%20TV.yaml
    path: "./rule_provider/F1_TV"
    interval: 86400
  Fox Now:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Media/Fox%20Now.yaml
    path: "./rule_provider/Fox_Now"
    interval: 86400
  Fox+:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Media/Fox%2B.yaml
    path: "./rule_provider/Fox+"
    interval: 86400
  HBO Go:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Media/HBO%20Go.yaml
    path: "./rule_provider/HBO_Go"
    interval: 86400
  HBO Max:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Media/HBO%20Max.yaml
    path: "./rule_provider/HBO_Max"
    interval: 86400
  Hulu Japan:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Media/Hulu%20Japan.yaml
    path: "./rule_provider/Hulu_Japan"
    interval: 86400
  Hulu:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Media/Hulu.yaml
    path: "./rule_provider/Hulu"
    interval: 86400
  Japonx:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Media/Japonx.yaml
    path: "./rule_provider/Japonx"
    interval: 86400
  JOOX:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Media/JOOX.yaml
    path: "./rule_provider/JOOX"
    interval: 86400
  KKBOX:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Media/KKBOX.yaml
    path: "./rule_provider/KKBOX"
    interval: 86400
  KKTV:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Media/KKTV.yaml
    path: "./rule_provider/KKTV"
    interval: 86400
  Line TV:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Media/Line%20TV.yaml
    path: "./rule_provider/Line_TV"
    interval: 86400
  myTV SUPER:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Media/myTV%20SUPER.yaml
    path: "./rule_provider/myTV_SUPER"
    interval: 86400
  Niconico:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Media/Niconico.yaml
    path: "./rule_provider/Niconico"
    interval: 86400
  Pandora:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Media/Pandora.yaml
    path: "./rule_provider/Pandora"
    interval: 86400
  PBS:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Media/PBS.yaml
    path: "./rule_provider/PBS"
    interval: 86400
  Pornhub:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Media/Pornhub.yaml
    path: "./rule_provider/Pornhub"
    interval: 86400
  Soundcloud:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Media/Soundcloud.yaml
    path: "./rule_provider/Soundcloud"
    interval: 86400
  ViuTV:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Media/ViuTV.yaml
    path: "./rule_provider/ViuTV"
    interval: 86400
  Telegram:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Telegram.yaml
    path: "./rule_provider/Telegram"
    interval: 86400
  Crypto:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Crypto.yaml
    path: "./rule_provider/Crypto"
    interval: 86400
  Discord:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Discord.yaml
    path: "./rule_provider/Discord"
    interval: 86400
  Steam:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Steam.yaml
    path: "./rule_provider/Steam"
    interval: 86400
  Speedtest:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Speedtest.yaml
    path: "./rule_provider/Speedtest"
    interval: 86400
  PayPal:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/PayPal.yaml
    path: "./rule_provider/PayPal"
    interval: 86400
  Microsoft:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Microsoft.yaml
    path: "./rule_provider/Microsoft"
    interval: 86400
  ChatGPT:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/ChatGPT.yaml
    path: "./rule_provider/ChatGPT"
    interval: 86400
  Apple:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Apple.yaml
    path: "./rule_provider/Apple"
    interval: 86400
  Google FCM:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Google%20FCM.yaml
    path: "./rule_provider/Google FCM"
    interval: 86400
  Scholar:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/Scholar.yaml
    path: "./rule_provider/Scholar"
    interval: 86400
  miHoYo:
    type: http
    behavior: classical
    url: https://dler.cloud/Rules/Clash/Provider/miHoYo.yaml
    path: "./rule_provider/miHoYo"
    interval: 86400
script:
  code: |
    def main(ctx, metadata):
        ruleset_action = {"Reject": "DIRECT",
            "Special": "DIRECT",
            "Netflix": "Netflix",
            "Disney Plus": "Disney",
            "YouTube": "Proxies",
            "Spotify": "Proxies",
            "Bilibili": "Bilibili",
            "IQ": "HK",
            "IQIYI": "HK",
            "Letv": "HK",
            "Netease Music": "HK",
            "Tencent Video": "HK",
            "Youku": "HK",
            "WeTV": "HK",
            "ABC": "Proxies",
            "Abema TV": "Proxies",
            "Amazon": "Proxies",
            "Bahamut": "Bahamut",
            "BBC iPlayer": "Proxies",
            "DAZN": "Proxies",
            "Discovery Plus": "Disney",
            "encoreTVB": "Proxies",
            "F1 TV": "Proxies",
            "Fox Now": "Proxies",
            "Fox+": "Proxies",
            "HBO Go": "HK",
            "HBO Max": "HK",
            "Hulu Japan": "Proxies",
            "Hulu": "Proxies",
            "Japonx": "Proxies",
            "JOOX": "Proxies",
            "KKBOX": "Proxies",
            "KKTV": "Proxies",
            "Line TV": "Proxies",
            "myTV SUPER": "Proxies",
            "Niconico": "Proxies",
            "Pandora": "Proxies",
            "PBS": "Proxies",
            "Pornhub": "Proxies",
            "Soundcloud": "Proxies",
            "ViuTV": "Proxies",
            "Apple Music": "Apple",
            "Apple News": "Apple",
            "Apple TV": "Apple",
            "Apple": "Apple",
            "Telegram": "Proxies",
            "ChatGPT": "Proxies",
            "Crypto": "Proxies",
            "Discord": "Proxies",
            "Google FCM": "HK",
            "Microsoft": "Apple",
            "PayPal": "HK",
            "Scholar": "HK",
            "Speedtest": "DIRECT",
            "Steam": "Proxies",
            "miHoYo": "Proxies",
            "PROXY": "Proxies",
            "Domestic": "DIRECT",
            "Domestic IPs": "DIRECT",
            "LAN": "DIRECT"
          }

        port = int(metadata["dst_port"])

        if metadata["network"] == "UDP" and port == 443:
            ctx.log('[Script] matched QUIC traffic use reject')
            return "REJECT"

        port_list = [21, 22, 23, 53, 80, 123, 143, 194, 443, 465, 587, 853, 993, 995, 998, 2052, 2053, 2082, 2083, 2086, 2095, 2096, 3389, 5222, 5228, 5229, 5230, 8080, 8443, 8880, 8888, 8889]
        if port not in port_list:
            ctx.log('[Script] not common port use direct')
            return "DIRECT"

        if metadata["dst_ip"] == "":
            metadata["dst_ip"] = ctx.resolve_ip(metadata["host"])

        for ruleset in ruleset_action:
            if ctx.rule_providers[ruleset].match(metadata):
                return ruleset_action[ruleset]

        if metadata["dst_ip"] != "":
            code = ctx.geoip(metadata["dst_ip"])
            if code == "CN":
                ctx.log('[Script] Geoip CN')
                return "DIRECT"

        ctx.log('[Script] FINAL')
        return "Proxies"
rules:
- DST-PORT,7895,REJECT
- DST-PORT,7892,REJECT
- IP-CIDR,198.18.0.1/16,REJECT,no-resolve
- DOMAIN-SUFFIX,awesome-hd.me,DIRECT
- DOMAIN-SUFFIX,broadcasthe.net,DIRECT
- DOMAIN-SUFFIX,chdbits.co,DIRECT
- DOMAIN-SUFFIX,classix-unlimited.co.uk,DIRECT
- DOMAIN-SUFFIX,empornium.me,DIRECT
- DOMAIN-SUFFIX,gazellegames.net,DIRECT
- DOMAIN-SUFFIX,hdchina.org,DIRECT
- DOMAIN-SUFFIX,hdsky.me,DIRECT
- DOMAIN-SUFFIX,icetorrent.org,DIRECT
- DOMAIN-SUFFIX,jpopsuki.eu,DIRECT
- DOMAIN-SUFFIX,keepfrds.com,DIRECT
- DOMAIN-SUFFIX,madsrevolution.net,DIRECT
- DOMAIN-SUFFIX,m-team.cc,DIRECT
- DOMAIN-SUFFIX,nanyangpt.com,DIRECT
- DOMAIN-SUFFIX,ncore.cc,DIRECT
- DOMAIN-SUFFIX,open.cd,DIRECT
- DOMAIN-SUFFIX,ourbits.club,DIRECT
- DOMAIN-SUFFIX,passthepopcorn.me,DIRECT
- DOMAIN-SUFFIX,privatehd.to,DIRECT
- DOMAIN-SUFFIX,redacted.ch,DIRECT
- DOMAIN-SUFFIX,springsunday.net,DIRECT
- DOMAIN-SUFFIX,tjupt.org,DIRECT
- DOMAIN-SUFFIX,totheglory.im,DIRECT
- DOMAIN-SUFFIX,smtp,DIRECT
- DOMAIN-KEYWORD,announce,DIRECT
- DOMAIN-KEYWORD,torrent,DIRECT
- DOMAIN-KEYWORD,tracker,DIRECT
- RULE-SET,Reject,DIRECT
- RULE-SET,Special,DIRECT
- RULE-SET,Netflix,Netflix
- RULE-SET,Disney Plus,Disney
- RULE-SET,YouTube,Proxies
- RULE-SET,Spotify,Proxies
- RULE-SET,Bilibili,Bilibili
- RULE-SET,IQ,HK
- RULE-SET,IQIYI,HK
- RULE-SET,Letv,HK
- RULE-SET,Netease Music,HK
- RULE-SET,Tencent Video,HK
- RULE-SET,Youku,HK
- RULE-SET,WeTV,HK
- RULE-SET,ABC,Proxies
- RULE-SET,Abema TV,Proxies
- RULE-SET,Amazon,Proxies
- RULE-SET,Bahamut,Bahamut
- RULE-SET,BBC iPlayer,Proxies
- RULE-SET,DAZN,Proxies
- RULE-SET,Discovery Plus,Disney
- RULE-SET,encoreTVB,Proxies
- RULE-SET,F1 TV,Proxies
- RULE-SET,Fox Now,Proxies
- RULE-SET,Fox+,Proxies
- RULE-SET,HBO Go,HK
- RULE-SET,HBO Max,HK
- RULE-SET,Hulu Japan,Proxies
- RULE-SET,Hulu,Proxies
- RULE-SET,Japonx,Proxies
- RULE-SET,JOOX,Proxies
- RULE-SET,KKBOX,Proxies
- RULE-SET,KKTV,Proxies
- RULE-SET,Line TV,Proxies
- RULE-SET,myTV SUPER,Proxies
- RULE-SET,Niconico,Proxies
- RULE-SET,Pandora,Proxies
- RULE-SET,PBS,Proxies
- RULE-SET,Pornhub,Proxies
- RULE-SET,Soundcloud,Proxies
- RULE-SET,ViuTV,Proxies
- RULE-SET,Apple Music,Apple
- RULE-SET,Apple News,Apple
- RULE-SET,Apple TV,Apple
- RULE-SET,Apple,Apple
- RULE-SET,Telegram,Proxies
- RULE-SET,ChatGPT,Proxies
- RULE-SET,Crypto,Proxies
- RULE-SET,Discord,Proxies
- RULE-SET,Google FCM,HK
- RULE-SET,Microsoft,Apple
- RULE-SET,PayPal,HK
- RULE-SET,Scholar,HK
- RULE-SET,Speedtest,DIRECT
- RULE-SET,Steam,Proxies
- RULE-SET,miHoYo,Proxies
- RULE-SET,PROXY,Proxies
- RULE-SET,Domestic,DIRECT
- RULE-SET,Domestic IPs,DIRECT
- RULE-SET,LAN,DIRECT
- GEOIP,CN,DIRECT
- PROCESS-NAME,aria2c,DIRECT
- PROCESS-NAME,BitComet,DIRECT
- PROCESS-NAME,fdm,DIRECT
- PROCESS-NAME,NetTransport,DIRECT
- PROCESS-NAME,qbittorrent,DIRECT
- PROCESS-NAME,Thunder,DIRECT
- PROCESS-NAME,transmission-daemon,DIRECT
- PROCESS-NAME,transmission-qt,DIRECT
- PROCESS-NAME,uTorrent,DIRECT
- PROCESS-NAME,WebTorrent,DIRECT
- PROCESS-NAME,aria2c,DIRECT
- PROCESS-NAME,fdm,DIRECT
- PROCESS-NAME,Folx,DIRECT
- PROCESS-NAME,NetTransport,DIRECT
- PROCESS-NAME,qbittorrent,DIRECT
- PROCESS-NAME,Thunder,DIRECT
- PROCESS-NAME,Transmission,DIRECT
- PROCESS-NAME,transmission,DIRECT
- PROCESS-NAME,uTorrent,DIRECT
- PROCESS-NAME,WebTorrent,DIRECT
- PROCESS-NAME,WebTorrent Helper,DIRECT
- PROCESS-NAME,v2ray,DIRECT
- PROCESS-NAME,ss-local,DIRECT
- PROCESS-NAME,ssr-local,DIRECT
- PROCESS-NAME,ss-redir,DIRECT
- PROCESS-NAME,ssr-redir,DIRECT
- PROCESS-NAME,ss-server,DIRECT
- PROCESS-NAME,trojan-go,DIRECT
- PROCESS-NAME,xray,DIRECT
- PROCESS-NAME,hysteria,DIRECT
- PROCESS-NAME,UUBooster,DIRECT
- PROCESS-NAME,uugamebooster,DIRECT
- DST-PORT,80,Proxies
- DST-PORT,443,Proxies
- DST-PORT,22,Proxies
- MATCH,DIRECT

#===================== 自定义覆写设置 =====================#

#!/bin/sh
. /usr/share/openclash/ruby.sh
. /usr/share/openclash/log.sh
. /lib/functions.sh

# This script is called by /etc/init.d/openclash
# Add your custom overwrite scripts here, they will be take effict after the OpenClash own srcipts

LOG_OUT "Tip: Start Running Custom Overwrite Scripts..."
LOGTIME=$(echo $(date "+%Y-%m-%d %H:%M:%S"))
LOG_FILE="/tmp/openclash.log"
CONFIG_FILE="$1" #config path

#Simple Demo:
    #General Demo
    #1--config path
    #2--key name
    #3--value
    #ruby_edit "$CONFIG_FILE" "['redir-port']" "7892"
    #ruby_edit "$CONFIG_FILE" "['secret']" "123456"
    #ruby_edit "$CONFIG_FILE" "['dns']['enable']" "true"

    #Hash Demo
    #1--config path
    #2--key name
    #3--hash type value
    #ruby_edit "$CONFIG_FILE" "['experimental']" "{'sniff-tls-sni'=>true}"
    #ruby_edit "$CONFIG_FILE" "['sniffer']" "{'sniffing'=>['tls','http']}"

    #Array Demo:
    #1--config path
    #2--key name
    #3--position(start from 0, end with -1)
    #4--value
    #ruby_arr_insert "$CONFIG_FILE" "['dns']['nameserver']" "0" "114.114.114.114"

    #Array Add From Yaml File Demo:
    #1--config path
    #2--key name
    #3--position(start from 0, end with -1)
    #4--value file path
    #5--value key name in #4 file
    #ruby_arr_add_file "$CONFIG_FILE" "['dns']['fallback-filter']['ipcidr']" "0" "/etc/openclash/custom/openclash_custom_fallback_filter.yaml" "['fallback-filter']['ipcidr']"

#Ruby Script Demo:
    #ruby -ryaml -rYAML -I "/usr/share/openclash" -E UTF-8 -e "
    #   begin
    #      Value = YAML.load_file('$CONFIG_FILE');
    #   rescue Exception => e
    #      puts '${LOGTIME} Error: Load File Failed,【' + e.message + '】';
    #   end;

        #General
    #   begin
    #   Thread.new{
    #      Value['redir-port']=7892;
    #      Value['tproxy-port']=7895;
    #      Value['port']=7890;
    #      Value['socks-port']=7891;
    #      Value['mixed-port']=7893;
    #   }.join;

    #   rescue Exception => e
    #      puts '${LOGTIME} Error: Set General Failed,【' + e.message + '】';
    #   ensure
    #      File.open('$CONFIG_FILE','w') {|f| YAML.dump(Value, f)};
    #   end" 2>/dev/null >> $LOG_FILE

exit 0
#===================== 自定义防火墙设置 =====================#

#!/bin/sh
. /usr/share/openclash/log.sh
. /lib/functions.sh

# This script is called by /etc/init.d/openclash
# Add your custom firewall rules here, they will be added after the end of the OpenClash iptables rules

LOG_OUT "Tip: Start Add Custom Firewall Rules..."

exit 0
#===================== IPTABLES 防火墙设置 =====================#

#IPv4 NAT chain

# Generated by iptables-save v1.8.7 on Tue Aug 15 00:51:09 2023
*nat
:PREROUTING ACCEPT [234:41291]
:INPUT ACCEPT [90:5666]
:OUTPUT ACCEPT [109:6944]
:POSTROUTING ACCEPT [272:22890]
:netease_cloud_music - [0:0]
:postrouting_lan_rule - [0:0]
:postrouting_rule - [0:0]
:postrouting_wan_rule - [0:0]
:prerouting_lan_rule - [0:0]
:prerouting_rule - [0:0]
:prerouting_wan_rule - [0:0]
:zone_lan_postrouting - [0:0]
:zone_lan_prerouting - [0:0]
:zone_wan_postrouting - [0:0]
:zone_wan_prerouting - [0:0]
-A PREROUTING -p tcp -m set --match-set neteasemusic dst -j netease_cloud_music
-A PREROUTING -m comment --comment "!fw3: Custom prerouting rule chain" -j prerouting_rule
-A PREROUTING -i br-lan -m comment --comment "!fw3" -j zone_lan_prerouting
-A PREROUTING -p udp -m comment --comment DNSMASQ -m udp --dport 53 -j REDIRECT --to-ports 53
-A POSTROUTING -m comment --comment "!fw3: Custom postrouting rule chain" -j postrouting_rule
-A POSTROUTING -o br-lan -m comment --comment "!fw3" -j zone_lan_postrouting
-A netease_cloud_music -d 0.0.0.0/8 -j RETURN
-A netease_cloud_music -d 10.0.0.0/8 -j RETURN
-A netease_cloud_music -d 127.0.0.0/8 -j RETURN
-A netease_cloud_music -d 169.254.0.0/16 -j RETURN
-A netease_cloud_music -d 172.16.0.0/12 -j RETURN
-A netease_cloud_music -d 192.168.0.0/16 -j RETURN
-A netease_cloud_music -d 224.0.0.0/4 -j RETURN
-A netease_cloud_music -d 240.0.0.0/4 -j RETURN
-A netease_cloud_music -p tcp -m set ! --match-set acl_neteasemusic_http src -m tcp --dport 80 -j REDIRECT --to-ports 5200
-A netease_cloud_music -p tcp -m set ! --match-set acl_neteasemusic_https src -m tcp --dport 443 -j REDIRECT --to-ports 5201
-A zone_lan_postrouting -m comment --comment "!fw3: Custom lan postrouting rule chain" -j postrouting_lan_rule
-A zone_lan_prerouting -m comment --comment "!fw3: Custom lan prerouting rule chain" -j prerouting_lan_rule
-A zone_wan_postrouting -m comment --comment "!fw3: Custom wan postrouting rule chain" -j postrouting_wan_rule
-A zone_wan_postrouting -m comment --comment "!fw3" -j FULLCONENAT
-A zone_wan_prerouting -m comment --comment "!fw3: Custom wan prerouting rule chain" -j prerouting_wan_rule
-A zone_wan_prerouting -m comment --comment "!fw3" -j FULLCONENAT
COMMIT
# Completed on Tue Aug 15 00:51:09 2023

#IPv4 Mangle chain

# Generated by iptables-save v1.8.7 on Tue Aug 15 00:51:09 2023
*mangle
:PREROUTING ACCEPT [10297:1898657]
:INPUT ACCEPT [6607:491260]
:FORWARD ACCEPT [3622:1381904]
:OUTPUT ACCEPT [6170:18551128]
:POSTROUTING ACCEPT [9790:19932848]
COMMIT
# Completed on Tue Aug 15 00:51:09 2023

#IPv4 Filter chain

# Generated by iptables-save v1.8.7 on Tue Aug 15 00:51:09 2023
*filter
:INPUT ACCEPT [0:0]
:FORWARD DROP [0:0]
:OUTPUT ACCEPT [0:0]
:forwarding_lan_rule - [0:0]
:forwarding_rule - [0:0]
:forwarding_wan_rule - [0:0]
:input_lan_rule - [0:0]
:input_rule - [0:0]
:input_wan_rule - [0:0]
:output_lan_rule - [0:0]
:output_rule - [0:0]
:output_wan_rule - [0:0]
:reject - [0:0]
:syn_flood - [0:0]
:zone_lan_dest_ACCEPT - [0:0]
:zone_lan_forward - [0:0]
:zone_lan_input - [0:0]
:zone_lan_output - [0:0]
:zone_lan_src_ACCEPT - [0:0]
:zone_wan_dest_ACCEPT - [0:0]
:zone_wan_dest_REJECT - [0:0]
:zone_wan_forward - [0:0]
:zone_wan_input - [0:0]
:zone_wan_output - [0:0]
:zone_wan_src_REJECT - [0:0]
-A INPUT -i lo -m comment --comment "!fw3" -j ACCEPT
-A INPUT -m comment --comment "!fw3: Custom input rule chain" -j input_rule
-A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -m comment --comment "!fw3" -j ACCEPT
-A INPUT -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK SYN -m comment --comment "!fw3" -j syn_flood
-A INPUT -i br-lan -m comment --comment "!fw3" -j zone_lan_input
-A FORWARD -m comment --comment "!fw3: Custom forwarding rule chain" -j forwarding_rule
-A FORWARD -m comment --comment "!fw3: Traffic offloading" -m conntrack --ctstate RELATED,ESTABLISHED -j FLOWOFFLOAD
-A FORWARD -m conntrack --ctstate RELATED,ESTABLISHED -m comment --comment "!fw3" -j ACCEPT
-A FORWARD -i br-lan -m comment --comment "!fw3" -j zone_lan_forward
-A FORWARD -m comment --comment "!fw3" -j reject
-A OUTPUT -o lo -m comment --comment "!fw3" -j ACCEPT
-A OUTPUT -m comment --comment "!fw3: Custom output rule chain" -j output_rule
-A OUTPUT -m conntrack --ctstate RELATED,ESTABLISHED -m comment --comment "!fw3" -j ACCEPT
-A OUTPUT -o br-lan -m comment --comment "!fw3" -j zone_lan_output
-A reject -p tcp -m comment --comment "!fw3" -j REJECT --reject-with tcp-reset
-A reject -m comment --comment "!fw3" -j REJECT --reject-with icmp-port-unreachable
-A syn_flood -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK SYN -m limit --limit 25/sec --limit-burst 50 -m comment --comment "!fw3" -j RETURN
-A syn_flood -m comment --comment "!fw3" -j DROP
-A zone_lan_dest_ACCEPT -o br-lan -m comment --comment "!fw3" -j ACCEPT
-A zone_lan_forward -m comment --comment "!fw3: Custom lan forwarding rule chain" -j forwarding_lan_rule
-A zone_lan_forward -m comment --comment "!fw3: Zone lan to wan forwarding policy" -j zone_wan_dest_ACCEPT
-A zone_lan_forward -m conntrack --ctstate DNAT -m comment --comment "!fw3: Accept port forwards" -j ACCEPT
-A zone_lan_forward -m comment --comment "!fw3" -j zone_lan_dest_ACCEPT
-A zone_lan_input -m comment --comment "!fw3: Custom lan input rule chain" -j input_lan_rule
-A zone_lan_input -m conntrack --ctstate DNAT -m comment --comment "!fw3: Accept port redirections" -j ACCEPT
-A zone_lan_input -m comment --comment "!fw3" -j zone_lan_src_ACCEPT
-A zone_lan_output -m comment --comment "!fw3: Custom lan output rule chain" -j output_lan_rule
-A zone_lan_output -m comment --comment "!fw3" -j zone_lan_dest_ACCEPT
-A zone_lan_src_ACCEPT -i br-lan -m conntrack --ctstate NEW,UNTRACKED -m comment --comment "!fw3" -j ACCEPT
-A zone_wan_forward -m comment --comment "!fw3: Custom wan forwarding rule chain" -j forwarding_wan_rule
-A zone_wan_forward -p esp -m comment --comment "!fw3: Allow-IPSec-ESP" -j zone_lan_dest_ACCEPT
-A zone_wan_forward -p udp -m udp --dport 500 -m comment --comment "!fw3: Allow-ISAKMP" -j zone_lan_dest_ACCEPT
-A zone_wan_forward -m conntrack --ctstate DNAT -m comment --comment "!fw3: Accept port forwards" -j ACCEPT
-A zone_wan_forward -m comment --comment "!fw3" -j zone_wan_dest_REJECT
-A zone_wan_input -m comment --comment "!fw3: Custom wan input rule chain" -j input_wan_rule
-A zone_wan_input -p udp -m udp --dport 68 -m comment --comment "!fw3: Allow-DHCP-Renew" -j ACCEPT
-A zone_wan_input -p icmp -m icmp --icmp-type 8 -m comment --comment "!fw3: Allow-Ping" -j ACCEPT
-A zone_wan_input -p igmp -m comment --comment "!fw3: Allow-IGMP" -j ACCEPT
-A zone_wan_input -m conntrack --ctstate DNAT -m comment --comment "!fw3: Accept port redirections" -j ACCEPT
-A zone_wan_input -m comment --comment "!fw3" -j zone_wan_src_REJECT
-A zone_wan_output -m comment --comment "!fw3: Custom wan output rule chain" -j output_wan_rule
-A zone_wan_output -m comment --comment "!fw3" -j zone_wan_dest_ACCEPT
COMMIT
# Completed on Tue Aug 15 00:51:09 2023

#IPv6 NAT chain

# Generated by ip6tables-save v1.8.7 on Tue Aug 15 00:51:09 2023
*nat
:PREROUTING ACCEPT [14:3459]
:INPUT ACCEPT [0:0]
:OUTPUT ACCEPT [5:421]
:POSTROUTING ACCEPT [5:421]
-A PREROUTING -p udp -m comment --comment DNSMASQ -m udp --dport 53 -j REDIRECT --to-ports 53
COMMIT
# Completed on Tue Aug 15 00:51:09 2023

#IPv6 Mangle chain

# Generated by ip6tables-save v1.8.7 on Tue Aug 15 00:51:09 2023
*mangle
:PREROUTING ACCEPT [794:127514]
:INPUT ACCEPT [486:54125]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [494:54965]
:POSTROUTING ACCEPT [494:54965]
COMMIT
# Completed on Tue Aug 15 00:51:09 2023

#IPv6 Filter chain

# Generated by ip6tables-save v1.8.7 on Tue Aug 15 00:51:09 2023
*filter
:INPUT ACCEPT [0:0]
:FORWARD DROP [0:0]
:OUTPUT ACCEPT [0:0]
:forwarding_lan_rule - [0:0]
:forwarding_rule - [0:0]
:forwarding_wan_rule - [0:0]
:input_lan_rule - [0:0]
:input_rule - [0:0]
:input_wan_rule - [0:0]
:output_lan_rule - [0:0]
:output_rule - [0:0]
:output_wan_rule - [0:0]
:reject - [0:0]
:syn_flood - [0:0]
:zone_lan_dest_ACCEPT - [0:0]
:zone_lan_forward - [0:0]
:zone_lan_input - [0:0]
:zone_lan_output - [0:0]
:zone_lan_src_ACCEPT - [0:0]
:zone_wan_dest_ACCEPT - [0:0]
:zone_wan_dest_REJECT - [0:0]
:zone_wan_forward - [0:0]
:zone_wan_input - [0:0]
:zone_wan_output - [0:0]
:zone_wan_src_REJECT - [0:0]
-A INPUT -i lo -m comment --comment "!fw3" -j ACCEPT
-A INPUT -m comment --comment "!fw3: Custom input rule chain" -j input_rule
-A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -m comment --comment "!fw3" -j ACCEPT
-A INPUT -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK SYN -m comment --comment "!fw3" -j syn_flood
-A INPUT -i br-lan -m comment --comment "!fw3" -j zone_lan_input
-A FORWARD -m comment --comment "!fw3: Custom forwarding rule chain" -j forwarding_rule
-A FORWARD -m comment --comment "!fw3: Traffic offloading" -m conntrack --ctstate RELATED,ESTABLISHED -j FLOWOFFLOAD
-A FORWARD -m conntrack --ctstate RELATED,ESTABLISHED -m comment --comment "!fw3" -j ACCEPT
-A FORWARD -i br-lan -m comment --comment "!fw3" -j zone_lan_forward
-A FORWARD -m comment --comment "!fw3" -j reject
-A OUTPUT -o lo -m comment --comment "!fw3" -j ACCEPT
-A OUTPUT -m comment --comment "!fw3: Custom output rule chain" -j output_rule
-A OUTPUT -m conntrack --ctstate RELATED,ESTABLISHED -m comment --comment "!fw3" -j ACCEPT
-A OUTPUT -o br-lan -m comment --comment "!fw3" -j zone_lan_output
-A reject -p tcp -m comment --comment "!fw3" -j REJECT --reject-with tcp-reset
-A reject -m comment --comment "!fw3" -j REJECT --reject-with icmp6-port-unreachable
-A syn_flood -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK SYN -m limit --limit 25/sec --limit-burst 50 -m comment --comment "!fw3" -j RETURN
-A syn_flood -m comment --comment "!fw3" -j DROP
-A zone_lan_dest_ACCEPT -o br-lan -m comment --comment "!fw3" -j ACCEPT
-A zone_lan_forward -m comment --comment "!fw3: Custom lan forwarding rule chain" -j forwarding_lan_rule
-A zone_lan_forward -m comment --comment "!fw3: Zone lan to wan forwarding policy" -j zone_wan_dest_ACCEPT
-A zone_lan_forward -m comment --comment "!fw3" -j zone_lan_dest_ACCEPT
-A zone_lan_input -m comment --comment "!fw3: Custom lan input rule chain" -j input_lan_rule
-A zone_lan_input -m comment --comment "!fw3" -j zone_lan_src_ACCEPT
-A zone_lan_output -m comment --comment "!fw3: Custom lan output rule chain" -j output_lan_rule
-A zone_lan_output -m comment --comment "!fw3" -j zone_lan_dest_ACCEPT
-A zone_lan_src_ACCEPT -i br-lan -m conntrack --ctstate NEW,UNTRACKED -m comment --comment "!fw3" -j ACCEPT
-A zone_wan_forward -m comment --comment "!fw3: Custom wan forwarding rule chain" -j forwarding_wan_rule
-A zone_wan_forward -p ipv6-icmp -m icmp6 --icmpv6-type 128 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Forward" -j ACCEPT
-A zone_wan_forward -p ipv6-icmp -m icmp6 --icmpv6-type 129 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Forward" -j ACCEPT
-A zone_wan_forward -p ipv6-icmp -m icmp6 --icmpv6-type 1 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Forward" -j ACCEPT
-A zone_wan_forward -p ipv6-icmp -m icmp6 --icmpv6-type 2 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Forward" -j ACCEPT
-A zone_wan_forward -p ipv6-icmp -m icmp6 --icmpv6-type 3 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Forward" -j ACCEPT
-A zone_wan_forward -p ipv6-icmp -m icmp6 --icmpv6-type 4/0 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Forward" -j ACCEPT
-A zone_wan_forward -p ipv6-icmp -m icmp6 --icmpv6-type 4/1 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Forward" -j ACCEPT
-A zone_wan_forward -p esp -m comment --comment "!fw3: Allow-IPSec-ESP" -j zone_lan_dest_ACCEPT
-A zone_wan_forward -p udp -m udp --dport 500 -m comment --comment "!fw3: Allow-ISAKMP" -j zone_lan_dest_ACCEPT
-A zone_wan_forward -m comment --comment "!fw3" -j zone_wan_dest_REJECT
-A zone_wan_input -m comment --comment "!fw3: Custom wan input rule chain" -j input_wan_rule
-A zone_wan_input -p udp -m udp --dport 546 -m comment --comment "!fw3: Allow-DHCPv6" -j ACCEPT
-A zone_wan_input -s fe80::/10 -p ipv6-icmp -m icmp6 --icmpv6-type 130/0 -m comment --comment "!fw3: Allow-MLD" -j ACCEPT
-A zone_wan_input -s fe80::/10 -p ipv6-icmp -m icmp6 --icmpv6-type 131/0 -m comment --comment "!fw3: Allow-MLD" -j ACCEPT
-A zone_wan_input -s fe80::/10 -p ipv6-icmp -m icmp6 --icmpv6-type 132/0 -m comment --comment "!fw3: Allow-MLD" -j ACCEPT
-A zone_wan_input -s fe80::/10 -p ipv6-icmp -m icmp6 --icmpv6-type 143/0 -m comment --comment "!fw3: Allow-MLD" -j ACCEPT
-A zone_wan_input -p ipv6-icmp -m icmp6 --icmpv6-type 128 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Input" -j ACCEPT
-A zone_wan_input -p ipv6-icmp -m icmp6 --icmpv6-type 129 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Input" -j ACCEPT
-A zone_wan_input -p ipv6-icmp -m icmp6 --icmpv6-type 1 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Input" -j ACCEPT
-A zone_wan_input -p ipv6-icmp -m icmp6 --icmpv6-type 2 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Input" -j ACCEPT
-A zone_wan_input -p ipv6-icmp -m icmp6 --icmpv6-type 3 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Input" -j ACCEPT
-A zone_wan_input -p ipv6-icmp -m icmp6 --icmpv6-type 4/0 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Input" -j ACCEPT
-A zone_wan_input -p ipv6-icmp -m icmp6 --icmpv6-type 4/1 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Input" -j ACCEPT
-A zone_wan_input -p ipv6-icmp -m icmp6 --icmpv6-type 133 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Input" -j ACCEPT
-A zone_wan_input -p ipv6-icmp -m icmp6 --icmpv6-type 135 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Input" -j ACCEPT
-A zone_wan_input -p ipv6-icmp -m icmp6 --icmpv6-type 134 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Input" -j ACCEPT
-A zone_wan_input -p ipv6-icmp -m icmp6 --icmpv6-type 136 -m limit --limit 1000/sec -m comment --comment "!fw3: Allow-ICMPv6-Input" -j ACCEPT
-A zone_wan_input -m comment --comment "!fw3" -j zone_wan_src_REJECT
-A zone_wan_output -m comment --comment "!fw3: Custom wan output rule chain" -j output_wan_rule
-A zone_wan_output -m comment --comment "!fw3" -j zone_wan_dest_ACCEPT
COMMIT
# Completed on Tue Aug 15 00:51:09 2023

#===================== IPSET状态 =====================#

Name: acl_neteasemusic_http
Type: hash:ip
Revision: 4
Header: family inet hashsize 1024 maxelem 65536
Size in memory: 208
References: 1
Number of entries: 0

Name: acl_neteasemusic_https
Type: hash:ip
Revision: 4
Header: family inet hashsize 1024 maxelem 65536
Size in memory: 208
References: 1
Number of entries: 0

Name: neteasemusic
Type: hash:ip
Revision: 4
Header: family inet hashsize 1024 maxelem 65536
Size in memory: 1360
References: 1
Number of entries: 24

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

#IPv4

#route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         10.0.0.1        0.0.0.0         UG    0      0        0 br-lan
10.0.0.0        0.0.0.0         255.255.255.0   U     0      0        0 br-lan

#ip route list
default via 10.0.0.1 dev br-lan proto static 
10.0.0.0/24 dev br-lan proto kernel scope link src 10.0.0.2 

#ip rule show
0:  from all lookup local
32766:  from all lookup main
32767:  from all lookup default

#IPv6

#route -A inet6
Kernel IPv6 routing table
Destination                                 Next Hop                                Flags Metric Ref    Use Iface
fd4b:4917:9324::/64                         ::                                      U     1024   1        0 br-lan  
fd4b:4917:9324::/48                         ::                                      !n    2147483647 2        0 lo      
fe80::/64                                   ::                                      U     256    1        0 br-lan  
::/0                                        ::                                      !n    -1     1        0 lo      
::1/128                                     ::                                      Un    0      4        0 lo      
fd4b:4917:9324::/128                        ::                                      Un    0      3        0 br-lan  
fd4b:4917:9324::1/128                       ::                                      Un    0      3        0 br-lan  
fe80::/128                                  ::                                      Un    0      3        0 br-lan  
fe80::20c:29ff:fe38:2686/128                ::                                      Un    0      3        0 br-lan  
ff00::/8                                    ::                                      U     256    5        0 br-lan  
::/0                                        ::                                      !n    -1     1        0 lo      

#ip -6 route list
fd4b:4917:9324::/64 dev br-lan proto static metric 1024 pref medium
unreachable fd4b:4917:9324::/48 dev lo proto static metric 2147483647 pref medium
fe80::/64 dev br-lan proto kernel metric 256 pref medium

#ip -6 rule show
0:  from all lookup local
32766:  from all lookup main
4200000001: from all iif lo failed_policy
4200000004: from all iif br-lan failed_policy

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

#===================== 测试本机DNS查询(www.baidu.com) =====================#

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: 180.101.50.242
Address 2: 180.101.50.188
*** Can't find www.baidu.com: No answer

#===================== 测试内核DNS查询(www.instagram.com) =====================#

Dnsmasq 当前默认 resolv 文件:/tmp/resolv.conf.d/resolv.conf.auto

#===================== /tmp/resolv.conf.auto =====================#

# Interface lan
nameserver 119.29.29.29
nameserver 8.8.8.8

#===================== /tmp/resolv.conf.d/resolv.conf.auto =====================#

# Interface lan
nameserver 119.29.29.29
nameserver 8.8.8.8

#===================== 测试本机网络连接(www.baidu.com) =====================#

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, 14 Aug 2023 16:51:10 GMT
Etag: "575e1f60-115"
Last-Modified: Mon, 13 Jun 2016 02:50:08 GMT
Pragma: no-cache
Server: bfe/1.0.8.18

#===================== 测试本机网络下载(raw.githubusercontent.com) =====================#

HTTP/2 200 
cache-control: max-age=300
content-security-policy: default-src 'none'; style-src 'unsafe-inline'; sandbox
content-type: text/plain; charset=utf-8
etag: "164887e509f49d611b745c94926c1e59df6802fc9db3bd2060f2c471fe51246c"
strict-transport-security: max-age=31536000
x-content-type-options: nosniff
x-frame-options: deny
x-xss-protection: 1; mode=block
x-github-request-id: 9684:5E91:163DC9:19BF23:64D682A9
accept-ranges: bytes
date: Mon, 14 Aug 2023 16:51:10 GMT
via: 1.1 varnish
x-served-by: cache-tyo11935-TYO
x-cache: HIT
x-cache-hits: 1
x-timer: S1692031871.716709,VS0,VE217
vary: Authorization,Accept-Encoding,Origin
access-control-allow-origin: *
cross-origin-resource-policy: cross-origin
x-fastly-request-id: be8de8ca21ec33cdf125279eaac727817e203e53
expires: Mon, 14 Aug 2023 16:56:10 GMT
source-age: 0
content-length: 83

#===================== 最近运行日志(自动切换为Debug模式) =====================#

2023-08-15 00:41:22【/tmp/clash_last_version】Download Failed:【curl: (28) Operation timed out after 60002 milliseconds with 0 bytes received】
2023-08-15 00:42:36 Watchdog: Setting Firewall For Enabling Redirect...
time="2023-08-14T16:42:41.197498125Z" level=info msg="[TCP] 10.0.0.11:3270 --> edge.microsoft.com:443 match DstPort(443) using Proxies[🇭🇰 日用 专线 香港 [0.2]]"
time="2023-08-14T16:42:41.209434409Z" level=info msg="[TCP] 10.0.0.11:3271 --> nav-edge.smartscreen.microsoft.com:443 match DstPort(443) using Proxies[🇭🇰 日用 专线 香港 [0.2]]"
time="2023-08-14T16:42:41.781639285Z" level=info msg="[TCP] 10.0.0.11:3272 --> nav-edge.smartscreen.microsoft.com:443 match DstPort(443) using Proxies[🇭🇰 日用 专线 香港 [0.2]]"
time="2023-08-14T16:42:43.44489726Z" level=info msg="[TCP] 10.0.0.11:3274 --> chat.openai.com:443 match DstPort(443) using Proxies[🇭🇰 日用 专线 香港 [0.2]]"
time="2023-08-14T16:42:43.591926051Z" level=info msg="[TCP] 10.0.0.11:3275 --> www.google-analytics.com:443 match DstPort(443) using Proxies[🇭🇰 日用 专线 香港 [0.2]]"
time="2023-08-14T16:42:46.549488076Z" level=info msg="[TCP] 10.0.0.11:3280 --> nav-edge.smartscreen.microsoft.com:443 match DstPort(443) using Proxies[🇭🇰 日用 专线 香港 [0.2]]"
time="2023-08-14T16:42:46.817821558Z" level=info msg="[TCP] 10.0.0.11:3283 --> nav-edge.smartscreen.microsoft.com:443 match DstPort(443) using Proxies[🇭🇰 日用 专线 香港 [0.2]]"
time="2023-08-14T16:42:46.885942239Z" level=info msg="[TCP] 10.0.0.11:3285 --> nav-edge.smartscreen.microsoft.com:443 match DstPort(443) using Proxies[🇭🇰 日用 专线 香港 [0.2]]"
time="2023-08-14T16:42:47.684862276Z" level=info msg="[TCP] 10.0.0.11:3286 --> nav-edge.smartscreen.microsoft.com:443 match DstPort(443) using Proxies[🇭🇰 日用 专线 香港 [0.2]]"
time="2023-08-14T16:42:48.061793197Z" level=info msg="[TCP] 10.0.0.11:3289 --> nav-edge.smartscreen.microsoft.com:443 match DstPort(443) using Proxies[🇭🇰 日用 专线 香港 [0.2]]"
time="2023-08-14T16:42:48.571106141Z" level=info msg="[TCP] 10.0.0.11:3291 --> nav-edge.smartscreen.microsoft.com:443 match DstPort(443) using Proxies[🇭🇰 日用 专线 香港 [0.2]]"
time="2023-08-14T16:42:49.229252481Z" level=info msg="[TCP] 10.0.0.11:3293 --> edge.microsoft.com:443 match DstPort(443) using Proxies[🇭🇰 日用 专线 香港 [0.2]]"
time="2023-08-14T16:42:49.302177192Z" level=info msg="[TCP] 10.0.0.11:3294 --> cn.gravatar.com:443 match DstPort(443) using Proxies[🇭🇰 日用 专线 香港 [0.2]]"
time="2023-08-14T16:42:49.739365721Z" level=info msg="[TCP] 10.0.0.11:3295 --> nav-edge.smartscreen.microsoft.com:443 match DstPort(443) using Proxies[🇭🇰 日用 专线 香港 [0.2]]"
time="2023-08-14T16:42:50.418785313Z" level=info msg="[TCP] 10.0.0.11:3303 --> i1.wp.com:443 match DstPort(443) using Proxies[🇭🇰 日用 专线 香港 [0.2]]"
time="2023-08-14T16:42:53.231453966Z" level=info msg="[TCP] 10.0.0.11:3306 --> nav-edge.smartscreen.microsoft.com:443 match DstPort(443) using Proxies[🇭🇰 日用 专线 香港 [0.2]]"
time="2023-08-14T16:42:54.45792727Z" level=info msg="[TCP] 10.0.0.11:3308 --> 185.199.109.154:443 match DstPort(443) using Proxies[🇭🇰 日用 专线 香港 [0.2]]"
time="2023-08-14T16:42:54.641837787Z" level=info msg="[TCP] 10.0.0.11:3309 --> alive.github.com:443 match DstPort(443) using Proxies[🇭🇰 日用 专线 香港 [0.2]]"
time="2023-08-14T16:42:54.722868868Z" level=info msg="[TCP] 10.0.0.11:3310 --> nav-edge.smartscreen.microsoft.com:443 match DstPort(443) using Proxies[🇭🇰 日用 专线 香港 [0.2]]"
time="2023-08-14T16:44:02.728506738Z" level=info msg="[TCP] 10.0.0.11:3360 --> github.com:443 match DstPort(443) using Proxies[🇭🇰 日用 专线 香港 [0.2]]"
time="2023-08-14T16:44:19.326848096Z" level=info msg="[TCP] 10.0.0.11:3369 --> www.bingapis.com:443 match DstPort(443) using Proxies[🇭🇰 日用 专线 香港 [0.2]]"
time="2023-08-14T16:44:47.605767998Z" level=info msg="[TCP] 10.0.0.11:3384 --> nav-edge.smartscreen.microsoft.com:443 match DstPort(443) using Proxies[🇭🇰 日用 专线 香港 [0.2]]"
time="2023-08-14T16:44:47.815312092Z" level=info msg="[TCP] 10.0.0.11:3385 --> d.skk.moe:443 match DstPort(443) using Proxies[🇭🇰 日用 专线 香港 [0.2]]"
time="2023-08-14T16:44:47.830143622Z" level=info msg="[TCP] 10.0.0.11:3388 --> 173.231.16.76:443 match DstPort(443) using Proxies[🇭🇰 日用 专线 香港 [0.2]]"
time="2023-08-14T16:44:51.541739281Z" level=info msg="[TCP] 10.0.0.11:3395 --> nav-edge.smartscreen.microsoft.com:443 match DstPort(443) using Proxies[🇭🇰 日用 专线 香港 [0.2]]"
time="2023-08-14T16:44:52.475004132Z" level=info msg="[TCP] 10.0.0.11:3396 --> nav-edge.smartscreen.microsoft.com:443 match DstPort(443) using Proxies[🇭🇰 日用 专线 香港 [0.2]]"
time="2023-08-14T16:45:02.728328202Z" level=info msg="[TCP] 10.0.0.11:3405 --> 173.231.16.76:443 match DstPort(443) using Proxies[🇭🇰 日用 专线 香港 [0.2]]"
time="2023-08-14T16:46:18.22538118Z" level=info msg="[TCP] 10.0.0.11:3443 --> builds.parsec.app:443 match DstPort(443) using Proxies[🇭🇰 日用 专线 香港 [0.2]]"
time="2023-08-14T16:46:23.123963701Z" level=info msg="[TCP] 10.0.0.11:3446 --> array813.prod.do.dsp.mp.microsoft.com:443 match DstPort(443) using Proxies[🇭🇰 日用 专线 香港 [0.2]]"
time="2023-08-14T16:46:59.644311626Z" level=info msg="[TCP] 10.0.0.11:3465 --> github.com:443 match DstPort(443) using Proxies[🇭🇰 日用 专线 香港 [0.2]]"
time="2023-08-14T16:47:07.241803596Z" level=info msg="[TCP] 10.0.0.19:52142 --> 2-courier.push.apple.com:5223 match Match using DIRECT"
time="2023-08-14T16:47:59.711942741Z" level=info msg="[TCP] 10.0.0.11:3505 --> github.com:443 match DstPort(443) using Proxies[🇭🇰 日用 专线 香港 [0.2]]"
time="2023-08-14T16:48:04.903954396Z" level=info msg="[TCP] 10.0.0.11:3522 --> functional.events.data.microsoft.com:443 match DstPort(443) using Proxies[🇭🇰 日用 专线 香港 [0.2]]"
time="2023-08-14T16:48:07.124731145Z" level=info msg="[TCP] 10.0.0.11:3524 --> nav-edge.smartscreen.microsoft.com:443 match DstPort(443) using Proxies[🇭🇰 日用 专线 香港 [0.2]]"
time="2023-08-14T16:48:07.256734388Z" level=info msg="[TCP] 10.0.0.11:3525 --> services.bingapis.com:443 match DstPort(443) using Proxies[🇭🇰 日用 专线 香港 [0.2]]"
time="2023-08-14T16:48:26.673651119Z" level=debug msg="[Rule] use default rules"
time="2023-08-14T16:48:26.673979426Z" level=debug msg="[Process] find process github.com: process not found"
time="2023-08-14T16:48:26.674225551Z" level=debug msg="[DNS] resolve gzbgp01.22991163.xyz from udp://223.5.5.5:53"
time="2023-08-14T16:48:26.674306284Z" level=debug msg="[DNS] resolve gzbgp01.22991163.xyz from udp://119.29.29.29:53"
time="2023-08-14T16:48:26.674629531Z" level=debug msg="[DNS] resolve gzbgp01.22991163.xyz from udp://114.114.114.114:53"
time="2023-08-14T16:48:26.68414181Z" level=debug msg="[DNS] gzbgp01.22991163.xyz --> [120.195.184.28], from udp://223.5.5.5:53"
time="2023-08-14T16:48:26.69799314Z" level=info msg="[TCP] 10.0.0.11:3533 --> github.com:443 match DstPort(443) using Proxies[🇭🇰 日用 专线 香港 [0.2]]"
time="2023-08-14T16:48:28.909061956Z" level=debug msg="[DNS] resolve ls.dtrace.nvidia.com from udp://223.5.5.5:53"
time="2023-08-14T16:48:28.909182748Z" level=debug msg="[DNS] resolve ls.dtrace.nvidia.com from udp://119.29.29.29:53"
time="2023-08-14T16:48:28.909370083Z" level=debug msg="[DNS] resolve ls.dtrace.nvidia.com from udp://114.114.114.114:53"
time="2023-08-14T16:48:28.915314514Z" level=debug msg="[DNS] ls.dtrace.nvidia.com --> [], from udp://223.5.5.5:53"
time="2023-08-14T16:48:28.915417477Z" level=debug msg="[DNS] resolve ls.dtrace.nvidia.com from tls://8.8.4.4:853"
time="2023-08-14T16:48:28.915497707Z" level=debug msg="[DNS] resolve ls.dtrace.nvidia.com from https://public.dns.iij.jp:443/dns-query"
time="2023-08-14T16:48:28.91566243Z" level=debug msg="[DNS] resolve public.dns.iij.jp from udp://8.8.4.4:53"
time="2023-08-14T16:48:28.915847339Z" level=debug msg="[DNS] resolve ls.dtrace.nvidia.com from https://1.0.0.1:443/dns-query"
time="2023-08-14T16:48:28.916025271Z" level=debug msg="[DNS] resolve public.dns.iij.jp from udp://223.5.5.5:53"
time="2023-08-14T16:48:28.923386375Z" level=debug msg="[DNS] public.dns.iij.jp --> [103.2.57.5 103.2.57.6], from udp://223.5.5.5:53"
time="2023-08-14T16:48:29.072736943Z" level=debug msg="[DNS] ls.dtrace.nvidia.com --> [], from https://public.dns.iij.jp:443/dns-query"
2023-08-15 00:48:51 OpenClash Restart...
2023-08-15 00:48:51 OpenClash Stoping...
2023-08-15 00:48:51 Step 1: Backup The Current Groups State...
2023-08-15 00:48:51 Step 2: Delete OpenClash Firewall Rules...
2023-08-15 00:48:52 Step 3: Close The OpenClash Daemons...
2023-08-15 00:48:52 Step 4: Close The Clash Core Process...
2023-08-15 00:48:52 Step 5: Restart Dnsmasq...
2023-08-15 00:48:53 Step 6: Delete OpenClash Residue File...
2023-08-15 00:48:53 OpenClash Start Running...
2023-08-15 00:48:53 Step 1: Get The Configuration...
2023-08-15 00:48:53 Step 2: Check The Components...
2023-08-15 00:48:53 Tip: Because of the file【 /etc/config/openclash 】modificated, Pause quick start...
2023-08-15 00:48:53 Step 3: Modify The Config File...
2023-08-15 00:48:53 Tip: You have seted the authentication of SOCKS5/HTTP(S) proxy with【Clash:rhLf8BCW】
2023-08-15 00:48:54 Tip: Start Running Custom Overwrite Scripts...
2023-08-15 00:48:54 Step 4: Start Running The Clash Core...
2023-08-15 00:48:54 Tip: Detected The Exclusive Function of The TUN Core, Use TUN Core to Start...
2023-08-15 00:48:54 Test The Config File First...
16:48:55 INF [Config] initial compatible provider name=US
16:48:55 INF [Config] initial compatible provider name=TW
16:48:55 INF [Config] initial compatible provider name=OpenAI
16:48:55 INF [Config] initial compatible provider name=Bilibili
16:48:55 INF [Config] initial compatible provider name=Steam
16:48:55 INF [Config] initial compatible provider name=SG
16:48:55 INF [Config] initial compatible provider name=Disney
16:48:55 INF [Config] initial compatible provider name=Bahamut
16:48:55 INF [Config] initial compatible provider name=JP
16:48:55 INF [Config] initial compatible provider name=HK
16:48:55 INF [Config] initial compatible provider name=PayPal
16:48:55 INF [Config] initial compatible provider name=Telegram
16:48:55 INF [Config] initial compatible provider name=YouTube
16:48:55 INF [Config] initial compatible provider name=Proxies
16:48:55 INF [Config] initial compatible provider name=Apple
16:48:55 INF [Config] initial compatible provider name=Final
16:48:55 INF [Config] initial compatible provider name=Netflix
16:48:55 INF [Config] initial rule provider name=Netease Music
2023-08-15 00:48:55 16:48:55 ERR [Config] configuration file test failed error=initial rule provider Netease Music error: file must have a `payload` field path=/etc/openclash/YToo.yaml
2023-08-15 00:48:55 Error: Config File Tested Faild, Please Check The Log Infos!
2023-08-15 00:48:56 OpenClash Stoping...
2023-08-15 00:48:56 Step 1: Backup The Current Groups State...
2023-08-15 00:48:56 Step 2: Delete OpenClash Firewall Rules...
2023-08-15 00:48:57 Step 3: Close The OpenClash Daemons...
2023-08-15 00:48:57 Step 4: Close The Clash Core Process...
2023-08-15 00:48:57 Step 5: Restart Dnsmasq...
2023-08-15 00:48:57 Step 6: Delete OpenClash Residue File...

#===================== 最近运行日志获取完成(自动切换为silent模式) =====================#

#===================== 活动连接信息 =====================#

OpenClash Config

No response

Expected Behavior

之前好像没有出现过这样的情况,但是我启用meta内核之后,再关闭,就出现这种情况了

Screenshots

No response

Faramitas commented 1 year ago

只有启用Ihie1策略组才会出现这个问题,必须使用meta内核才可以

github-actions[bot] commented 11 months ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days