SagerNet / SagerNet/sing-box

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

Open
#1,862 3 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Go
Stars
38.2k
Forks
4.6k
Avg merge
19d 15h
Merged PRs (30d)
1

Description

操作系统

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
支持我们
完整性要求
  • 我保证阅读了文档,了解所有我编写的配置文件项的含义,而不是大量堆砌看似有用的选项或默认值。
  • 我保证提供了可以在本地重现该问题的服务器、客户端配置文件与流程,而不是一个脱敏的复杂客户端配置文件。
  • 我保证提供了可用于重现我报告的错误的最简配置,而不是依赖远程服务器、TUN、图形界面客户端或者其他闭源软件。
  • 我保证提供了完整的配置文件与日志,而不是出于对自身智力的自信而仅提供了部分认为有用的部分。

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the provided configuration on Windows 11 with Wi-Fi hotspot enabled, focusing on the TUN inbound, DNS rules, and repeated requests to 172.16.0.2 and fd00::2. Compare the behavior with the hotspot disabled and use the supplied logs to identify the cause of the DNS failures and rapid memory growth; done means networking works without runaway resource use.

Written by the indexing model from the issue text.

Assessment

Domain
networking, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.