Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] immortalwrt使用apk作为包管理器后openclash版本显示异常 #4299

Open
5 of 7 tasks
Ryananana opened this issue Jan 23, 2025 · 5 comments
Open
5 of 7 tasks
Labels
bug Something isn't working

Comments

@Ryananana
Copy link

Verify Steps

  • Tracker 我已经在 Issue Tracker 中找过我要提出的问题
  • Branch 我知道 OpenClash 的 Dev 分支切换开关位于插件设置-版本更新中,或者我会手动下载并安装 Dev 分支的 OpenClash
  • Latest 我已经使用最新 Dev 版本测试过,问题依旧存在
  • Relevant 我知道 OpenClash 与 内核(Core)、控制面板(Dashboard)、在线订阅转换(Subconverter)等项目之间无直接关系,仅相互调用
  • Definite 这确实是 OpenClash 出现的问题
  • Contributors 我有能力协助 OpenClash 开发并解决此问题
  • Meaningless 我提交的是无意义的催促更新或修复请求

OpenClash Version

luci-app-openclash-0.46.066 noarch

Bug on Environment

Immortalwrt

OpenWrt Version

ImmortalWrt SNAPSHOT r33065-d0b812c1ff / LuCI Master 25.017.24408~69ae9ef

Bug on Platform

Linux-amd64(x86-64)

Describe the Bug

基于该commit编译了全新固件
使用apk作为包管理器,版本为apk-tools 3.0.0_pre20241130, compiled for x86_64
安装dev渠道的luci-app-openclash-0.46.066.apk
功能正常,但是插件设置-版本更新页面-当前客户端版本并没有正确显示当前的openclash版本信息

Image

点击 检查并更新按钮后日志中出现 错误:获取版本信息失败,请稍后再试...

To Reproduce

如上述

OpenClash Log

OpenClash 调试日志

生成时间: 2025-01-23 19:10:38
插件版本: d
隐私提示: 上传此日志前请注意检查、屏蔽公网IP、节点、密码等相关敏感信息



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

主机型号: QEMU Standard PC (Q35 + ICH9, 2009)
固件版本: ImmortalWrt SNAPSHOT r33065-d0b812c1ff
LuCI版本: d
内核版本: 6.6.73
处理器架构: x86_64

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

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

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

dnsmasq-full: 已安装
dnsmasq-full(ipset): 未安装
dnsmasq-full(nftset): 已安装
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: 已安装
kmod-nft-tproxy: 已安装

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

运行状态: 运行中
运行内核:Meta
进程pid: 26681
运行权限: 26681: cap_dac_override,cap_net_bind_service,cap_net_admin,cap_net_raw,cap_sys_ptrace,cap_sys_admin,cap_sys_resource=eip
运行用户: nobody
已选择的架构: linux-amd64

#下方无法显示内核版本号时请确认您的内核版本是否正确或者有无权限

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

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

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

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

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

#===================== 自定义规则 一 =====================#
script:
##  shortcuts:
##    Notice: The core timezone is UTC
##    CST 20:00-24:00 = time.now().hour > 12 and time.now().hour < 16
##    内核时区为UTC,故以下time.now()函数的取值需要根据本地时区进行转换
##    北京时间(CST) 20:00-24:00 = time.now().hour > 12 and time.now().hour < 16
##    quic: network == 'udp' and dst_port == 443 and (geoip(resolve_ip(host)) != 'CN' or geoip(dst_ip) != 'CN')
##    time-limit: in_cidr(src_ip,'192.168.*.*/32') and time.now().hour < 20 or time.now().hour > 21
##    time-limit: src_ip == '192.168.*.*' and time.now().hour < 20 or time.now().hour > 21

##  code: |
##    def main(ctx, metadata):
##        directkeywordlist = ["baidu"]
##        for directkeyword in directkeywordlist:
##          if directkeyword in metadata["host"]:
##            ctx.log('[Script] matched keyword %s use direct' % directkeyword)
##            return "DIRECT"

rules:
     - DOMAIN-SUFFIX,garmin.com,Proxies
     - DOMAIN-KEYWORD,steamcloud,Proxies
     
     - DOMAIN-SUFFIX,cm.steampowered.com,DIRECT
     - DOMAIN-SUFFIX,steamserver.net,DIRECT
     - IP-CIDR,45.121.*.*/24,DIRECT
     - IP-CIDR,103.10.*.*/23,DIRECT
     - IP-CIDR,103.28.*.*/24,DIRECT
     - IP-CIDR,146.66.*.*/24,DIRECT
     - IP-CIDR,146.66.*.*/24,DIRECT
     - IP-CIDR,153.254.*.*/24,DIRECT
     - IP-CIDR,155.133.*.*/22,DIRECT
     - IP-CIDR,155.133.*.*/24,DIRECT
     - IP-CIDR,155.133.*.*/23,DIRECT
     - IP-CIDR,155.133.*.*/24,DIRECT
     - IP-CIDR,155.133.*.*/22,DIRECT
     - IP-CIDR,155.133.*.*/23,DIRECT
     - IP-CIDR,155.133.*.*/23,DIRECT
     - IP-CIDR,155.133.*.*/24,DIRECT
     - IP-CIDR,155.133.*.*/21,DIRECT
     - IP-CIDR,162.254.*.*/21,DIRECT
     - IP-CIDR,185.25.*.*/23,DIRECT
     - IP-CIDR,190.217.*.*/22,DIRECT
     - IP-CIDR,192.69.*.*/22,DIRECT
     - IP-CIDR,205.196.*.*/24,DIRECT
     - IP-CIDR,208.64.*.*/22,DIRECT
     - IP-CIDR,208.78.*.*/22,DIRECT
     - IP-CIDR,205.185.*.*/24,DIRECT
##- SCRIPT,quic,REJECT #shortcuts rule
##- SCRIPT,time-limit,REJECT #shortcuts rule

##- PROCESS-NAME,curl,DIRECT #匹配路由自身进程(curl直连)
##- DOMAIN-SUFFIX,google.com,Proxy #匹配域名后缀(交由Proxy代理服务器组)
##- DOMAIN-KEYWORD,google,Proxy #匹配域名关键字(交由Proxy代理服务器组)
##- DOMAIN,google.com,Proxy #匹配域名(交由Proxy代理服务器组)
##- DOMAIN-SUFFIX,ad.com,REJECT #匹配域名后缀(拒绝)
##- IP-CIDR,127.0.*.*/8,DIRECT #匹配数据目标IP(直连)
##- SRC-IP-CIDR,192.168.*.*/32,DIRECT #匹配数据发起IP(直连)
##- DST-PORT,80,DIRECT #匹配数据目标端口(直连)
##- SRC-PORT,7777,DIRECT #匹配数据源端口(直连)

##排序在上的规则优先生效,如添加(去除规则前的#号):
##IP段:192.168.*.*-192.168.*.* 直连
##- SRC-IP-CIDR,192.168.*.*/31,DIRECT
##- SRC-IP-CIDR,192.168.*.*/30,DIRECT
##- SRC-IP-CIDR,192.168.*.*/29,DIRECT
##- SRC-IP-CIDR,192.168.*.*/28,DIRECT
##- SRC-IP-CIDR,192.168.*.*/27,DIRECT
##- SRC-IP-CIDR,192.168.*.*/26,DIRECT
##- SRC-IP-CIDR,192.168.*.*/26,DIRECT
##- SRC-IP-CIDR,192.168.*.*/29,DIRECT
##- SRC-IP-CIDR,192.168.*.*/32,DIRECT

##IP段:192.168.*.*-192.168.*.* 直连
##- SRC-IP-CIDR,192.168.*.*/31,DIRECT
##- SRC-IP-CIDR,192.168.*.*/30,DIRECT
##- SRC-IP-CIDR,192.168.*.*/28,DIRECT
##- SRC-IP-CIDR,192.168.*.*/27,DIRECT

##此时IP为192.168.*.*和192.168.*.*的客户端流量走代理(策略),其余客户端不走代理
##因为Fake-IP模式下,IP地址为192.168.*.*的路由器自身流量可走代理(策略),所以需要排除

##仅设置路由器自身直连:
##- SRC-IP-CIDR,192.168.*.*/32,DIRECT
##- SRC-IP-CIDR,198.18.*.*/32,DIRECT

##DDNS
##- DOMAIN-SUFFIX,checkip.dyndns.org,DIRECT
##- DOMAIN-SUFFIX,checkipv6.dyndns.org,DIRECT
##- DOMAIN-SUFFIX,checkip.synology.com,DIRECT
##- DOMAIN-SUFFIX,ifconfig.co,DIRECT
##- DOMAIN-SUFFIX,api.myip.com,DIRECT
##- DOMAIN-SUFFIX,ip-api.com,DIRECT
##- DOMAIN-SUFFIX,ipapi.co,DIRECT
##- DOMAIN-SUFFIX,ip6.seeip.org,DIRECT
##- DOMAIN-SUFFIX,members.3322.org,DIRECT

##在线IP段转CIDR地址:http://ip2cidr.com
#===================== 自定义规则 二 =====================#
script:
##  shortcuts:
##    common_port: dst_port not in [21, 22, 23, 53, 80, 123, 143, 194, 443, 465, 587, 853, 993, 995, 998, 2052, 2053, 2082, 2083, 2086, 2095, 2096, 5222, 5228, 5229, 5230, 8080, 8443, 8880, 8888, 8889]

##  code: |
##    def main(ctx, metadata):
##        directkeywordlist = ["baidu"]
##        for directkeyword in directkeywordlist:
##          if directkeyword in metadata["host"]:
##            ctx.log('[Script] matched keyword %s use direct' % directkeyword)
##            return "DIRECT"

rules:
##- SCRIPT,common_port,DIRECT #shortcuts rule

##- DOMAIN-SUFFIX,google.com,Proxy #匹配域名后缀(交由Proxy代理服务器组)
##- DOMAIN-KEYWORD,google,Proxy #匹配域名关键字(交由Proxy代理服务器组)
##- DOMAIN,google.com,Proxy #匹配域名(交由Proxy代理服务器组)
##- DOMAIN-SUFFIX,ad.com,REJECT #匹配域名后缀(拒绝)
##- IP-CIDR,127.0.*.*/8,DIRECT #匹配数据目标IP(直连)
##- SRC-IP-CIDR,192.168.*.*/32,DIRECT #匹配数据发起IP(直连)
##- DST-PORT,80,DIRECT #匹配数据目标端口(直连)
##- SRC-PORT,7777,DIRECT #匹配数据源端口(直连)

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

port: 7890
socks-port: 7891
allow-lan: true
mode: rule
log-level: info
dns:
  enable: true
  ipv6: true
  prefer-h3: true
  use-hosts: true
  use-system-hosts: true
  enhanced-mode: redir-host
  default-nameserver:
  - 223.5.*.*
  - 119.29.*.*
  nameserver-policy:
    "+.arpa": 10.0.*.*
    rule-set:China:
    - https://doh.pub/dns-query
    - https://dns.alidns.com/dns-query
  listen: 0.0.*.*:7874
sniffer:
  enable: true
  force-dns-mapping: true
  parse-pure-ip: true
  override-destination: false
  sniff:
    QUIC:
      ports:
      - 443
    TLS:
      ports:
      - 443
      - 8443
    HTTP:
      ports:
      - 80
      - 8080-8880
      override-destination: true
  force-domain:
  - "+.netflix.com"
  - "+.nflxvideo.net"
  - "+.amazonaws.com"
  - "+.media.dssott.com"
  skip-domain:
  - "+.apple.com"
  - Mijia Cloud
  - dlg.io.mi.com
  - "+.oray.com"
  - "+.sunlogin.net"
rule-providers:
  Advertising:
    type: http
    behavior: classical
    url: https://mirror.ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/AdvertisingLite/AdvertisingLite_Classical.yaml
    path: "./rule_provider/Advertising.yaml"
    interval: 86400
  Global:
    type: http
    behavior: classical
    url: https://mirror.ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/Global/Global_Classical.yaml
    path: "./rule_provider/global.yaml"
    interval: 86400
  GlobalMedia:
    type: http
    behavior: classical
    url: https://mirror.ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/GlobalMedia/GlobalMedia.yaml
    path: "./rule_provider/GlobalMedia.yaml"
    interval: 86400
  China:
    type: http
    behavior: classical
    url: https://mirror.ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/China/China_Classical.yaml
    path: "./rule_provider/china.yaml"
    interval: 86400
  ChinaMedia:
    type: http
    behavior: classical
    url: https://mirror.ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/ChinaMedia/ChinaMedia.yaml
    path: "./rule_provider/ChinaMedia.yaml"
    interval: 86400
  Special:
    type: http
    behavior: classical
    url: https://mirror.ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/Direct/Direct.yaml
    path: "./rule_provider/Special.yaml"
    interval: 86400
  ChinaIPsBGP:
    type: http
    behavior: ipcidr
    url: https://mirror.ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/ChinaIPsBGP/ChinaIPsBGP_IP.yaml
    path: "./rule_provider/ChinaIPsBGP.yaml"
    interval: 86400
  Lan:
    type: http
    behavior: classical
    url: https://mirror.ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/Lan/Lan.yaml
    path: "./rule_provider/lan.yaml"
    interval: 86400
  Netflix:
    type: http
    behavior: classical
    url: https://mirror.ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/Netflix/Netflix.yaml
    path: "./rule_provider/netflix.yaml"
    interval: 86400
  Paypal:
    type: http
    behavior: classical
    url: https://mirror.ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/PayPal/PayPal.yaml
    path: "./rule_provider/paypal.yaml"
    interval: 86400
  Speedtest:
    type: http
    behavior: classical
    url: https://mirror.ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/Speedtest/Speedtest.yaml
    path: "./rule_provider/speedtest.yaml"
    interval: 86400
  SteamCN:
    type: http
    behavior: classical
    url: https://mirror.ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/SteamCN/SteamCN.yaml
    path: "./rule_provider/steamcn.yaml"
    interval: 86400
proxy-groups:
- name: Proxies
  type: select
  proxies:
  - Master Proxies
  - Dler-Std
  - Dler
  - Selfhost
  - NNR
  - DIRECT
  - Manual Select
- name: Master Proxies
  type: fallback
  url: http://www.apple.com/library/test/success.html
  interval: 300
  proxies:
  - Dler-Std
  - NNR
  - Selfhost
- name: Dler-Std
  type: url-test
  url: http://www.apple.com/library/test/success.html
  interval: 300
  use:
  - dler-std
- name: NNR
  type: url-test
  url: http://www.apple.com/library/test/success.html
  interval: 300
  use:
  - nnr
- name: Selfhost
  type: fallback
  url: http://www.apple.com/library/test/success.html
  interval: 120
  proxies:
  - WikiHost-JPN-trojan-gRPC
  - WikiHost-JPN-trojan-WS
- name: Dler
  type: url-test
  url: http://www.apple.com/library/test/success.html
  interval: 300
  use:
  - dler
- name: Manual Select
  type: select
  proxies:
  - WikiHost-JPN-trojan-gRPC
  - WikiHost-JPN-trojan-WS
  use:
  - dler
  - nnr
- name: Advertising
  type: select
  proxies:
  - REJECT
  - DIRECT
  - Proxies
- name: Netflix
  type: select
  proxies:
  - Proxies
  - DIRECT
  - Manual Select
- name: Speedtest
  type: select
  proxies:
  - DIRECT
  - Proxies
  - Manual Select
- name: PayPal
  type: select
  proxies:
  - Proxies
  - DIRECT
- name: Final
  type: select
  proxies:
  - Proxies
  - DIRECT
rules:
- DOMAIN-SUFFIX,garmin.com,Proxies
- DOMAIN-KEYWORD,steamcloud,Proxies
- DOMAIN-SUFFIX,cm.steampowered.com,DIRECT
- DOMAIN-SUFFIX,steamserver.net,DIRECT
- IP-CIDR,45.121.*.*/24,DIRECT
- IP-CIDR,103.10.*.*/23,DIRECT
- IP-CIDR,103.28.*.*/24,DIRECT
- IP-CIDR,146.66.*.*/24,DIRECT
- IP-CIDR,146.66.*.*/24,DIRECT
- IP-CIDR,153.254.*.*/24,DIRECT
- IP-CIDR,155.133.*.*/22,DIRECT
- IP-CIDR,155.133.*.*/24,DIRECT
- IP-CIDR,155.133.*.*/23,DIRECT
- IP-CIDR,155.133.*.*/24,DIRECT
- IP-CIDR,155.133.*.*/22,DIRECT
- IP-CIDR,155.133.*.*/23,DIRECT
- IP-CIDR,155.133.*.*/23,DIRECT
- IP-CIDR,155.133.*.*/24,DIRECT
- IP-CIDR,155.133.*.*/21,DIRECT
- IP-CIDR,162.254.*.*/21,DIRECT
- IP-CIDR,185.25.*.*/23,DIRECT
- IP-CIDR,190.217.*.*/22,DIRECT
- IP-CIDR,192.69.*.*/22,DIRECT
- IP-CIDR,205.196.*.*/24,DIRECT
- IP-CIDR,208.64.*.*/22,DIRECT
- IP-CIDR,208.78.*.*/22,DIRECT
- IP-CIDR,205.185.*.*/24,DIRECT
- DOMAIN-SUFFIX,microsoft.com,Proxies
- RULE-SET,Lan,DIRECT
- RULE-SET,Special,DIRECT
- RULE-SET,Advertising,Advertising
- RULE-SET,SteamCN,DIRECT
- RULE-SET,Speedtest,Speedtest
- RULE-SET,Paypal,PayPal
- RULE-SET,Netflix,Netflix
- RULE-SET,ChinaMedia,DIRECT
- RULE-SET,China,DIRECT
- RULE-SET,ChinaIPsBGP,DIRECT
- RULE-SET,Global,Proxies
- RULE-SET,GlobalMedia,Proxies
- MATCH,Final
redir-port: 7892
tproxy-port: 7895
mixed-port: 7893
external-controller: 0.0.*.*:9090
bind-address: "*"
external-ui: "/usr/share/openclash/ui"
keep-alive-interval: 15
keep-alive-idle: 600
ipv6: true
geodata-mode: true
geodata-loader: standard
tcp-concurrent: true
unified-delay: true
find-process-mode: 'off'
global-client-fingerprint: random
profile:
  store-selected: true
routing-mark: 6666
authentication:
- Clash:MPDp1JcC

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

#!/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.*.*"

    #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.10 (nf_tables) on Thu Jan 23 19:10:39 2025
*nat
:PREROUTING ACCEPT [0:0]
:INPUT ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
COMMIT
# Completed on Thu Jan 23 19:10:39 2025

#IPv4 Mangle chain

# Generated by iptables-save v1.8.10 (nf_tables) on Thu Jan 23 19:10:39 2025
*mangle
:PREROUTING ACCEPT [0:0]
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
COMMIT
# Completed on Thu Jan 23 19:10:39 2025

#IPv4 Filter chain

# Generated by iptables-save v1.8.10 (nf_tables) on Thu Jan 23 19:10:39 2025
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
COMMIT
# Completed on Thu Jan 23 19:10:39 2025

#IPv6 NAT chain


#IPv6 Mangle chain


#IPv6 Filter chain


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

table inet fw4 {
	chain input {
		type filter hook input priority filter; policy drop;
		udp dport 443 ip daddr != @china_ip_route counter packets 30 bytes 39066 reject with icmp port-unreachable comment "OpenClash QUIC REJECT"
		iifname "eth1" ip saddr != @localnetwork counter packets 0 bytes 0 jump openclash_wan_input
		iif "lo" accept comment "!fw4: Accept traffic from loopback"
		ct state vmap { established : accept, related : accept } comment "!fw4: Handle inbound flows"
		tcp flags & (fin | syn | rst | ack) == syn jump syn_flood comment "!fw4: Rate limit TCP syn packets"
		iifname "br-lan" jump input_lan comment "!fw4: Handle lan IPv4/IPv6 input traffic"
		iifname { "eth1", "pppoe-wan" } jump input_wan comment "!fw4: Handle wan IPv4/IPv6 input traffic"
		jump handle_reject
	}
}
table inet fw4 {
	chain forward {
		type filter hook forward priority filter; policy drop;
		meta l4proto { tcp, udp } flow add @ft
		ct state vmap { established : accept, related : accept } comment "!fw4: Handle forwarded flows"
		iifname "br-lan" jump forward_lan comment "!fw4: Handle lan IPv4/IPv6 forward traffic"
		iifname { "eth1", "pppoe-wan" } jump forward_wan comment "!fw4: Handle wan IPv4/IPv6 forward traffic"
		jump handle_reject
	}
}
table inet fw4 {
	chain dstnat {
		type nat hook prerouting priority dstnat; policy accept;
		udp dport 53 ether saddr @lan_ac_white_macs counter packets 0 bytes 0 redirect to :53 comment "OpenClash DNS Hijack"
		tcp dport 53 ether saddr @lan_ac_white_macs counter packets 702 bytes 40744 redirect to :53 comment "OpenClash DNS Hijack"
		udp dport 53 ip saddr @lan_ac_white_ips counter packets 0 bytes 0 redirect to :53 comment "OpenClash DNS Hijack"
		tcp dport 53 ip saddr @lan_ac_white_ips counter packets 0 bytes 0 redirect to :53 comment "OpenClash DNS Hijack"
		iifname { "eth1", "pppoe-wan" } jump dstnat_wan comment "!fw4: Handle wan IPv4/IPv6 dstnat traffic"
		ip protocol tcp counter packets 270 bytes 15200 jump openclash
	}
}
table inet fw4 {
	chain srcnat {
		type nat hook postrouting priority srcnat; policy accept;
		oifname { "eth1", "pppoe-wan" } jump srcnat_wan comment "!fw4: Handle wan IPv4/IPv6 srcnat traffic"
	}
}
table inet fw4 {
	chain nat_output {
		type nat hook output priority filter - 1; policy accept;
		meta skuid != 65534 udp dport 53 ip daddr 127.0.*.* counter packets 10 bytes 694 redirect to :53 comment "OpenClash DNS Hijack"
		meta skuid != 65534 tcp dport 53 ip daddr 127.0.*.* counter packets 0 bytes 0 redirect to :53 comment "OpenClash DNS Hijack"
		ip protocol tcp counter packets 1039 bytes 65100 jump openclash_output
	}
}
table inet fw4 {
	chain mangle_prerouting {
		type filter hook prerouting priority mangle; policy accept;
		ip protocol udp counter packets 4537 bytes 748184 jump openclash_mangle
	}
}
table inet fw4 {
	chain mangle_output {
		type route hook output priority mangle; policy accept;
	}
}
table inet fw4 {
	chain openclash {
		ip daddr @localnetwork counter packets 31 bytes 1600 return
		ether saddr != @lan_ac_white_macs ip saddr != @lan_ac_white_ips counter packets 141 bytes 8504 return
		ip protocol tcp counter packets 98 bytes 5096 redirect to :7892
	}
}
table inet fw4 {
	chain openclash_mangle {
		meta nfproto ipv4 udp sport 500 counter packets 0 bytes 0 return
		meta nfproto ipv4 udp sport 68 counter packets 5 bytes 1598 return
		meta l4proto udp iifname "lo" counter packets 1886 bytes 212768 return
		ip daddr @localnetwork counter packets 2568 bytes 489817 return
		udp dport 53 counter packets 31 bytes 2151 return
		ether saddr != @lan_ac_white_macs ip saddr != @lan_ac_white_ips counter packets 14 bytes 2556 return
		ip protocol udp counter packets 33 bytes 39294 jump openclash_upnp
		meta l4proto udp meta mark set 0x00000162 tproxy ip to 127.0.*.*:7895 counter packets 33 bytes 39294 accept
	}
}
table inet fw4 {
	chain openclash_output {
		ip daddr @localnetwork counter packets 847 bytes 53580 return
		ip protocol tcp meta skuid != 65534 counter packets 2 bytes 120 redirect to :7892
	}
}
table inet fw4 {
	chain openclash_wan_input {
		udp dport { 7874, 7890, 7891, 7892, 7893, 7895, 9090 } counter packets 0 bytes 0 reject
		tcp dport { 7874, 7890, 7891, 7892, 7893, 7895, 9090 } counter packets 0 bytes 0 reject
	}
}

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


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

#IPv4

#route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.*.*         10.64.*.*       0.0.*.*         UG    0      0        0 pppoe-wan
10.0.*.*        0.0.*.*         255.255.*.*   U     0      0        0 br-lan
10.64.*.*       0.0.*.*         255.255.*.* UH    0      0        0 pppoe-wan

#ip route list
default via 10.64.*.* dev pppoe-wan proto static 
10.0.*.*/24 dev br-lan proto kernel scope link src 10.0.*.* 
10.64.*.* dev pppoe-wan proto kernel scope link src 10.64.*.* 

#ip rule show
0:	from all lookup local
32765:	from all fwmark 0x162 lookup 354
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
::/0                                        fe80::*:*:*:122                 UG    512    5        0 pppoe-wan
::/0                                        fe80::*:*:*:122                 UG    512    6        0 pppoe-wan
2409:*:*:*::/64                    ::                                      !n    2147483647 2        0 lo      
2409:*:*:*::/64                    ::                                      U     1024   3        0 br-lan  
2409:*:*:*::/60                    ::                                      !n    2147483647 1        0 lo      
fdc6:3088:b73f::/64                         ::                                      U     1024   5        0 br-lan  
fdc6:3088:b73f::/48                         ::                                      !n    2147483647 2        0 lo      
fe80::*:*:*:122/128                 ::                                      U     256    2        0 pppoe-wan
fe80::*:*:*:ff58/128               ::                                      U     256    1        0 pppoe-wan
fe80::/64                                   ::                                      U     256    2        0 eth1    
fe80::/64                                   ::                                      U     256    3        0 br-lan  
::/0                                        ::                                      !n    -1     2        0 lo      
::1/128                                     ::                                      Un    0      7        0 lo      
2409:*:*:*::/128                   ::                                      Un    0      3        0 pppoe-wan
2409:*:*:*:c555:1c04:3947:ff58/128 ::                                      Un    0      8        0 pppoe-wan
2409:*:*:*::/128                   ::                                      Un    0      3        0 br-lan  
2409:*:*:*::1/128                  ::                                      Un    0      7        0 br-lan  
fdc6:3088:b73f::/128                        ::                                      Un    0      3        0 br-lan  
fdc6:3088:b73f::1/128                       ::                                      Un    0      4        0 br-lan  
fe80::/128                                  ::                                      Un    0      3        0 eth1    
fe80::/128                                  ::                                      Un    0      3        0 br-lan  
fe80::*:*:*:fa1a/128               ::                                      Un    0      5        0 eth1    
fe80::*:*:*:9713/128               ::                                      Un    0      3        0 br-lan  
fe80::*:*:*:ff58/128               ::                                      Un    0      3        0 pppoe-wan
ff00::/8                                    ::                                      U     256    6        0 br-lan  
ff00::/8                                    ::                                      U     256    3        0 eth1    
ff00::/8                                    ::                                      U     256    5        0 pppoe-wan
::/0                                        ::                                      !n    -1     2        0 lo      

#ip -6 route list
default from 2409:*:*:*::/64 via fe80::200:5eff:fe00:122 dev pppoe-wan proto static metric 512 pref medium
default from 2409:*:*:*::/60 via fe80::200:5eff:fe00:122 dev pppoe-wan proto static metric 512 pref medium
unreachable 2409:*:*:*::/64 dev lo proto static metric 2147483647 pref medium
2409:*:*:*::/64 dev br-lan proto static metric 1024 pref medium
unreachable 2409:*:*:*::/60 dev lo proto static metric 2147483647 pref medium
fdc6:3088:b73f::/64 dev br-lan proto static metric 1024 pref medium
unreachable fdc6:3088:b73f::/48 dev lo proto static metric 2147483647 pref medium
fe80::*:*:*:122 dev pppoe-wan proto kernel metric 256 pref medium
fe80::*:*:*:ff58 dev pppoe-wan proto kernel metric 256 pref medium
fe80::/64 dev eth1 proto kernel metric 256 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
4200000000:	from 2409:*:*:*::1/60 iif br-lan unreachable

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

tcp        0      0 :::7895                 :::*                    LISTEN      26681/clash
tcp        0      0 :::7892                 :::*                    LISTEN      26681/clash
tcp        0      0 :::7893                 :::*                    LISTEN      26681/clash
tcp        0      0 :::7890                 :::*                    LISTEN      26681/clash
tcp        0      0 :::7891                 :::*                    LISTEN      26681/clash
tcp        0      0 :::7874                 :::*                    LISTEN      26681/clash
tcp        0      0 :::9090                 :::*                    LISTEN      26681/clash
udp        0      0 :::7874                 :::*                                26681/clash
udp        0      0 :::7891                 :::*                                26681/clash
udp        0      0 :::7892                 :::*                                26681/clash
udp        0      0 :::7893                 :::*                                26681/clash
udp        0      0 :::7895                 :::*                                26681/clash
udp        0      0 :::37703                :::*                                26681/clash
udp        0      0 :::37282                :::*                                26681/clash
udp        0      0 :::35786                :::*                                26681/clash
udp        0      0 :::44640                :::*                                26681/clash

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

Server:		127.0.*.*
Address:	127.0.*.*:53

www.baidu.com	canonical name = www.a.shifen.com
Name:	www.a.shifen.com
Address: 2409:*:*:*:0:ff:b0c5:962f
Name:	www.a.shifen.com
Address: 2409:*:*:*:0:ff:b0cc:ddc5

www.baidu.com	canonical name = www.a.shifen.com
Name:	www.a.shifen.com
Address: 183.240.*.*
Name:	www.a.shifen.com
Address: 183.240.*.*


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

Status: 0
TC: false
RD: true
RA: true
AD: false
CD: false

Question: 
  Name: www.instagram.com.
  Qtype: 1
  Qclass: 1

Answer: 
  TTL: 300
  data: 157.240.*.*
  name: www.instagram.com.
  type: 1

Status: 0
TC: false
RD: true
RA: true
AD: false
CD: false

Question: 
  Name: www.instagram.com.
  Qtype: 28
  Qclass: 1

Answer: 
  TTL: 300
  data: 2a03:*:*:*:face:b00c:0:4420
  name: www.instagram.com.
  type: 28


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

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

# Interface lan
nameserver 119.29.*.*
nameserver 8.8.*.*

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

# Interface lan
nameserver 119.29.*.*
nameserver 8.8.*.*

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

HTTP/1.1 200 OK
Bdpagetype: 1
Bdqid: 0xdec1d49b0023dd89
Connection: keep-alive
Content-Length: 511132
Content-Type: text/html; charset=utf-8
Date: Thu, 23 Jan 2025 11:10:40 GMT
Server: BWS/1.1
Set-Cookie: BIDUPSID=04DE37DF4DFA62D5C00C66BD1B257B01; expires=Thu, 31-Dec-37 23:55:55 GMT; max-age=2147483647; path=/; domain=.baidu.com
Set-Cookie: PSTM=1737630640; expires=Thu, 31-Dec-37 23:55:55 GMT; max-age=2147483647; path=/; domain=.baidu.com
Set-Cookie: BDSVRTM=0; path=/
Set-Cookie: BD_HOME=1; path=/
Set-Cookie: BAIDUID=04DE37DF4DFA62D5C00C66BD1B257B01:FG=1; Path=/; Domain=baidu.com; Max-Age=31536000
Set-Cookie: BAIDUID_BFESS=04DE37DF4DFA62D5C00C66BD1B257B01:FG=1; Path=/; Domain=baidu.com; Max-Age=31536000; Secure; SameSite=None
Traceid: 1737630640044775629816051344309112528265
Vary: Accept-Encoding
X-Ua-Compatible: IE=Edge,chrome=1
X-Xss-Protection: 1;mode=block


#===================== 测试本机网络下载(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: "f6037a93c68519d7041a3b4df325b61c424ec255b45dfeb063371319e39b0d96"
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: 8913:2B21FB:D4565:14242D:679223AF
accept-ranges: bytes
date: Thu, 23 Jan 2025 11:10:40 GMT
via: 1.1 varnish
x-served-by: cache-hkg17930-HKG
x-cache: MISS
x-cache-hits: 0
x-timer: S1737630641.553371,VS0,VE349
vary: Authorization,Accept-Encoding,Origin
access-control-allow-origin: *
cross-origin-resource-policy: cross-origin
x-fastly-request-id: 23a9c9c6be647dc86deea7c8e2f879280637925b
expires: Thu, 23 Jan 2025 11:15:40 GMT
source-age: 0
content-length: 1071


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

time="2025-01-23T11:10:42.207108571Z" level=debug msg="[DNS] cache hit beacons2.gvt2.com --> [0.0.*.*] HTTPS, expire at 2025-01-23 11:11:45"
time="2025-01-23T11:10:42.209248840Z" level=debug msg="[DNS] cache hit beacons4.gvt2.com --> [::] AAAA, expire at 2025-01-23 11:11:46"
time="2025-01-23T11:10:42.209469637Z" level=debug msg="[DNS] cache hit beacons4.gvt2.com --> [0.0.*.*] A, expire at 2025-01-23 11:11:46"
time="2025-01-23T11:10:42.209716564Z" level=debug msg="[DNS] cache hit beacons4.gvt2.com --> [0.0.*.*] HTTPS, expire at 2025-01-23 11:11:46"
time="2025-01-23T11:10:42.211652418Z" level=debug msg="[DNS] cache hit beacons4.gvt2.com --> [::] AAAA, expire at 2025-01-23 11:11:46"
time="2025-01-23T11:10:42.212017930Z" level=debug msg="[DNS] cache hit beacons4.gvt2.com --> [0.0.*.*] A, expire at 2025-01-23 11:11:46"
time="2025-01-23T11:10:42.212233089Z" level=debug msg="[DNS] cache hit beacons4.gvt2.com --> [0.0.*.*] HTTPS, expire at 2025-01-23 11:11:46"
time="2025-01-23T11:10:42.214592005Z" level=debug msg="[DNS] cache hit beacons3.gvt2.com --> [::] AAAA, expire at 2025-01-23 11:11:45"
time="2025-01-23T11:10:42.214805919Z" level=debug msg="[DNS] cache hit beacons3.gvt2.com --> [0.0.*.*] A, expire at 2025-01-23 11:11:45"
time="2025-01-23T11:10:42.215138862Z" level=debug msg="[DNS] cache hit beacons3.gvt2.com --> [0.0.*.*] HTTPS, expire at 2025-01-23 11:11:45"
time="2025-01-23T11:10:42.217079424Z" level=debug msg="[DNS] cache hit beacons3.gvt2.com --> [::] AAAA, expire at 2025-01-23 11:11:45"
time="2025-01-23T11:10:42.217318347Z" level=debug msg="[DNS] cache hit beacons3.gvt2.com --> [0.0.*.*] A, expire at 2025-01-23 11:11:45"
time="2025-01-23T11:10:42.217472532Z" level=debug msg="[DNS] cache hit beacons3.gvt2.com --> [0.0.*.*] HTTPS, expire at 2025-01-23 11:11:45"
time="2025-01-23T11:10:42.219520834Z" level=debug msg="[DNS] cache hit beacons5.gvt2.com --> [::] AAAA, expire at 2025-01-23 11:11:47"
time="2025-01-23T11:10:42.219714987Z" level=debug msg="[DNS] cache hit beacons5.gvt2.com --> [0.0.*.*] A, expire at 2025-01-23 11:11:47"
time="2025-01-23T11:10:42.219867925Z" level=debug msg="[DNS] cache hit beacons5.gvt2.com --> [0.0.*.*] HTTPS, expire at 2025-01-23 11:11:47"
time="2025-01-23T11:10:42.326205585Z" level=debug msg="[DNS] cache hit beacons5.gvt2.com --> [::] AAAA, expire at 2025-01-23 11:11:47"
time="2025-01-23T11:10:42.326319953Z" level=debug msg="[DNS] cache hit beacons5.gvt2.com --> [0.0.*.*] A, expire at 2025-01-23 11:11:47"
time="2025-01-23T11:10:42.357860049Z" level=debug msg="[DNS] cache hit beacons4.gvt2.com --> [::] AAAA, expire at 2025-01-23 11:11:46"
time="2025-01-23T11:10:43.208792869Z" level=debug msg="[DNS] cache hit cloudlog001.rj.link --> [] AAAA, expire at 2025-01-23 11:15:42"
time="2025-01-23T11:10:43.208831980Z" level=debug msg="[DNS] cache hit cloudlog001.rj.link --> [] AAAA, expire at 2025-01-23 11:15:42"
time="2025-01-23T11:10:43.210585527Z" level=debug msg="[DNS] cache hit cloudlog001.rj.link --> [58.22.*.*] A, expire at 2025-01-23 11:12:28"
time="2025-01-23T11:10:43.210662504Z" level=debug msg="[DNS] cache hit cloudlog001.rj.link --> [58.22.*.*] A, expire at 2025-01-23 11:12:28"
time="2025-01-23T11:10:43.372408387Z" level=debug msg="[DNS] cache hit beacons4.gvt2.com --> [0.0.*.*] HTTPS, expire at 2025-01-23 11:11:46"
time="2025-01-23T11:10:43.372460998Z" level=debug msg="[DNS] cache hit beacons4.gvt2.com --> [0.0.*.*] A, expire at 2025-01-23 11:11:46"
time="2025-01-23T11:10:43.373055716Z" level=debug msg="[DNS] cache hit beacons4.gvt2.com --> [0.0.*.*] HTTPS, expire at 2025-01-23 11:11:46"
time="2025-01-23T11:10:43.373294409Z" level=debug msg="[DNS] cache hit beacons4.gvt2.com --> [0.0.*.*] A, expire at 2025-01-23 11:11:46"
time="2025-01-23T11:10:43.375108335Z" level=debug msg="[DNS] cache hit beacons4.gvt2.com --> [0.0.*.*] A, expire at 2025-01-23 11:11:46"
time="2025-01-23T11:10:43.375151567Z" level=debug msg="[DNS] cache hit beacons4.gvt2.com --> [::] AAAA, expire at 2025-01-23 11:11:46"
time="2025-01-23T11:10:43.375313635Z" level=debug msg="[DNS] cache hit beacons4.gvt2.com --> [0.0.*.*] HTTPS, expire at 2025-01-23 11:11:46"
time="2025-01-23T11:10:43.513735906Z" level=debug msg="[DNS] cache hit cloudlog001.rj.link --> [] AAAA, expire at 2025-01-23 11:15:42"
time="2025-01-23T11:10:43.513804100Z" level=debug msg="[DNS] cache hit cloudlog001.rj.link --> [] AAAA, expire at 2025-01-23 11:15:42"
time="2025-01-23T11:10:43.515582350Z" level=debug msg="[DNS] cache hit cloudlog001.rj.link --> [58.22.*.*] A, expire at 2025-01-23 11:12:28"
time="2025-01-23T11:10:43.515623917Z" level=debug msg="[DNS] cache hit cloudlog001.rj.link --> [58.22.*.*] A, expire at 2025-01-23 11:12:28"
time="2025-01-23T11:10:43.659772198Z" level=debug msg="[DNS] cache hit beacons5.gvt2.com --> [0.0.*.*] A, expire at 2025-01-23 11:11:47"
time="2025-01-23T11:10:43.659832425Z" level=debug msg="[DNS] cache hit beacons5.gvt2.com --> [::] AAAA, expire at 2025-01-23 11:11:47"
time="2025-01-23T11:10:43.659951440Z" level=debug msg="[DNS] cache hit beacons5.gvt2.com --> [0.0.*.*] HTTPS, expire at 2025-01-23 11:11:47"
time="2025-01-23T11:10:43.660169574Z" level=debug msg="[DNS] cache hit beacons.gcp.gvt2.com --> [::] AAAA, expire at 2025-01-23 11:11:44"
time="2025-01-23T11:10:43.660420289Z" level=debug msg="[DNS] cache hit beacons.gcp.gvt2.com --> [0.0.*.*] A, expire at 2025-01-23 11:11:44"
time="2025-01-23T11:10:43.660571518Z" level=debug msg="[DNS] cache hit beacons.gcp.gvt2.com --> [0.0.*.*] HTTPS, expire at 2025-01-23 11:11:44"
time="2025-01-23T11:10:43.661982932Z" level=debug msg="[DNS] cache hit beacons5.gvt2.com --> [::] AAAA, expire at 2025-01-23 11:11:47"
time="2025-01-23T11:10:43.662024606Z" level=debug msg="[DNS] cache hit beacons5.gvt2.com --> [0.0.*.*] A, expire at 2025-01-23 11:11:47"
time="2025-01-23T11:10:43.662196122Z" level=debug msg="[DNS] cache hit beacons5.gvt2.com --> [0.0.*.*] HTTPS, expire at 2025-01-23 11:11:47"
time="2025-01-23T11:10:43.663023929Z" level=debug msg="[DNS] cache hit beacons.gcp.gvt2.com --> [::] AAAA, expire at 2025-01-23 11:11:44"
time="2025-01-23T11:10:43.663072481Z" level=debug msg="[DNS] cache hit beacons.gcp.gvt2.com --> [0.0.*.*] A, expire at 2025-01-23 11:11:44"
time="2025-01-23T11:10:43.663382793Z" level=debug msg="[DNS] cache hit beacons.gcp.gvt2.com --> [0.0.*.*] HTTPS, expire at 2025-01-23 11:11:44"
time="2025-01-23T11:10:43.846148252Z" level=debug msg="[DNS] cache hit beacons.gvt2.com --> [::] AAAA, expire at 2025-01-23 11:11:44"
time="2025-01-23T11:10:43.846282869Z" level=debug msg="[DNS] cache hit beacons.gvt2.com --> [0.0.*.*] A, expire at 2025-01-23 11:11:44"
time="2025-01-23T11:10:43.846463465Z" level=debug msg="[DNS] cache hit beacons.gvt2.com --> [0.0.*.*] HTTPS, expire at 2025-01-23 11:11:44"
time="2025-01-23T11:10:43.848254144Z" level=debug msg="[DNS] cache hit beacons.gvt2.com --> [::] AAAA, expire at 2025-01-23 11:11:44"
time="2025-01-23T11:10:43.848380846Z" level=debug msg="[DNS] cache hit beacons.gvt2.com --> [0.0.*.*] A, expire at 2025-01-23 11:11:44"
time="2025-01-23T11:10:43.848584342Z" level=debug msg="[DNS] cache hit beacons.gvt2.com --> [0.0.*.*] HTTPS, expire at 2025-01-23 11:11:44"
time="2025-01-23T11:10:43.914728421Z" level=debug msg="[DNS] cache hit www.baidu.com --> [183.240.*.* 183.240.*.*] A, expire at 2025-01-23 11:10:46"
time="2025-01-23T11:10:43.924497539Z" level=debug msg="[DNS] cache hit beacons2.gvt2.com --> [::] AAAA, expire at 2025-01-23 11:11:44"
time="2025-01-23T11:10:43.924661834Z" level=debug msg="[DNS] cache hit beacons2.gvt2.com --> [0.0.*.*] A, expire at 2025-01-23 11:11:44"
time="2025-01-23T11:10:43.924831113Z" level=debug msg="[DNS] cache hit beacons2.gvt2.com --> [0.0.*.*] HTTPS, expire at 2025-01-23 11:11:45"
time="2025-01-23T11:10:43.926921269Z" level=debug msg="[DNS] cache hit beacons2.gvt2.com --> [::] AAAA, expire at 2025-01-23 11:11:44"
time="2025-01-23T11:10:43.927005609Z" level=debug msg="[DNS] cache hit beacons2.gvt2.com --> [0.0.*.*] A, expire at 2025-01-23 11:11:44"
time="2025-01-23T11:10:43.927105305Z" level=debug msg="[DNS] cache hit beacons2.gvt2.com --> [0.0.*.*] HTTPS, expire at 2025-01-23 11:11:45"
time="2025-01-23T11:10:44.270125380Z" level=debug msg="[DNS] cache hit collector.github.com --> [0.0.*.*] A, expire at 2025-01-23 11:14:13"
time="2025-01-23T11:10:44.270195111Z" level=debug msg="[DNS] cache hit collector.github.com --> [::] AAAA, expire at 2025-01-23 11:14:13"
time="2025-01-23T11:10:44.270418614Z" level=debug msg="[DNS] cache hit collector.github.com --> [0.0.*.*] HTTPS, expire at 2025-01-23 11:14:13"
time="2025-01-23T11:10:44.273444834Z" level=debug msg="[DNS] cache hit collector.github.com --> [0.0.*.*] A, expire at 2025-01-23 11:14:13"
time="2025-01-23T11:10:44.273508045Z" level=debug msg="[DNS] cache hit collector.github.com --> [::] AAAA, expire at 2025-01-23 11:14:13"
time="2025-01-23T11:10:44.273705597Z" level=debug msg="[DNS] cache hit collector.github.com --> [0.0.*.*] HTTPS, expire at 2025-01-23 11:14:13"
time="2025-01-23T11:10:44.276361765Z" level=debug msg="[DNS] cache hit beacons3.gvt2.com --> [0.0.*.*] A, expire at 2025-01-23 11:11:45"
time="2025-01-23T11:10:44.276423760Z" level=debug msg="[DNS] cache hit beacons3.gvt2.com --> [::] AAAA, expire at 2025-01-23 11:11:45"
time="2025-01-23T11:10:44.276548299Z" level=debug msg="[DNS] cache hit beacons3.gvt2.com --> [0.0.*.*] HTTPS, expire at 2025-01-23 11:11:45"
time="2025-01-23T11:10:44.278328218Z" level=debug msg="[DNS] cache hit beacons3.gvt2.com --> [::] AAAA, expire at 2025-01-23 11:11:45"
time="2025-01-23T11:10:44.278428785Z" level=debug msg="[DNS] cache hit beacons3.gvt2.com --> [0.0.*.*] A, expire at 2025-01-23 11:11:45"
time="2025-01-23T11:10:44.278529439Z" level=debug msg="[DNS] cache hit beacons3.gvt2.com --> [0.0.*.*] HTTPS, expire at 2025-01-23 11:11:45"
time="2025-01-23T11:10:44.648526767Z" level=debug msg="[DNS] cache hit beacons4.gvt2.com --> [0.0.*.*] A, expire at 2025-01-23 11:11:46"
time="2025-01-23T11:10:44.648630044Z" level=debug msg="[DNS] cache hit beacons4.gvt2.com --> [::] AAAA, expire at 2025-01-23 11:11:46"
time="2025-01-23T11:10:44.648865510Z" level=debug msg="[DNS] cache hit beacons4.gvt2.com --> [0.0.*.*] HTTPS, expire at 2025-01-23 11:11:46"
time="2025-01-23T11:10:44.650773937Z" level=debug msg="[DNS] cache hit beacons4.gvt2.com --> [::] AAAA, expire at 2025-01-23 11:11:46"
time="2025-01-23T11:10:44.650893413Z" level=debug msg="[DNS] cache hit beacons4.gvt2.com --> [0.0.*.*] A, expire at 2025-01-23 11:11:46"
time="2025-01-23T11:10:44.651136950Z" level=debug msg="[DNS] cache hit beacons4.gvt2.com --> [0.0.*.*] HTTPS, expire at 2025-01-23 11:11:46"
time="2025-01-23T11:10:45.182559152Z" level=debug msg="[DNS] cache hit beacons5.gvt2.com --> [::] AAAA, expire at 2025-01-23 11:11:47"
time="2025-01-23T11:10:45.182608153Z" level=debug msg="[DNS] cache hit beacons5.gvt2.com --> [0.0.*.*] A, expire at 2025-01-23 11:11:47"
time="2025-01-23T11:10:45.182608543Z" level=debug msg="[DNS] cache hit beacons5.gvt2.com --> [0.0.*.*] HTTPS, expire at 2025-01-23 11:11:47"
time="2025-01-23T11:10:45.184694005Z" level=debug msg="[DNS] cache hit beacons5.gvt2.com --> [::] AAAA, expire at 2025-01-23 11:11:47"
time="2025-01-23T11:10:45.184778268Z" level=debug msg="[DNS] cache hit beacons5.gvt2.com --> [0.0.*.*] A, expire at 2025-01-23 11:11:47"
time="2025-01-23T11:10:45.185513767Z" level=debug msg="[DNS] cache hit beacons5.gvt2.com --> [0.0.*.*] HTTPS, expire at 2025-01-23 11:11:47"
time="2025-01-23T11:10:46.021624949Z" level=debug msg="[DNS] cache hit finderhwy.video.qq.com --> [39.137.*.* 39.137.*.* 39.137.*.* 39.137.*.*] A, expire at 2025-01-23 11:10:40"
time="2025-01-23T11:10:46.021659910Z" level=debug msg="[DNS] cache hit finderhwy.video.qq.com --> [2409:*:*:*:100::b0 2409:8087:6c08:12:100::ae 2409:8087:6c08:12:100::b1 2409:8087:6c08:12:100::af 2409:8087:6c08:12:100::b2] AAAA, expire at 2025-01-23 11:10:40"
time="2025-01-23T11:10:46.021870256Z" level=debug msg="[DNS] resolve finderhwy.video.qq.com A from https://dns.alidns.com:443/dns-query"
time="2025-01-23T11:10:46.021947473Z" level=debug msg="[DNS] resolve finderhwy.video.qq.com A from https://doh.pub:443/dns-query"
time="2025-01-23T11:10:46.021957154Z" level=debug msg="[DNS] resolve finderhwy.video.qq.com AAAA from https://dns.alidns.com:443/dns-query"
time="2025-01-23T11:10:46.021958801Z" level=debug msg="[DNS] resolve finderhwy.video.qq.com AAAA from https://doh.pub:443/dns-query"
time="2025-01-23T11:10:46.044064214Z" level=debug msg="[DNS] finderhwy.video.qq.com --> [39.137.*.* 39.137.*.* 39.137.*.* 39.137.*.*] A from https://dns.alidns.com:443/dns-query"
time="2025-01-23T11:10:46.044109822Z" level=debug msg="[DNS] finderhwy.video.qq.com --> [2409:*:*:*:100::b1 2409:8087:6c08:12:100::b2 2409:8087:6c08:12:100::b0 2409:8087:6c08:12:100::af 2409:8087:6c08:12:100::ae] AAAA from https://dns.alidns.com:443/dns-query"
time="2025-01-23T11:10:46.814834914Z" level=debug msg="[DNS] resolve sofire.baidu.com AAAA from https://dns.alidns.com:443/dns-query"
time="2025-01-23T11:10:46.814910340Z" level=debug msg="[DNS] resolve sofire.baidu.com AAAA from https://doh.pub:443/dns-query"
time="2025-01-23T11:10:46.818414470Z" level=debug msg="[DNS] resolve sofire.baidu.com A from https://dns.alidns.com:443/dns-query"
time="2025-01-23T11:10:46.818476296Z" level=debug msg="[DNS] resolve sofire.baidu.com A from https://doh.pub:443/dns-query"
time="2025-01-23T11:10:46.836979955Z" level=debug msg="[DNS] sofire.baidu.com --> [2409:*:*:*:0:ff:b08c:ea2] AAAA from https://dns.alidns.com:443/dns-query"
time="2025-01-23T11:10:46.840658170Z" level=debug msg="[DNS] sofire.baidu.com --> [183.240.*.*] A from https://dns.alidns.com:443/dns-query"
time="2025-01-23T11:10:48.670644529Z" level=debug msg="[Rule] use default rules"
time="2025-01-23T11:10:48.671957911Z" level=info msg="[UDP] 10.0.*.*:43633 --> time2.aliyun.com:123 match RuleSet(China) using DIRECT"
time="2025-01-23T11:10:48.739617087Z" level=debug msg="TProxy listenLocalConn rAddr=203.107.*.*:123 lAddr=10.0.*.*:43633"

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


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

1. SourceIP:【10.0.*.*】 - Host:【a.nel.cloudflare.com】 - DestinationIP:【35.190.*.*】 - Network:【tcp】 - RulePayload:【Global】 - Lastchain:【🇨🇳 台湾 IEPL [03] [Std]】
2. SourceIP:【10.0.*.*】 - Host:【private-user-images.githubusercontent.com】 - DestinationIP:【185.199.*.*】 - Network:【tcp】 - RulePayload:【Global】 - Lastchain:【🇨🇳 台湾 IEPL [04] [Pro]】
3. SourceIP:【10.0.*.*】 - Host:【report.idqqimg.com】 - DestinationIP:【111.30.*.*】 - Network:【tcp】 - RulePayload:【China】 - Lastchain:【DIRECT】
4. SourceIP:【10.0.*.*】 - Host:【whois.pconline.com.cn】 - DestinationIP:【223.109.*.*】 - Network:【tcp】 - RulePayload:【China】 - Lastchain:【DIRECT】
5. SourceIP:【10.0.*.*】 - Host:【Empty】 - DestinationIP:【172.67.*.*】 - Network:【tcp】 - RulePayload:【】 - Lastchain:【🇨🇳 台湾 IEPL [03] [Std]】
6. SourceIP:【10.0.*.*】 - Host:【Empty】 - DestinationIP:【114.118.*.*】 - Network:【udp】 - RulePayload:【ChinaIPsBGP】 - Lastchain:【DIRECT】
7. SourceIP:【10.0.*.*】 - Host:【camo.githubusercontent.com】 - DestinationIP:【185.199.*.*】 - Network:【tcp】 - RulePayload:【Global】 - Lastchain:【🇨🇳 台湾 IEPL [03] [Std]】
8. SourceIP:【10.0.*.*】 - Host:【clients4.google.com】 - DestinationIP:【142.250.*.*】 - Network:【tcp】 - RulePayload:【Global】 - Lastchain:【🇨🇳 台湾 IEPL [03] [Std]】
9. SourceIP:【10.0.*.*】 - Host:【experimentation.deepl.com】 - DestinationIP:【162.159.*.*】 - Network:【tcp】 - RulePayload:【Global】 - Lastchain:【🇨🇳 台湾 IEPL [03] [Std]】
10. SourceIP:【10.0.*.*】 - Host:【easylist-downloads.adblockplus.org】 - DestinationIP:【23.2.*.*】 - Network:【tcp】 - RulePayload:【Global】 - Lastchain:【🇨🇳 台湾 IEPL [04] [Pro]】
11. SourceIP:【10.0.*.*】 - Host:【Empty】 - DestinationIP:【185.199.*.*】 - Network:【tcp】 - RulePayload:【Global】 - Lastchain:【🇨🇳 台湾 IEPL [03] [Std]】
12. SourceIP:【10.0.*.*】 - Host:【clients2.google.com】 - DestinationIP:【142.250.*.*】 - Network:【tcp】 - RulePayload:【Global】 - Lastchain:【🇨🇳 台湾 IEPL [04] [Pro]】
13. SourceIP:【10.0.*.*】 - Host:【my.microsoftpersonalcontent.com】 - DestinationIP:【13.107.*.*】 - Network:【tcp】 - RulePayload:【China】 - Lastchain:【DIRECT】
14. SourceIP:【10.0.*.*】 - Host:【avatars.githubusercontent.com】 - DestinationIP:【185.199.*.*】 - Network:【tcp】 - RulePayload:【Global】 - Lastchain:【🇨🇳 台湾 IEPL [03] [Std]】
15. SourceIP:【10.0.*.*】 - Host:【s1.music.126.net】 - DestinationIP:【36.147.*.*】 - Network:【tcp】 - RulePayload:【ChinaMedia】 - Lastchain:【DIRECT】
16. SourceIP:【10.0.*.*】 - Host:【skydrive.wns.windows.com】 - DestinationIP:【20.198.*.*】 - Network:【tcp】 - RulePayload:【China】 - Lastchain:【DIRECT】
17. SourceIP:【10.0.*.*】 - Host:【ecs.office.com】 - DestinationIP:【52.123.*.*】 - Network:【tcp】 - RulePayload:【China】 - Lastchain:【DIRECT】
18. SourceIP:【10.0.*.*】 - Host:【experimentation.deepl.com】 - DestinationIP:【162.159.*.*】 - Network:【tcp】 - RulePayload:【Global】 - Lastchain:【🇨🇳 台湾 IEPL [04] [Pro]】
19. SourceIP:【10.0.*.*】 - Host:【beacons5.gvt3.com】 - DestinationIP:【120.253.*.*】 - Network:【tcp】 - RulePayload:【ChinaIPsBGP】 - Lastchain:【DIRECT】
20. SourceIP:【10.0.*.*】 - Host:【qqwry.api.skk.moe】 - DestinationIP:【162.159.*.*】 - Network:【tcp】 - RulePayload:【Global】 - Lastchain:【🇨🇳 台湾 IEPL [04] [Pro]】
21. SourceIP:【10.0.*.*】 - Host:【api.ip.sb】 - DestinationIP:【162.159.*.*】 - Network:【tcp】 - RulePayload:【Global】 - Lastchain:【🇨🇳 台湾 IEPL [03] [Std]】
22. SourceIP:【10.0.*.*】 - Host:【time2.aliyun.com】 - DestinationIP:【203.107.*.*】 - Network:【udp】 - RulePayload:【China】 - Lastchain:【DIRECT】
23. SourceIP:【10.0.*.*】 - Host:【staticcdn.duckduckgo.com】 - DestinationIP:【20.204.*.*】 - Network:【tcp】 - RulePayload:【Global】 - Lastchain:【🇨🇳 台湾 IEPL [04] [Pro]】
24. SourceIP:【10.0.*.*】 - Host:【www.baidu.com】 - DestinationIP:【183.240.*.*】 - Network:【tcp】 - RulePayload:【China】 - Lastchain:【DIRECT】
25. SourceIP:【10.0.*.*】 - Host:【www.youtube.com】 - DestinationIP:【142.250.*.*】 - Network:【tcp】 - RulePayload:【Global】 - Lastchain:【🇨🇳 台湾 IEPL [04] [Pro]】
26. SourceIP:【10.0.*.*】 - Host:【api.github.com】 - DestinationIP:【20.205.*.*】 - Network:【tcp】 - RulePayload:【Global】 - Lastchain:【🇨🇳 台湾 IEPL [04] [Pro]】
27. SourceIP:【10.0.*.*】 - Host:【pubstatic.b0.upaiyun.com】 - DestinationIP:【111.48.*.*】 - Network:【tcp】 - RulePayload:【Special】 - Lastchain:【DIRECT】
28. SourceIP:【10.0.*.*】 - Host:【alive.github.com】 - DestinationIP:【140.82.*.*】 - Network:【tcp】 - RulePayload:【Global】 - Lastchain:【🇭🇰 香港 IEPL [03] [Std]】

OpenClash Config

Expected Behavior

能够正常显示openclash版本以及能够正常更新

Additional Context

No response

@Ryananana Ryananana added the bug Something isn't working label Jan 23, 2025
@vernesong
Copy link
Owner

apk list luci-app-openclash

@Ryananana
Copy link
Author

Image

@vernesong
Copy link
Owner

apk list luci-app-openclash 2>/dev/null |grep 'installed' | grep -oE '\d+(.\d+)*'

@Ryananana
Copy link
Author

Image

@vernesong
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants