SukkaW/Koolshare-Clash

Do you want to work on this issue?

You can request for a bounty in order to promote it!

[Bug Report]运行一段时间后就会无法连接 #67

thomas0612 posted onGitHub

Bug 详情 旁路由开启koolclash之后,在PC机修改网关以及dns设置之后,可以正常连接外网持续大约几十分钟后,表现为PC机TG、QQ可以正常收发消息,其他任何网站均无法打开,打开旁路由管理界面之后酷软中心也提示连接有问题无法获取到商店在线资源信息,koolclash管理页面状态显示正常,但是IP地址检查部分为空白。

你的操作 将PC机网络设置改为自动和获取走主路由网关之后,旁路由里的酷软中心也恢复可连接状态

此情况非偶然出现,几个小时内反反复复了好多次才找到规律

屏幕截图 Snipaste_2019-12-12_15-01-16

调试信息


======================== KoolClash 调试工具 ========================
调试信息生成于 Thu Dec 12 2019 15:01:23 GMT+0800 (中国标准时间)
当前浏览器:Chrome 78
-------------------- Koolshare OpenWrt 基本信息 --------------------
固件版本: Openwrt Koolshare mod V2.33, r12074-007caa48d1 by fw867
路由器 LAN IP:192.168.100.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 进程信息 --------------------------
13848 root      117m S    /koolshare/bin/clash -d /koolshare/koolclash/config/
13965 root      1084 S    /bin/sh /koolshare/scripts/koolclash_watchdog.sh
18618 root      1088 S    /bin/sh /koolshare/scripts/koolclash_debug.sh 165821
18727 root      1088 S    /bin/sh /koolshare/scripts/koolclash_debug.sh 165821

------------------------ Clash 配置文件目录 ------------------------
-rwxr-xr-x    1 root     root        3.8M Dec 11 13:49 Country.mmdb
-rw-r--r--    1 root     root       20.5K Dec 11 13:58 config.yaml
-rw-r--r--    1 root     root         240 Dec 12 15:01 dns.yml
-rw-r--r--    1 root     root       20.5K Dec 11 13:50 origin.yml

------------------------ Clash 配置文件信息 ------------------------
Clash 透明代理端口:23456
Clash 是否允许局域网连接:true
Clash 外部控制监听地址:192.168.100.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:
    - 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
  318 20403 koolclash_dns  udp  --  *      *       0.0.0.0/0            198.19.0.0/24        udp dpt:53
  878 45752 koolclash  tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           


 * iptables mangle 中 koolclash 链


 * iptables nat 中 koolclash 链
  523 27196 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.100.1        tcp dpt:22
  355 18556 REDIRECT   tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            redir ports 23456


* iptables mangle 中 koolclash_dns 链


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


 * iptables nat 中 53 端口相关条目
3        0     0 koolclash_dns  tcp  --  *      *       0.0.0.0/0            198.19.0.0/24        tcp dpt:53
4      318 20403 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:
10.0.0.0/8
127.0.0.0/8
240.0.0.0/4
192.168.0.0/16
169.254.0.0/16
0.0.0.0/8
224.0.0.0/4
192.168.100.1
100.64.0.0/10
172.16.0.0/12

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

Fund this Issue

$0.00
Funded
Only logged in users can fund an issue

Pull requests