Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

[Bug Report]似乎有规则导入不完整的情况 #68

Open
huxim opened this issue Dec 12, 2019 · 0 comments
Open

[Bug Report]似乎有规则导入不完整的情况 #68

huxim opened this issue Dec 12, 2019 · 0 comments

Comments

@huxim
Copy link

huxim commented Dec 12, 2019

Bug 详情

导入配置后发现部分规则消失

你的操作

无论使用本地配置文件还是在线订阅,启动后到clash面板查看规则,发现部分规则消失.当然我这个配置文件比较大,有1w+行,就是用 http://stcapi.stcnat.com:10086/ 生成的,导入后至少发现 DOMAIN-KEYWORD,twitter 这条规则消失导致twitter上不去

屏幕截图

调试信息

======================== KoolClash 调试工具 ========================
调试信息生成于 Thu Dec 12 2019 15:27:12 GMT+0800 (中国标准时间)
当前浏览器:Chrome 78
-------------------- Koolshare OpenWrt 基本信息 --------------------
固件版本: Openwrt Koolshare mod V2.33, r12074-007caa48d1 by fw867
路由器 LAN IP:192.168.3.1
------------------------ KoolClash 基本信息 ------------------------
KoolClash 版本:0.17.9-beta
Clash 核心版本:Clash v0.16.0-14-g1948ea1 linux amd64 Fri 01 Nov 2019 02:02:20 PM UTC
KoolClash 当前状态:Clash 进程正在运行
用户指定 Clash 外部控制 Host:未改动
-------------------------- Clash 进程信息 --------------------------
11265 root 1088 S /bin/sh /koolshare/scripts/koolclash_debug.sh 972583
11375 root 1088 S /bin/sh /koolshare/scripts/koolclash_debug.sh 972583
20652 root 117m S /koolshare/bin/clash -d /koolshare/koolclash/config/
21391 root 1084 S /bin/sh /koolshare/scripts/koolclash_watchdog.sh

------------------------ Clash 配置文件目录 ------------------------
-rw-r--r-- 1 root root 3.8M Dec 3 11:20 Country.mmdb
-rw-r--r-- 1 root root 26.4K Dec 5 13:21 config.yaml
-rw-r--r-- 1 root root 258 Dec 12 14:17 dns.yml
-rw-r--r-- 1 root root 26.1K Dec 5 13:21 origin.yml

------------------------ Clash 配置文件信息 ------------------------
Clash 透明代理端口:23456
Clash 是否允许局域网连接:true
Clash 外部控制监听地址:192.168.3.1:6170
--------------------- Clash 配置文件 DNS 配置 ----------------------
Clash DNS 是否启用:true
Clash DNS 解析 IPv6:false
Clash DNS 增强模式:fake-ip
Clash DNS 监听:0.0.0.0:23453
KoolClash 当前 DNS 模式:4
-------------------- KoolClash 自定义 DNS 配置 ---------------------
dns:
enable: true
ipv6: false
listen: 0.0.0.0:53
enhanced-mode: fake-ip
nameserver:
- 192.168.3.1
- 119.28.28.28
- 119.29.29.29
- 223.5.5.5
- tls://dns.rubyfish.cn:853
fallback:
- tls://1.0.0.1:853
- tls://8.8.4.4:853

------------------------- iptables 条目 ---------------------------

  • iptables mangle 中 Clash 相关条目

  • iptables nat 中 Clash 相关条目
    0 0 koolclash_dns tcp -- * * 0.0.0.0/0 198.19.0.0/24 tcp dpt:53
    0 0 koolclash_dns udp -- * * 0.0.0.0/0 198.19.0.0/24 udp dpt:53
    12684 719K koolclash tcp -- * * 0.0.0.0/0 0.0.0.0/0

  • iptables mangle 中 koolclash 链

  • iptables nat 中 koolclash 链
    3403 198K ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 match-set koolclash_white dst
    0 0 ACCEPT tcp -- * * 0.0.0.0/0 192.168.3.1 tcp dpt:22
    9281 521K REDIRECT tcp -- * * 0.0.0.0/0 0.0.0.0/0 redir ports 23456

  • iptables mangle 中 koolclash_dns 链

  • iptables nat 中 koolclash_dns 链
    0 0 DNAT udp -- * * 0.0.0.0/0 198.19.0.0/24 udp dpt:53 to:192.168.3.1:23453
    0 0 DNAT tcp -- * * 0.0.0.0/0 198.19.0.0/24 tcp dpt:53 to:192.168.3.1:23453

  • iptables nat 中 53 端口相关条目
    5 0 0 koolclash_dns tcp -- * * 0.0.0.0/0 198.19.0.0/24 tcp dpt:53
    6 0 0 koolclash_dns udp -- * * 0.0.0.0/0 198.19.0.0/24 udp dpt:53

---------------------- ipset 白名单 IP 列表 ------------------------
Name: koolclash_white
Type: hash:net
Revision: 6
Header: family inet hashsize 1024 maxelem 65536
Size in memory: 984
References: 1
Number of entries: 10
Members:
224.0.0.0/4
169.254.0.0/16
100.64.0.0/10
172.16.0.0/12
10.0.0.0/8
192.168.3.1
192.168.0.0/16
0.0.0.0/8
127.0.0.0/8
240.0.0.0/4

===================================================================

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant