SagerNet / sing-box

The universal proxy platform
https://sing-box.sagernet.org/
Other
15.38k stars 1.89k forks source link

Windows开启热点的情况下使用tun模式无法使用, 且立马爆内存。 #1862

Open touchmii opened 1 week ago

touchmii commented 1 week ago

操作系统

Windows

系统版本

win11 22H2

安装类型

sing-box 原始命令行程序

如果您使用图形客户端程序,请提供该程序版本。

No response

版本

1.8.14 1.9.1 1.10-alpha

描述

Windows开启WiFi热点的情况下使用tun模式会显示 dns: exchange failed 所有网络都无法访问, 且立马爆内存(cpu和内存立马接近100%)。tun模式使用gvisor或者system, 代理使用sockes或使用hysteria2都会导致这个问题。 在tun中排除此网卡问题依旧 exclude_interface": [ "Microsoft Wi-Fi Direct Virtual Adapter #2" ]

重现方式

Windows开启WiFi热点,直接使用下面的配置文件, socks5可以改成hysteria2, 管理员运行后程序立马爆内存,在终端中启动会因为内存占用过高自动被杀掉, bat脚本则不会,关闭WiFi热点后一切正常。

{
    "log": {
        "level": "info",
        "timestamp": true
    },
    "dns": {
        "servers": [
            {
                "tag": "dns_proxy",
                "address": "https://1.1.1.1/dns-query",
                "address_resolver": "dns_resolver",
                "strategy": "ipv4_only",
                "detour": "proxy"
            },
            {
                "tag": "dns_direct",
                "address": "https://dns.alidns.com/dns-query",
                "address_resolver": "dns_resolver",
                "strategy": "ipv4_only",
                "detour": "direct"
            },
            {
                "tag": "dns_resolver",
                "address": "223.5.5.5",
                "detour": "direct"
            }
        ],
        "rules": [
            {
                "outbound": "any",
                "server": "dns_resolver"
            },
            {
                "rule_set": "geosite-geolocation-!cn",
                "server": "dns_proxy"
            }
        ],
        "final": "dns_direct"
    },
    "route": {
        "rule_set": [
            {
                "tag": "geosite-geolocation-!cn",
                "type": "remote",
                "format": "binary",
                "url": "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-geolocation-!cn.srs",
                "download_detour": "proxy"
            },
            {
                "tag": "geoip-cn",
                "type": "remote",
                "format": "binary",
                "url": "https://raw.githubusercontent.com/SagerNet/sing-geoip/rule-set/geoip-cn.srs",
                "download_detour": "proxy"
            }
        ],
        "rules": [
            {
                "protocol": "dns",
                "outbound": "dns-out"
            },
            {
                "port": 853,
                "network": "tcp",
                "outbound": "block"
            },
            {
                "port": [
                    443,
                    853
                ],
                "network": "udp",
                "outbound": "block"
            },
            {
                "type": "logical",
                "mode": "and",
                "rules": [
                    {
                        "rule_set": "geoip-cn",
                        "invert": true
                    },
                    {
                        "rule_set": "geosite-geolocation-!cn"
                    }
                ],
                "outbound": "proxy"
            },
            {
                "rule_set": "geoip-cn",
                "outbound": "direct"
            },
            {
                "ip_is_private": true,
                "outbound": "direct"
            }
        ],
        "final": "proxy",
        "auto_detect_interface": true
    },
    "inbounds": [
        {
            "type": "tun",
            "tag": "tun-in",
            "inet4_address": "172.16.0.1/30",
            "inet6_address": "fd00::1/126",
            "mtu": 1492,
            "auto_route": true,
            "strict_route": true,
            "stack": "system",
            "sniff": true,
            "sniff_override_destination": false
        }
    ],
    "outbounds": [
        {
            "type": "socks",
            "server": "192.168.1.xxx",
            "server_port": 1080,
            "username": "admin",
            "password": "admin",
            "version": "5",
            "tag": "proxy"
        },
        {
            "type": "direct",
            "tag": "direct"
        },
        {
            "type": "block",
            "tag": "block"
        },
        {
            "type": "dns",
            "tag": "dns-out"
        }
    ],
    "experimental": {
        "cache_file": {
            "enabled": true,
            "path": "cache.db"
        }
    }
}

日志

run -c C:\Users\admin\Documents\sing-box-1.9.1-windows-amd64\config3.json
+0800 2024-06-13 12:58:15 INFO router: updated default interface 以太网 5, index 18
+0800 2024-06-13 12:58:16 INFO inbound/tun[tun-in]: started at tun0
+0800 2024-06-13 12:58:16 INFO outbound/socks[proxy]: outbound connection to raw.githubusercontent.com:443
+0800 2024-06-13 12:58:16 INFO outbound/socks[proxy]: outbound connection to raw.githubusercontent.com:443
+0800 2024-06-13 12:58:16 INFO outbound/direct[direct]: outbound packet connection to 223.5.5.5:53
+0800 2024-06-13 12:58:16 INFO [1260551534 0ms] inbound/tun[tun-in]: inbound packet connection from 192.168.3.146:50666
+0800 2024-06-13 12:58:16 INFO [1260551534 0ms] inbound/tun[tun-in]: inbound packet connection to 223.5.5.5:53
+0800 2024-06-13 12:58:16 INFO [1665428771 0ms] inbound/tun[tun-in]: inbound packet connection from [fd00::1]:57932
+0800 2024-06-13 12:58:16 INFO [1665428771 0ms] inbound/tun[tun-in]: inbound packet connection to [fd00::2]:53
+0800 2024-06-13 12:58:16 INFO [3245761819 0ms] inbound/tun[tun-in]: inbound packet connection from [fd00::1]:50378
+0800 2024-06-13 12:58:16 INFO [3245761819 0ms] inbound/tun[tun-in]: inbound packet connection to [fd00::2]:53
+0800 2024-06-13 12:58:17 INFO [331961596 0ms] inbound/tun[tun-in]: inbound packet connection from [fd00::1]:53244
+0800 2024-06-13 12:58:17 INFO [331961596 0ms] inbound/tun[tun-in]: inbound packet connection to [fd00::2]:53
+0800 2024-06-13 12:58:17 INFO [3521064999 0ms] inbound/tun[tun-in]: inbound packet connection from [fd00::1]:62193
+0800 2024-06-13 12:58:17 INFO [3521064999 0ms] inbound/tun[tun-in]: inbound packet connection to [fd00::2]:53
+0800 2024-06-13 12:58:17 INFO [4022330023 0ms] inbound/tun[tun-in]: inbound packet connection from 172.16.0.1:62193
+0800 2024-06-13 12:58:17 INFO [4022330023 0ms] inbound/tun[tun-in]: inbound packet connection to 172.16.0.2:53
+0800 2024-06-13 12:58:17 INFO [1840951036 0ms] inbound/tun[tun-in]: inbound packet connection from [fd00::1]:56781
+0800 2024-06-13 12:58:17 INFO [1840951036 0ms] inbound/tun[tun-in]: inbound packet connection to [fd00::2]:53
+0800 2024-06-13 12:58:17 INFO [3505086272 0ms] inbound/tun[tun-in]: inbound packet connection from [fd00::1]:52988
+0800 2024-06-13 12:58:17 INFO [3505086272 0ms] inbound/tun[tun-in]: inbound packet connection to [fd00::2]:53
+0800 2024-06-13 12:58:17 INFO [1410606995 0ms] inbound/tun[tun-in]: inbound packet connection from 172.16.0.1:52988
+0800 2024-06-13 12:58:17 INFO [1410606995 0ms] inbound/tun[tun-in]: inbound packet connection to 172.16.0.2:53
+0800 2024-06-13 12:58:17 INFO [564940668 0ms] inbound/tun[tun-in]: inbound packet connection from 172.16.0.1:57932
+0800 2024-06-13 12:58:17 INFO [564940668 0ms] inbound/tun[tun-in]: inbound packet connection to 172.16.0.2:53
+0800 2024-06-13 12:58:18 INFO [2071479980 0ms] inbound/tun[tun-in]: inbound packet connection from 172.16.0.1:53244
+0800 2024-06-13 12:58:18 INFO [2071479980 0ms] inbound/tun[tun-in]: inbound packet connection to 172.16.0.2:53
+0800 2024-06-13 12:58:18 INFO [3911147584 0ms] inbound/tun[tun-in]: inbound packet connection from [fd00::1]:55101
+0800 2024-06-13 12:58:18 INFO [2390790532 0ms] inbound/tun[tun-in]: inbound packet connection from [fd00::1]:56247
+0800 2024-06-13 12:58:18 INFO [3911147584 0ms] inbound/tun[tun-in]: inbound packet connection to [fd00::2]:53
+0800 2024-06-13 12:58:18 INFO [2390790532 0ms] inbound/tun[tun-in]: inbound packet connection to [fd00::2]:53
+0800 2024-06-13 12:58:18 INFO [1473305533 0ms] inbound/tun[tun-in]: inbound packet connection from 172.16.0.1:56247
+0800 2024-06-13 12:58:18 INFO [1473305533 0ms] inbound/tun[tun-in]: inbound packet connection to 172.16.0.2:53
+0800 2024-06-13 12:58:18 INFO [395358373 0ms] inbound/tun[tun-in]: inbound packet connection from [fd00::1]:59682
+0800 2024-06-13 12:58:18 INFO [395358373 0ms] inbound/tun[tun-in]: inbound packet connection to [fd00::2]:53
+0800 2024-06-13 12:58:18 INFO [3794306307 0ms] inbound/tun[tun-in]: inbound packet connection from [fd00::1]:49970
+0800 2024-06-13 12:58:18 INFO [3794306307 0ms] inbound/tun[tun-in]: inbound packet connection to [fd00::2]:53
+0800 2024-06-13 12:58:18 INFO [3920942569 0ms] inbound/tun[tun-in]: inbound packet connection from 172.16.0.1:49970
+0800 2024-06-13 12:58:18 INFO [3920942569 0ms] inbound/tun[tun-in]: inbound packet connection to 172.16.0.2:53
+0800 2024-06-13 12:58:19 INFO [2276622142 0ms] inbound/tun[tun-in]: inbound packet connection from 172.16.0.1:55101
+0800 2024-06-13 12:58:19 INFO [2276622142 0ms] inbound/tun[tun-in]: inbound packet connection to 172.16.0.2:53
+0800 2024-06-13 12:58:19 INFO [3898403041 0ms] inbound/tun[tun-in]: inbound packet connection from 172.16.0.1:59682
+0800 2024-06-13 12:58:19 INFO [3898403041 0ms] inbound/tun[tun-in]: inbound packet connection to 172.16.0.2:53
+0800 2024-06-13 12:58:21 WARN router: initialize rule-set take too much time to finish!
+0800 2024-06-13 12:58:26 INFO outbound/direct[direct]: outbound packet connection to 223.5.5.5:53
+0800 2024-06-13 12:58:26 INFO [2735788831 0ms] inbound/tun[tun-in]: inbound packet connection from 192.168.3.146:49253
+0800 2024-06-13 12:58:26 INFO [2735788831 0ms] inbound/tun[tun-in]: inbound packet connection to 223.5.5.5:53
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for MACBOOKPRO-FD21. IN A: context deadline exceeded
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for MACBOOKPRO-FD21. IN A: context deadline exceeded
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: exchange4: context canceled | exchange6: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for www.msftconnecttest.com. IN A: context deadline exceeded
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for www.msftconnecttest.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for www.msftconnecttest.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: exchange4: context canceled | exchange6: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:26 ERROR dns: exchange failed for dns.alidns.com. IN A: context canceled
+0800 2024-06-13 12:58:27 ERROR dns: exchange failed for www.microsoft.com. IN A: exchange4: context canceled | exchange6: context canceled
+0800 2024-06-13 12:58:27 ERROR dns: exchange failed for www.microsoft.com. IN A: context canceled
+0800 2024-06-13 12:58:27 ERROR dns: exchange failed for www.microsoft.com. IN A: context canceled
+0800 2024-06-13 12:58:27 ERROR dns: exchange failed for www.microsoft.com. IN A: context canceled
+0800 2024-06-13 12:58:27 ERROR dns: exchange failed for www.microsoft.com. IN A: exchange6: context canceled | exchange4: context canceled
+0800 2024-06-13 12:58:27 ERROR dns: exchange failed for www.microsoft.com. IN A: context canceled
+0800 2024-06-13 12:58:27 ERROR dns: exchange failed for www.microsoft.com. IN A: context canceled
+0800 2024-06-13 12:58:27 ERROR dns: exchange failed for geo.prod.do.dsp.mp.microsoft.com. IN A: exchange6: context canceled | exchange4: context canceled
+0800 2024-06-13 12:58:27 ERROR dns: exchange failed for geo.prod.do.dsp.mp.microsoft.com. IN A: exchange4: context canceled | exchange6: context canceled
+0800 2024-06-13 12:58:27 ERROR dns: exchange failed for geo.prod.do.dsp.mp.microsoft.com. IN A: context canceled
+0800 2024-06-13 12:58:27 ERROR dns: exchange failed for geo.prod.do.dsp.mp.microsoft.com. IN A: context canceled
+0800 2024-06-13 12:58:27 ERROR dns: exchange failed for geo.prod.do.dsp.mp.microsoft.com. IN A: context canceled
+0800 2024-06-13 12:58:27 ERROR dns: exchange failed for geo.prod.do.dsp.mp.microsoft.com. IN A: context canceled
+0800 2024-06-13 12:58:27 ERROR dns: exchange failed for geo.prod.do.dsp.mp.microsoft.com. IN A: context canceled
+0800 2024-06-13 12:58:27 ERROR dns: exchange failed for ipv4only.arpa. IN A: context deadline exceeded
+0800 2024-06-13 12:58:27 ERROR dns: exchange failed for ipv4only.arpa. IN A: context canceled
+0800 2024-06-13 12:58:27 ERROR dns: exchange failed for ipv4only.arpa. IN A: context canceled
+0800 2024-06-13 12:58:27 ERROR dns: exchange failed for example.org. IN A: context deadline exceeded
+0800 2024-06-13 12:58:27 ERROR dns: exchange failed for ipv4only.arpa. IN A: context canceled
+0800 2024-06-13 12:58:27 ERROR dns: exchange failed for ipv4only.arpa. IN A: context canceled
+0800 2024-06-13 12:58:27 ERROR dns: exchange failed for example.org. IN A: context canceled
+0800 2024-06-13 12:58:27 ERROR dns: exchange failed for example.org. IN A: context canceled
+0800 2024-06-13 12:58:27 ERROR dns: exchange failed for www.msftconnecttest.com. IN A: context canceled
+0800 2024-06-13 12:58:27 ERROR dns: exchange failed for example.org. IN A: context canceled
+0800 2024-06-13 12:58:27 ERROR dns: exchange failed for www.msftconnecttest.com. IN A: context canceled
FATAL[0011] start service: initialize rule-set[1]: initial rule-set: geosite-geolocation-!cn: Get "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-geolocation-!cn.srs": exchange4: context canceled | exchange6: context canceled | initialize rule-set[1]: initial rule-set: geoip-cn: Get "https://raw.githubusercontent.com/SagerNet/sing-geoip/rule-set/geoip-cn.srs": context canceled

支持我们

完整性要求

touchmii commented 1 week ago

此问题为Windows下开启热点时网卡回环导致, 其它类型软件也有此问题, 可在控制面版中把tun网卡的属性->分享->网络连接--打开, 并选择热点创建的那个网卡即可(两个框框都要勾选✅), 重新打开tun无需再次配置, 能否让sing-box检测到tun模式下开启了热点把路由引导至一个说明页面, 指导用户操作, 或者停止dns查询, 免的网卡还没有修改完就内存爆满了.