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

[Bug Report]跑一段时间之后,就会出现2个watchdog和2个clash进程 #88

Open
syniii opened this issue Apr 1, 2020 · 2 comments
Labels
question Further information is requested

Comments

@syniii
Copy link

syniii commented Apr 1, 2020

Bug 详情

跑一段时间之后,就会出现2个watchdog和2个clash进程,就是重启了clash,依然能用,就是进程有2个。

你的操作

屏幕截图

调试信息


======================== KoolClash 调试工具 ========================
调试信息生成于 Wed Apr 01 2020 19:24:15 GMT+0800 (中国标准时间)
当前浏览器:Chrome 80
-------------------- Koolshare OpenWrt 基本信息 --------------------
固件版本: Openwrt Koolshare mod V2.33, r12074-007caa48d1 by fw867
路由器 LAN IP:10.10.10.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:10.10.10.1
-------------------------- Clash 进程信息 --------------------------
 6330 root      117m S    /koolshare/bin/clash -d /koolshare/koolclash/config/
 6331 root      117m S    /koolshare/bin/clash -d /koolshare/koolclash/config/
 6583 root      1088 S    /bin/sh /koolshare/scripts/koolclash_watchdog.sh
 6593 root      1088 S    /bin/sh /koolshare/scripts/koolclash_watchdog.sh
26423 root      1092 S    /bin/sh /koolshare/scripts/koolclash_debug.sh 212766
26515 root      1092 S    /bin/sh /koolshare/scripts/koolclash_debug.sh 212766

------------------------ Clash 配置文件目录 ------------------------
-rwxr-xr-x    1 root     root        3.8M Mar 28 20:11 Country.mmdb
-rw-r--r--    1 root     root      336.7K Mar 30 22:57 config.yaml
-rw-r--r--    1 root     root         240 Apr  1 19:23 dns.yml
-rw-r--r--    1 root     root      336.5K Mar 29 20:05 origin.yml

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


 * iptables mangle 中 koolclash 链


 * iptables nat 中 koolclash 链
44403 2664K ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0            match-set koolclash_white dst
    0     0 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            10.10.10.1           tcp dpt:22
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            10.10.10.1           tcp dpt:22
 5741  361K REDIRECT   tcp  --  *      *       0.0.0.0/0            0.0.0.0/0            redir ports 23456
    0     0 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:10.10.10.1:23453
    0     0 DNAT       udp  --  *      *       0.0.0.0/0            198.19.0.0/24        udp dpt:53 to:10.10.10.1:23453
    0     0 DNAT       tcp  --  *      *       0.0.0.0/0            198.19.0.0/24        tcp dpt:53 to:10.10.10.1:23453
    0     0 DNAT       tcp  --  *      *       0.0.0.0/0            198.19.0.0/24        tcp dpt:53 to:10.10.10.1:23453


 * iptables nat 中 53 端口相关条目
6        0     0 koolclash_dns  tcp  --  *      *       0.0.0.0/0            198.19.0.0/24        tcp dpt:53
7        0     0 koolclash_dns  tcp  --  *      *       0.0.0.0/0            198.19.0.0/24        tcp dpt:53
8        0     0 koolclash_dns  udp  --  *      *       0.0.0.0/0            198.19.0.0/24        udp dpt:53
9        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: 920
References: 2
Number of entries: 10
Members:
224.0.0.0/4
172.16.0.0/12
169.254.0.0/16
240.0.0.0/4
10.0.0.0/8
0.0.0.0/8
127.0.0.0/8
100.64.0.0/10
192.168.0.0/16
10.10.10.1

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

@SukkaW SukkaW added the question Further information is requested label Apr 1, 2020
@SukkaW
Copy link
Owner

SukkaW commented Apr 1, 2020

你有没有发现连 debug 都有两个嘛?

@syniii
Copy link
Author

syniii commented Apr 2, 2020

你有没有发现连 debug 都有两个嘛?

对啊,那咋整?好像clash被重启了,因为配置都还原了

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

No branches or pull requests

2 participants