Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inbound为tun且outbound为direct时,ipv6访问错误 #2224

Open
4 of 5 tasks
freakinyy opened this issue Oct 27, 2024 · 4 comments
Open
4 of 5 tasks

inbound为tun且outbound为direct时,ipv6访问错误 #2224

freakinyy opened this issue Oct 27, 2024 · 4 comments

Comments

@freakinyy
Copy link

freakinyy commented Oct 27, 2024

操作系统

Windows

系统版本

Windows 11 专业版 23H2

安装类型

sing-box 原始命令行程序

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

No response

版本

sing-box version 1.10.1

Environment: go1.23.2 windows/amd64
Tags: with_gvisor,with_quic,with_dhcp,with_wireguard,with_ech,with_utls,with_reality_server,with_acme,with_clash_api
Revision: b80ec55ba0aafc60774e19c409e55ced50ddaab3
CGO: disabled

描述

inbound为tun,且outbound为direct时,客户端执行一定时间后(大约10~15秒),访问ipv6远程网站错误,在sing-box运行前以及运行后的大约10秒内则正常。

访问局域网ipv6 http则正常,本地iperf3测试正常。

socks模式正常,只发现tun模式有问题,故只使用tun模式测试。

除了1.10.1,1.8.0、1.9.0、1.9.7、1.11.0-alpha.1均存在此问题。
安卓多个版本未发现此问题问题。

不知是否与#2116相关。

重现方式

本地配置文件如下,无服务器端配置文件。

{
	"log": {
		"disabled": false,
		"level": "debug",
		"output": "",
		"timestamp": true
	},
	"dns": {
		"servers": [
			{
				"tag": "dns-local",
				"address": "udp://223.5.5.5",
				"detour": "out-direct"
			}
		],
		"rules": [
			{
				"outbound": "any",
				"server": "dns-local"
			}
		],
		"final": "dns-local"
	},
	"route": {
		"rules": [
			{
				"protocol": "dns",
				"outbound": "out-dns"
			}
		],
		"final": "out-direct",
		"auto_detect_interface": true
	},
	"inbounds": [
		{
			"type": "tun",
			"tag": "in-tun",
			"address": [
				"172.19.0.1/30",
				"fdfe:dcba:9876::1/126"
			],
			"auto_route": true,
			"strict_route": true,
			"stack": "system",
			"sniff": true
		}
	],
	"outbounds": [
		{
			"type": "dns",
			"tag": "out-dns"
		},
		{
			"type": "direct",
			"tag": "out-direct"
		}
	]
}

执行:
.\sing-box-1.10.1.exe run -c .\test.json
立刻curl百度的ipv6地址,或者任意ipv6 url,例如:
curl [240e:ff:e020:9ae:0:ff:b014:8e8b]:80
得到正常回复。等待10~15秒,再执行则出错:
curl: (56) Recv failure: Connection was reset

日志

因windows平台tun模式日志太多且涉及隐私,故提供从curl开始到得到错误的日志:
+0800 2024-10-27 22:31:14 INFO [1801058653 0ms] inbound/tun[in-tun]: inbound connection from [fdfe:dcba:9876::1]:11581
+0800 2024-10-27 22:31:14 INFO [1801058653 0ms] inbound/tun[in-tun]: inbound connection to [240e:ff:e020:9ae:0:ff:b014:8e8b]:80
+0800 2024-10-27 22:31:14 DEBUG [1801058653 0ms] router: sniffed protocol: http, domain: 240e:ff:e020:9ae:0:ff:b014:8e8b
+0800 2024-10-27 22:31:14 INFO [1801058653 0ms] outbound/direct[out-direct]: outbound connection to [240e:ff:e020:9ae:0:ff:b014:8e8b]:80
+0800 2024-10-27 22:31:18 DEBUG [2939930479 10.1s] inbound/tun[in-tun]: connection closed: context canceled
+0800 2024-10-27 22:31:18 DEBUG [3696830364 10.1s] inbound/tun[in-tun]: connection closed: context canceled
+0800 2024-10-27 22:31:19 DEBUG [1801058653 5.0s] inbound/tun[in-tun]: connection closed: dial tcp [240e:ff:e020:9ae:0:ff:b014:8e8b]:80: i/o timeout

支持我们

完整性要求

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

无法复现。另外我不认为仅由 curl 和本地配置组成的测试环境提供完整 log 会有什么隐私问题。

@freakinyy
Copy link
Author

无法复现。另外我不认为仅由 curl 和本地配置组成的测试环境提供完整 log 会有什么隐私问题。

我有三台电脑都能复现,系统都是Win11Pro23H2,网络环境都测过普通宽带和手机热点,都一样的问题。
完整日志的话,我找了个“干净”点的电脑,重新测试了,测试方法同上。运行sing-box后立刻curl [240e:ff:e020:9ae:0:ff:b014:8e8b]:80一次,正常;等10s多之后再curl,同样的错误;然后ctrl+c退出sing-box。

PS E:\sing-box_test> .\sing-box-1.10.1.exe run -c .\test.json
+0800 2024-10-28 10:57:56 INFO router: updated default interface WLAN 2, index 6
+0800 2024-10-28 10:57:57 INFO inbound/tun[in-tun]: started at tun0
+0800 2024-10-28 10:57:57 INFO [5132041 0ms] inbound/tun[in-tun]: inbound packet connection from [fdfe:dcba:9876::1]:60708
+0800 2024-10-28 10:57:57 INFO [67081080 0ms] inbound/tun[in-tun]: inbound packet connection from [fdfe:dcba:9876::1]:57579
+0800 2024-10-28 10:57:57 INFO [5132041 1ms] inbound/tun[in-tun]: inbound packet connection to [fdfe:dcba:9876::2]:53
+0800 2024-10-28 10:57:57 INFO [67081080 1ms] inbound/tun[in-tun]: inbound packet connection to [fdfe:dcba:9876::2]:53
+0800 2024-10-28 10:57:57 DEBUG [5132041 1ms] router: sniffed packet protocol: dns
+0800 2024-10-28 10:57:57 INFO sing-box started (0.688s)
+0800 2024-10-28 10:57:57 DEBUG [5132041 1ms] router: match[0] protocol=dns => out-dns
+0800 2024-10-28 10:57:57 DEBUG [67081080 1ms] router: sniffed packet protocol: dns
+0800 2024-10-28 10:57:57 DEBUG [5132041 2ms] dns: exchange client-update.fastly.steamstatic.com. IN A
+0800 2024-10-28 10:57:57 DEBUG [67081080 2ms] router: match[0] protocol=dns => out-dns
+0800 2024-10-28 10:57:57 DEBUG [67081080 2ms] dns: exchange win1910.ipv6.microsoft.com. IN A
+0800 2024-10-28 10:57:57 INFO [5132041 3ms] outbound/direct[out-direct]: outbound packet connection to 223.5.5.5:53
+0800 2024-10-28 10:57:57 DEBUG [67081080 62ms] dns: exchanged win1910.ipv6.microsoft.com NOERROR 1
+0800 2024-10-28 10:57:57 INFO [67081080 62ms] dns: exchanged win1910.ipv6.microsoft.com CNAME win1910.ipv6.microsoft.com. 1 IN CNAME azwindows.ipv6.microsoft.com.akadns.net.
+0800 2024-10-28 10:57:57 INFO [67081080 62ms] dns: exchanged win1910.ipv6.microsoft.com CNAME azwindows.ipv6.microsoft.com.akadns.net. 1 IN CNAME trdojapanwestrs4vmss.ipv6.microsoft.com.akadns.net.
+0800 2024-10-28 10:57:57 INFO [67081080 62ms] dns: exchanged win1910.ipv6.microsoft.com A trdojapanwestrs4vmss.ipv6.microsoft.com.akadns.net. 1 IN A 40.81.185.240
+0800 2024-10-28 10:57:57 DEBUG [5132041 78ms] dns: exchanged client-update.fastly.steamstatic.com NOERROR 15
+0800 2024-10-28 10:57:57 INFO [5132041 78ms] dns: exchanged client-update.fastly.steamstatic.com CNAME client-update.fastly.steamstatic.com. 15 IN CNAME t.sni.global.fastly.net.
+0800 2024-10-28 10:57:57 INFO [5132041 78ms] dns: exchanged client-update.fastly.steamstatic.com A t.sni.global.fastly.net. 15 IN A 151.101.111.52
+0800 2024-10-28 10:57:57 INFO [3839819942 0ms] inbound/tun[in-tun]: inbound connection from 172.19.0.1:1844
+0800 2024-10-28 10:57:57 INFO [3839819942 0ms] inbound/tun[in-tun]: inbound connection to 151.101.111.52:443
+0800 2024-10-28 10:57:57 INFO [2039035230 0ms] inbound/tun[in-tun]: inbound packet connection from [fdfe:dcba:9876::1]:52562
+0800 2024-10-28 10:57:57 INFO [2039035230 0ms] inbound/tun[in-tun]: inbound packet connection to [fdfe:dcba:9876::2]:53
+0800 2024-10-28 10:57:57 INFO [3961842320 0ms] inbound/tun[in-tun]: inbound packet connection from [fdfe:dcba:9876::1]:49271
+0800 2024-10-28 10:57:57 INFO [3961842320 0ms] inbound/tun[in-tun]: inbound packet connection to [fdfe:dcba:9876::2]:53
+0800 2024-10-28 10:57:57 DEBUG [2039035230 0ms] router: sniffed packet protocol: dns
+0800 2024-10-28 10:57:57 DEBUG [3961842320 0ms] router: sniffed packet protocol: dns
+0800 2024-10-28 10:57:57 DEBUG [3961842320 0ms] router: match[0] protocol=dns => out-dns
+0800 2024-10-28 10:57:57 DEBUG [2039035230 0ms] router: match[0] protocol=dns => out-dns
+0800 2024-10-28 10:57:57 DEBUG [3961842320 0ms] dns: exchange ipv6.msftconnecttest.com. IN AAAA
+0800 2024-10-28 10:57:57 DEBUG [2039035230 1ms] dns: exchange ipv6.msftconnecttest.com. IN A
+0800 2024-10-28 10:57:57 DEBUG [3839819942 288ms] router: sniffed protocol: tls, domain: client-update.fastly.steamstatic.com
+0800 2024-10-28 10:57:57 INFO [3839819942 288ms] outbound/direct[out-direct]: outbound connection to 151.101.111.52:443
+0800 2024-10-28 10:57:57 DEBUG [2039035230 67ms] dns: exchanged ipv6.msftconnecttest.com NOERROR 556
+0800 2024-10-28 10:57:57 INFO [2039035230 67ms] dns: exchanged ipv6.msftconnecttest.com CNAME ipv6.msftconnecttest.com. 556 IN CNAME ncsiv6-geo.trafficmanager.net.
+0800 2024-10-28 10:57:57 DEBUG [3961842320 67ms] dns: exchanged ipv6.msftconnecttest.com NOERROR 1
+0800 2024-10-28 10:57:57 INFO [2039035230 67ms] dns: exchanged ipv6.msftconnecttest.com CNAME ncsiv6-geo.trafficmanager.net. 556 IN CNAME ipv6.msftconnecttest.com.edgesuite.net.
+0800 2024-10-28 10:57:57 INFO [3961842320 67ms] dns: exchanged ipv6.msftconnecttest.com CNAME ipv6.msftconnecttest.com. 1 IN CNAME ncsiv6-geo.trafficmanager.net.
+0800 2024-10-28 10:57:57 INFO [2039035230 67ms] dns: exchanged ipv6.msftconnecttest.com CNAME ipv6.msftconnecttest.com.edgesuite.net. 556 IN CNAME a1968.i6g1.akamai.net.
+0800 2024-10-28 10:57:57 INFO [3961842320 67ms] dns: exchanged ipv6.msftconnecttest.com CNAME ncsiv6-geo.trafficmanager.net. 1 IN CNAME ipv6.msftconnecttest.com.edgesuite.net.
+0800 2024-10-28 10:57:57 INFO [3961842320 67ms] dns: exchanged ipv6.msftconnecttest.com CNAME ipv6.msftconnecttest.com.edgesuite.net. 1 IN CNAME a1968.i6g1.akamai.net.
+0800 2024-10-28 10:57:57 INFO [3961842320 67ms] dns: exchanged ipv6.msftconnecttest.com AAAA a1968.i6g1.akamai.net. 1 IN AAAA 2600:1404:2e00::17c2:ca13
+0800 2024-10-28 10:57:57 INFO [3961842320 68ms] dns: exchanged ipv6.msftconnecttest.com AAAA a1968.i6g1.akamai.net. 1 IN AAAA 2600:1404:2e00::17c2:ca08
+0800 2024-10-28 10:57:57 INFO [2039035230 67ms] dns: exchanged ipv6.msftconnecttest.com SOA i6g1.akamai.net. 556 IN SOA n0i6g1.akamai.net. hostmaster.akamai.com. 1730083832 1000 1000 1000 1800
+0800 2024-10-28 10:57:57 INFO [2852750165 0ms] inbound/tun[in-tun]: inbound connection from [fdfe:dcba:9876::1]:1848
+0800 2024-10-28 10:57:57 INFO [2852750165 0ms] inbound/tun[in-tun]: inbound connection to [2600:1404:2e00::17c2:ca13]:80
+0800 2024-10-28 10:57:57 DEBUG [2852750165 0ms] router: sniffed protocol: http, domain: ipv6.msftconnecttest.com
+0800 2024-10-28 10:57:57 INFO [2852750165 0ms] outbound/direct[out-direct]: outbound connection to [2600:1404:2e00::17c2:ca13]:80
+0800 2024-10-28 10:57:57 DEBUG [2039035230 229ms] dns: exchange www.msftconnecttest.com. IN A
+0800 2024-10-28 10:57:57 DEBUG [3961842320 229ms] dns: exchange www.msftconnecttest.com. IN AAAA
+0800 2024-10-28 10:57:57 DEBUG [2039035230 278ms] dns: exchanged www.msftconnecttest.com NOERROR 9
+0800 2024-10-28 10:57:57 INFO [2039035230 278ms] dns: exchanged www.msftconnecttest.com CNAME www.msftconnecttest.com. 9 IN CNAME ncsi-geo.trafficmanager.net.
+0800 2024-10-28 10:57:57 INFO [2039035230 278ms] dns: exchanged www.msftconnecttest.com CNAME ncsi-geo.trafficmanager.net. 9 IN CNAME www.msftncsi.com.edgesuite.net.
+0800 2024-10-28 10:57:57 INFO [2039035230 278ms] dns: exchanged www.msftconnecttest.com CNAME www.msftncsi.com.edgesuite.net. 9 IN CNAME a1961.g2.akamai.net.
+0800 2024-10-28 10:57:57 INFO [2039035230 278ms] dns: exchanged www.msftconnecttest.com A a1961.g2.akamai.net. 9 IN A 72.247.211.25
+0800 2024-10-28 10:57:57 INFO [2039035230 278ms] dns: exchanged www.msftconnecttest.com A a1961.g2.akamai.net. 9 IN A 72.247.211.16
+0800 2024-10-28 10:57:57 DEBUG [3961842320 286ms] dns: exchanged www.msftconnecttest.com NOERROR 164
+0800 2024-10-28 10:57:57 INFO [3961842320 286ms] dns: exchanged www.msftconnecttest.com CNAME www.msftconnecttest.com. 164 IN CNAME ncsi-geo.trafficmanager.net.
+0800 2024-10-28 10:57:57 INFO [3961842320 286ms] dns: exchanged www.msftconnecttest.com CNAME ncsi-geo.trafficmanager.net. 164 IN CNAME www.msftncsi.com.edgesuite.net.
+0800 2024-10-28 10:57:57 INFO [3961842320 286ms] dns: exchanged www.msftconnecttest.com CNAME www.msftncsi.com.edgesuite.net. 164 IN CNAME a1961.g2.akamai.net.
+0800 2024-10-28 10:57:57 INFO [3961842320 286ms] dns: exchanged www.msftconnecttest.com SOA g2.akamai.net. 164 IN SOA n0g2.akamai.net. hostmaster.akamai.com. 1730083567 1000 1000 1000 1800
+0800 2024-10-28 10:57:57 INFO [3283154547 0ms] inbound/tun[in-tun]: inbound connection from 172.19.0.1:1850
+0800 2024-10-28 10:57:57 INFO [3283154547 0ms] inbound/tun[in-tun]: inbound connection to 72.247.211.25:80
+0800 2024-10-28 10:57:57 DEBUG [3283154547 0ms] router: sniffed protocol: http, domain: www.msftconnecttest.com
+0800 2024-10-28 10:57:57 INFO [3283154547 0ms] outbound/direct[out-direct]: outbound connection to 72.247.211.25:80
+0800 2024-10-28 10:57:58 INFO [4130048631 0ms] inbound/tun[in-tun]: inbound packet connection from [fdfe:dcba:9876::1]:64520
+0800 2024-10-28 10:57:58 INFO [4130048631 0ms] inbound/tun[in-tun]: inbound packet connection to [fdfe:dcba:9876::2]:53
+0800 2024-10-28 10:57:58 INFO [2521088531 0ms] inbound/tun[in-tun]: inbound packet connection from [fdfe:dcba:9876::1]:54774
+0800 2024-10-28 10:57:58 INFO [2521088531 0ms] inbound/tun[in-tun]: inbound packet connection to [fdfe:dcba:9876::2]:53
+0800 2024-10-28 10:57:58 DEBUG [4130048631 0ms] router: sniffed packet protocol: dns
+0800 2024-10-28 10:57:58 DEBUG [2521088531 0ms] router: sniffed packet protocol: dns
+0800 2024-10-28 10:57:58 DEBUG [4130048631 0ms] router: match[0] protocol=dns => out-dns
+0800 2024-10-28 10:57:58 DEBUG [2521088531 0ms] router: match[0] protocol=dns => out-dns
+0800 2024-10-28 10:57:58 DEBUG [4130048631 0ms] dns: exchange prod-westus2.access-point.cloudmessaging.edge.microsoft.com. IN A
+0800 2024-10-28 10:57:58 DEBUG [2521088531 0ms] dns: exchange prod-westus2.access-point.cloudmessaging.edge.microsoft.com. IN AAAA
+0800 2024-10-28 10:57:58 DEBUG [2521088531 76ms] dns: exchanged prod-westus2.access-point.cloudmessaging.edge.microsoft.com NOERROR 1
+0800 2024-10-28 10:57:58 INFO [2521088531 76ms] dns: exchanged prod-westus2.access-point.cloudmessaging.edge.microsoft.com CNAME prod-westus2.access-point.cloudmessaging.edge.microsoft.com. 1 IN CNAME edge-cloudmessaging-access-point-prod-westus2.westus2.cloudapp.azure.com.
+0800 2024-10-28 10:57:58 INFO [2521088531 76ms] dns: exchanged prod-westus2.access-point.cloudmessaging.edge.microsoft.com SOA westus2.cloudapp.azure.com. 1 IN SOA ns1-02.azure-dns.com. msnhst.microsoft.com. 1 900 300 604800 60
+0800 2024-10-28 10:57:59 DEBUG [2521088531 940ms] dns: exchange v10.events.data.microsoft.com. IN A
+0800 2024-10-28 10:57:59 INFO [2220222239 0ms] inbound/tun[in-tun]: inbound packet connection from [fdfe:dcba:9876::1]:61403
+0800 2024-10-28 10:57:59 INFO [2220222239 0ms] inbound/tun[in-tun]: inbound packet connection to [fdfe:dcba:9876::2]:53
+0800 2024-10-28 10:57:59 DEBUG [2220222239 0ms] router: sniffed packet protocol: dns
+0800 2024-10-28 10:57:59 DEBUG [2220222239 0ms] router: match[0] protocol=dns => out-dns
+0800 2024-10-28 10:57:59 DEBUG [2220222239 0ms] dns: exchange v10.events.data.microsoft.com. IN AAAA
+0800 2024-10-28 10:57:59 INFO [3097846870 0ms] inbound/tun[in-tun]: inbound packet connection from [fdfe:dcba:9876::1]:49876
+0800 2024-10-28 10:57:59 INFO [3097846870 0ms] inbound/tun[in-tun]: inbound packet connection to [fdfe:dcba:9876::2]:53
+0800 2024-10-28 10:57:59 DEBUG [3097846870 0ms] router: sniffed packet protocol: dns
+0800 2024-10-28 10:57:59 INFO [2763774405 0ms] inbound/tun[in-tun]: inbound packet connection from [fdfe:dcba:9876::1]:57204
+0800 2024-10-28 10:57:59 DEBUG [3097846870 0ms] router: match[0] protocol=dns => out-dns
+0800 2024-10-28 10:57:59 INFO [2763774405 0ms] inbound/tun[in-tun]: inbound packet connection to [fdfe:dcba:9876::2]:53
+0800 2024-10-28 10:57:59 DEBUG [3097846870 0ms] dns: exchange geo.prod.do.dsp.mp.microsoft.com. IN A
+0800 2024-10-28 10:57:59 DEBUG [2763774405 0ms] router: sniffed packet protocol: dns
+0800 2024-10-28 10:57:59 DEBUG [2763774405 0ms] router: match[0] protocol=dns => out-dns
+0800 2024-10-28 10:57:59 DEBUG [2763774405 0ms] dns: exchange geo.prod.do.dsp.mp.microsoft.com. IN AAAA
+0800 2024-10-28 10:57:59 INFO [543466963 0ms] inbound/tun[in-tun]: inbound packet connection from [fdfe:dcba:9876::1]:63059
+0800 2024-10-28 10:57:59 INFO [543466963 0ms] inbound/tun[in-tun]: inbound packet connection to [fdfe:dcba:9876::2]:53
+0800 2024-10-28 10:57:59 INFO [3679127856 0ms] inbound/tun[in-tun]: inbound packet connection from [fdfe:dcba:9876::1]:51419
+0800 2024-10-28 10:57:59 DEBUG [543466963 0ms] router: sniffed packet protocol: dns
+0800 2024-10-28 10:57:59 DEBUG [543466963 0ms] router: match[0] protocol=dns => out-dns
+0800 2024-10-28 10:57:59 INFO [3679127856 0ms] inbound/tun[in-tun]: inbound packet connection to [fdfe:dcba:9876::2]:53
+0800 2024-10-28 10:57:59 DEBUG [543466963 0ms] dns: exchange www.microsoft.com. IN A
+0800 2024-10-28 10:57:59 DEBUG [3679127856 0ms] router: sniffed packet protocol: dns
+0800 2024-10-28 10:57:59 DEBUG [3679127856 1ms] router: match[0] protocol=dns => out-dns
+0800 2024-10-28 10:57:59 DEBUG [3679127856 1ms] dns: exchange www.microsoft.com. IN AAAA
+0800 2024-10-28 10:57:59 DEBUG [2521088531 1.0s] dns: exchanged v10.events.data.microsoft.com NOERROR 27
+0800 2024-10-28 10:57:59 INFO [2521088531 1.0s] dns: exchanged v10.events.data.microsoft.com CNAME v10.events.data.microsoft.com. 27 IN CNAME win-global-asimov-leafs-events-data.trafficmanager.net.
+0800 2024-10-28 10:57:59 INFO [2521088531 1.0s] dns: exchanged v10.events.data.microsoft.com CNAME win-global-asimov-leafs-events-data.trafficmanager.net. 27 IN CNAME onedscolprdwus11.westus.cloudapp.azure.com.
+0800 2024-10-28 10:57:59 INFO [2521088531 1.0s] dns: exchanged v10.events.data.microsoft.com A onedscolprdwus11.westus.cloudapp.azure.com. 27 IN A 20.189.173.12
+0800 2024-10-28 10:57:59 INFO [2271192015 0ms] inbound/tun[in-tun]: inbound packet connection from 172.19.0.1:64520
+0800 2024-10-28 10:57:59 INFO [2271192015 0ms] inbound/tun[in-tun]: inbound packet connection to 172.19.0.2:53
+0800 2024-10-28 10:57:59 DEBUG [2271192015 0ms] router: sniffed packet protocol: dns
+0800 2024-10-28 10:57:59 DEBUG [2271192015 0ms] router: match[0] protocol=dns => out-dns
+0800 2024-10-28 10:57:59 DEBUG [2271192015 0ms] dns: exchange prod-westus2.access-point.cloudmessaging.edge.microsoft.com. IN A
+0800 2024-10-28 10:57:59 DEBUG [2220222239 74ms] dns: exchanged v10.events.data.microsoft.com NOERROR 10
+0800 2024-10-28 10:57:59 INFO [2220222239 74ms] dns: exchanged v10.events.data.microsoft.com CNAME v10.events.data.microsoft.com. 10 IN CNAME win-global-asimov-leafs-events-data.trafficmanager.net.
+0800 2024-10-28 10:57:59 INFO [2220222239 74ms] dns: exchanged v10.events.data.microsoft.com CNAME win-global-asimov-leafs-events-data.trafficmanager.net. 10 IN CNAME onedscolprdeus09.eastus.cloudapp.azure.com.
+0800 2024-10-28 10:57:59 INFO [2220222239 74ms] dns: exchanged v10.events.data.microsoft.com SOA eastus.cloudapp.azure.com. 10 IN SOA ns1-201.azure-dns.com. msnhst.microsoft.com. 10001 900 300 604800 60
+0800 2024-10-28 10:57:59 INFO [3478430652 0ms] inbound/tun[in-tun]: inbound connection from 172.19.0.1:1852
+0800 2024-10-28 10:57:59 INFO [3478430652 0ms] inbound/tun[in-tun]: inbound connection to 20.189.173.12:443
+0800 2024-10-28 10:57:59 DEBUG [3478430652 1ms] router: sniffed protocol: tls, domain: v10.events.data.microsoft.com
+0800 2024-10-28 10:57:59 INFO [3478430652 1ms] outbound/direct[out-direct]: outbound connection to 20.189.173.12:443
+0800 2024-10-28 10:57:59 DEBUG [543466963 49ms] dns: exchanged www.microsoft.com NOERROR 19
+0800 2024-10-28 10:57:59 INFO [543466963 49ms] dns: exchanged www.microsoft.com CNAME www.microsoft.com. 19 IN CNAME www.microsoft.com-c-3.edgekey.net.
+0800 2024-10-28 10:57:59 INFO [543466963 49ms] dns: exchanged www.microsoft.com CNAME www.microsoft.com-c-3.edgekey.net. 19 IN CNAME www.microsoft.com-c-3.edgekey.net.globalredir.akadns.net.
+0800 2024-10-28 10:57:59 INFO [543466963 50ms] dns: exchanged www.microsoft.com CNAME www.microsoft.com-c-3.edgekey.net.globalredir.akadns.net. 19 IN CNAME e13678.ca2.s.tl88.net.
+0800 2024-10-28 10:57:59 INFO [543466963 50ms] dns: exchanged www.microsoft.com A e13678.ca2.s.tl88.net. 19 IN A 61.147.219.124
+0800 2024-10-28 10:57:59 DEBUG [3679127856 59ms] dns: exchanged www.microsoft.com NOERROR 364
+0800 2024-10-28 10:57:59 INFO [3679127856 59ms] dns: exchanged www.microsoft.com CNAME www.microsoft.com. 364 IN CNAME www.microsoft.com-c-3.edgekey.net.
+0800 2024-10-28 10:57:59 INFO [3679127856 59ms] dns: exchanged www.microsoft.com CNAME www.microsoft.com-c-3.edgekey.net. 364 IN CNAME www.microsoft.com-c-3.edgekey.net.globalredir.akadns.net.
+0800 2024-10-28 10:57:59 INFO [3679127856 59ms] dns: exchanged www.microsoft.com CNAME www.microsoft.com-c-3.edgekey.net.globalredir.akadns.net. 364 IN CNAME e13678.ca2.s.tl88.net.
+0800 2024-10-28 10:57:59 INFO [3679127856 59ms] dns: exchanged www.microsoft.com SOA ca2.s.tl88.net. 364 IN SOA n0ca2.s.tl88.net. hostmaster.akamai.com. 1730083862 1000 1000 1000 1800
+0800 2024-10-28 10:58:00 INFO [1677545566 0ms] inbound/tun[in-tun]: inbound packet connection from 172.19.0.1:49876
+0800 2024-10-28 10:58:00 INFO [2307066521 0ms] inbound/tun[in-tun]: inbound packet connection from 172.19.0.1:57204
+0800 2024-10-28 10:58:00 INFO [1677545566 0ms] inbound/tun[in-tun]: inbound packet connection to 172.19.0.2:53
+0800 2024-10-28 10:58:00 INFO [2307066521 0ms] inbound/tun[in-tun]: inbound packet connection to 172.19.0.2:53
+0800 2024-10-28 10:58:00 DEBUG [2307066521 0ms] router: sniffed packet protocol: dns
+0800 2024-10-28 10:58:00 DEBUG [1677545566 0ms] router: sniffed packet protocol: dns
+0800 2024-10-28 10:58:00 DEBUG [1677545566 0ms] router: match[0] protocol=dns => out-dns
+0800 2024-10-28 10:58:00 DEBUG [2307066521 0ms] router: match[0] protocol=dns => out-dns
+0800 2024-10-28 10:58:00 DEBUG [1677545566 0ms] dns: exchange geo.prod.do.dsp.mp.microsoft.com. IN A
+0800 2024-10-28 10:58:00 DEBUG [2307066521 0ms] dns: exchange geo.prod.do.dsp.mp.microsoft.com. IN AAAA
+0800 2024-10-28 10:58:00 DEBUG [1677545566 46ms] dns: exchanged geo.prod.do.dsp.mp.microsoft.com NOERROR 6
+0800 2024-10-28 10:58:00 INFO [1677545566 46ms] dns: exchanged geo.prod.do.dsp.mp.microsoft.com CNAME geo.prod.do.dsp.mp.microsoft.com. 6 IN CNAME geo.prod.do.dsp.trafficmanager.net.
+0800 2024-10-28 10:58:00 INFO [1677545566 46ms] dns: exchanged geo.prod.do.dsp.mp.microsoft.com CNAME geo.prod.do.dsp.trafficmanager.net. 6 IN CNAME array507.prod.do.dsp.mp.microsoft.com.
+0800 2024-10-28 10:58:00 INFO [1677545566 47ms] dns: exchanged geo.prod.do.dsp.mp.microsoft.com A array507.prod.do.dsp.mp.microsoft.com. 6 IN A 52.167.200.126
+0800 2024-10-28 10:58:00 DEBUG [2307066521 52ms] dns: exchanged geo.prod.do.dsp.mp.microsoft.com NOERROR 4
+0800 2024-10-28 10:58:00 INFO [2307066521 52ms] dns: exchanged geo.prod.do.dsp.mp.microsoft.com CNAME geo.prod.do.dsp.mp.microsoft.com. 4 IN CNAME geo.prod.do.dsp.trafficmanager.net.
+0800 2024-10-28 10:58:00 INFO [2307066521 52ms] dns: exchanged geo.prod.do.dsp.mp.microsoft.com CNAME geo.prod.do.dsp.trafficmanager.net. 4 IN CNAME array504.prod.do.dsp.mp.microsoft.com.
+0800 2024-10-28 10:58:00 INFO [2307066521 52ms] dns: exchanged geo.prod.do.dsp.mp.microsoft.com SOA prod.do.dsp.mp.microsoft.com. 4 IN SOA ns1-06.azure-dns.com. azuredns-hostmaster.microsoft.com. 1 3600 300 2419200 300
+0800 2024-10-28 10:58:00 INFO [772428243 0ms] inbound/tun[in-tun]: inbound connection from 172.19.0.1:1859
+0800 2024-10-28 10:58:00 INFO [772428243 0ms] inbound/tun[in-tun]: inbound connection to 52.167.200.126:443
+0800 2024-10-28 10:58:00 DEBUG [772428243 1ms] router: sniffed protocol: tls, domain: geo.prod.do.dsp.mp.microsoft.com
+0800 2024-10-28 10:58:00 INFO [772428243 1ms] outbound/direct[out-direct]: outbound connection to 52.167.200.126:443
+0800 2024-10-28 10:58:00 DEBUG [2271192015 1.0s] dns: exchange prod-westus2.access-point.cloudmessaging.edge.microsoft.com. IN A
+0800 2024-10-28 10:58:00 DEBUG [2271192015 1.5s] dns: exchanged prod-westus2.access-point.cloudmessaging.edge.microsoft.com NOERROR 28
+0800 2024-10-28 10:58:00 INFO [2271192015 1.5s] dns: exchanged prod-westus2.access-point.cloudmessaging.edge.microsoft.com CNAME prod-westus2.access-point.cloudmessaging.edge.microsoft.com. 28 IN CNAME edge-cloudmessaging-access-point-prod-westus2.westus2.cloudapp.azure.com.
+0800 2024-10-28 10:58:00 INFO [2271192015 1.5s] dns: exchanged prod-westus2.access-point.cloudmessaging.edge.microsoft.com A edge-cloudmessaging-access-point-prod-westus2.westus2.cloudapp.azure.com. 28 IN A 20.42.144.52
+0800 2024-10-28 10:58:00 INFO [43978076 0ms] inbound/tun[in-tun]: inbound connection from [fdfe:dcba:9876::1]:1861
+0800 2024-10-28 10:58:00 INFO [43978076 1ms] inbound/tun[in-tun]: inbound connection to [240e:ff:e020:9ae:0:ff:b014:8e8b]:80
+0800 2024-10-28 10:58:00 DEBUG [43978076 1ms] router: sniffed protocol: http, domain: 240e:ff:e020:9ae:0:ff:b014:8e8b
+0800 2024-10-28 10:58:00 INFO [43978076 1ms] outbound/direct[out-direct]: outbound connection to [240e:ff:e020:9ae:0:ff:b014:8e8b]:80
+0800 2024-10-28 10:58:01 INFO [191438924 0ms] inbound/tun[in-tun]: inbound packet connection from [fdfe:dcba:9876::1]:58972
+0800 2024-10-28 10:58:01 INFO [191438924 3ms] inbound/tun[in-tun]: inbound packet connection to [fdfe:dcba:9876::2]:53
+0800 2024-10-28 10:58:01 DEBUG [191438924 7ms] router: sniffed packet protocol: dns
+0800 2024-10-28 10:58:01 DEBUG [191438924 18ms] router: match[0] protocol=dns => out-dns
+0800 2024-10-28 10:58:01 DEBUG [191438924 22ms] dns: exchange win1910.ipv6.microsoft.com. IN A
+0800 2024-10-28 10:58:01 INFO [1804205231 0ms] inbound/tun[in-tun]: inbound packet connection from [fdfe:dcba:9876::1]:56454
+0800 2024-10-28 10:58:01 INFO [1804205231 4ms] inbound/tun[in-tun]: inbound packet connection to [fdfe:dcba:9876::2]:53
+0800 2024-10-28 10:58:01 DEBUG [1804205231 8ms] router: sniffed packet protocol: dns
+0800 2024-10-28 10:58:01 DEBUG [1804205231 14ms] router: match[0] protocol=dns => out-dns
+0800 2024-10-28 10:58:01 DEBUG [1804205231 19ms] dns: exchange prod-westus2.access-point.cloudmessaging.edge.microsoft.com. IN AAAA
+0800 2024-10-28 10:58:01 INFO [2711218857 0ms] inbound/tun[in-tun]: inbound packet connection from [fdfe:dcba:9876::1]:64131
+0800 2024-10-28 10:58:01 INFO [2711218857 7ms] inbound/tun[in-tun]: inbound packet connection to [fdfe:dcba:9876::2]:53
+0800 2024-10-28 10:58:01 DEBUG [2711218857 12ms] router: sniffed packet protocol: dns
+0800 2024-10-28 10:58:01 DEBUG [2711218857 14ms] router: match[0] protocol=dns => out-dns
+0800 2024-10-28 10:58:01 DEBUG [2711218857 15ms] dns: exchange kv801.prod.do.dsp.mp.microsoft.com. IN A
+0800 2024-10-28 10:58:01 INFO [1195353852 0ms] inbound/tun[in-tun]: inbound packet connection from [fdfe:dcba:9876::1]:57912
+0800 2024-10-28 10:58:01 INFO [1195353852 17ms] inbound/tun[in-tun]: inbound packet connection to [fdfe:dcba:9876::2]:53
+0800 2024-10-28 10:58:01 DEBUG [1195353852 17ms] router: sniffed packet protocol: dns
+0800 2024-10-28 10:58:01 DEBUG [1195353852 17ms] router: match[0] protocol=dns => out-dns
+0800 2024-10-28 10:58:01 DEBUG [1195353852 17ms] dns: exchange kv801.prod.do.dsp.mp.microsoft.com. IN AAAA
+0800 2024-10-28 10:58:01 DEBUG [191438924 76ms] dns: exchanged win1910.ipv6.microsoft.com NOERROR 26
+0800 2024-10-28 10:58:01 INFO [191438924 76ms] dns: exchanged win1910.ipv6.microsoft.com CNAME win1910.ipv6.microsoft.com. 26 IN CNAME azwindows.ipv6.microsoft.com.akadns.net.
+0800 2024-10-28 10:58:01 INFO [191438924 76ms] dns: exchanged win1910.ipv6.microsoft.com CNAME azwindows.ipv6.microsoft.com.akadns.net. 26 IN CNAME trdojapanwestrs4vmss.ipv6.microsoft.com.akadns.net.
+0800 2024-10-28 10:58:01 INFO [191438924 76ms] dns: exchanged win1910.ipv6.microsoft.com A trdojapanwestrs4vmss.ipv6.microsoft.com.akadns.net. 26 IN A 40.81.185.240
+0800 2024-10-28 10:58:01 DEBUG [1804205231 70ms] dns: exchanged prod-westus2.access-point.cloudmessaging.edge.microsoft.com NOERROR 27
+0800 2024-10-28 10:58:01 INFO [1804205231 70ms] dns: exchanged prod-westus2.access-point.cloudmessaging.edge.microsoft.com CNAME prod-westus2.access-point.cloudmessaging.edge.microsoft.com. 27 IN CNAME edge-cloudmessaging-access-point-prod-westus2.westus2.cloudapp.azure.com.
+0800 2024-10-28 10:58:01 INFO [1804205231 71ms] dns: exchanged prod-westus2.access-point.cloudmessaging.edge.microsoft.com SOA westus2.cloudapp.azure.com. 27 IN SOA ns1-02.azure-dns.com. msnhst.microsoft.com. 1 900 300 604800 60
+0800 2024-10-28 10:58:01 INFO [2934601755 0ms] inbound/tun[in-tun]: inbound connection from 172.19.0.1:1866
+0800 2024-10-28 10:58:01 INFO [2934601755 0ms] inbound/tun[in-tun]: inbound connection to 20.42.144.52:443
+0800 2024-10-28 10:58:01 DEBUG [2934601755 0ms] router: sniffed protocol: tls, domain: prod-westus2.access-point.cloudmessaging.edge.microsoft.com
+0800 2024-10-28 10:58:01 INFO [2934601755 0ms] outbound/direct[out-direct]: outbound connection to 20.42.144.52:443
+0800 2024-10-28 10:58:01 DEBUG [2711218857 69ms] dns: exchanged kv801.prod.do.dsp.mp.microsoft.com NOERROR 26
+0800 2024-10-28 10:58:01 INFO [2711218857 70ms] dns: exchanged kv801.prod.do.dsp.mp.microsoft.com CNAME kv801.prod.do.dsp.mp.microsoft.com. 26 IN CNAME kv801.prod.do.dsp.mp.microsoft.com.edgekey.net.
+0800 2024-10-28 10:58:01 INFO [2711218857 70ms] dns: exchanged kv801.prod.do.dsp.mp.microsoft.com CNAME kv801.prod.do.dsp.mp.microsoft.com.edgekey.net. 26 IN CNAME e12437.d.akamaiedge.net.
+0800 2024-10-28 10:58:01 INFO [2711218857 70ms] dns: exchanged kv801.prod.do.dsp.mp.microsoft.com A e12437.d.akamaiedge.net. 26 IN A 23.59.156.75
+0800 2024-10-28 10:58:02 INFO [79967496 0ms] inbound/tun[in-tun]: inbound packet connection from 172.19.0.1:57912
+0800 2024-10-28 10:58:02 INFO [79967496 0ms] inbound/tun[in-tun]: inbound packet connection to 172.19.0.2:53
+0800 2024-10-28 10:58:02 DEBUG [79967496 0ms] router: sniffed packet protocol: dns
+0800 2024-10-28 10:58:02 DEBUG [79967496 0ms] router: match[0] protocol=dns => out-dns
+0800 2024-10-28 10:58:02 DEBUG [79967496 0ms] dns: exchange kv801.prod.do.dsp.mp.microsoft.com. IN AAAA
+0800 2024-10-28 10:58:02 DEBUG [79967496 55ms] dns: exchanged kv801.prod.do.dsp.mp.microsoft.com NOERROR 15
+0800 2024-10-28 10:58:02 INFO [79967496 55ms] dns: exchanged kv801.prod.do.dsp.mp.microsoft.com CNAME kv801.prod.do.dsp.mp.microsoft.com. 15 IN CNAME kv801.prod.do.dsp.mp.microsoft.com.edgekey.net.
+0800 2024-10-28 10:58:02 INFO [79967496 55ms] dns: exchanged kv801.prod.do.dsp.mp.microsoft.com CNAME kv801.prod.do.dsp.mp.microsoft.com.edgekey.net. 15 IN CNAME e12437.d.akamaiedge.net.
+0800 2024-10-28 10:58:02 INFO [79967496 56ms] dns: exchanged kv801.prod.do.dsp.mp.microsoft.com SOA d.akamaiedge.net. 15 IN SOA n0d.akamaiedge.net. hostmaster.akamai.com. 1730083751 1000 1000 1000 1800
+0800 2024-10-28 10:58:02 INFO [1420140790 0ms] inbound/tun[in-tun]: inbound connection from 172.19.0.1:1873
+0800 2024-10-28 10:58:02 INFO [1420140790 0ms] inbound/tun[in-tun]: inbound connection to 23.59.156.75:443
+0800 2024-10-28 10:58:02 DEBUG [1420140790 1ms] router: sniffed protocol: tls, domain: kv801.prod.do.dsp.mp.microsoft.com
+0800 2024-10-28 10:58:02 INFO [1420140790 1ms] outbound/direct[out-direct]: outbound connection to 23.59.156.75:443
+0800 2024-10-28 10:58:03 INFO [3316703713 0ms] inbound/tun[in-tun]: inbound packet connection from [fdfe:dcba:9876::1]:56559
+0800 2024-10-28 10:58:03 INFO [101379998 0ms] inbound/tun[in-tun]: inbound packet connection from [fdfe:dcba:9876::1]:61251
+0800 2024-10-28 10:58:03 INFO [101379998 0ms] inbound/tun[in-tun]: inbound packet connection to [fdfe:dcba:9876::2]:53
+0800 2024-10-28 10:58:03 INFO [3316703713 0ms] inbound/tun[in-tun]: inbound packet connection to [fdfe:dcba:9876::2]:53
+0800 2024-10-28 10:58:03 DEBUG [101379998 0ms] router: sniffed packet protocol: dns
+0800 2024-10-28 10:58:03 DEBUG [3316703713 0ms] router: sniffed packet protocol: dns
+0800 2024-10-28 10:58:03 DEBUG [3316703713 0ms] router: match[0] protocol=dns => out-dns
+0800 2024-10-28 10:58:03 DEBUG [101379998 0ms] router: match[0] protocol=dns => out-dns
+0800 2024-10-28 10:58:03 DEBUG [3316703713 0ms] dns: exchange self.events.data.microsoft.com. IN A
+0800 2024-10-28 10:58:03 DEBUG [101379998 0ms] dns: exchange self.events.data.microsoft.com. IN AAAA
+0800 2024-10-28 10:58:03 DEBUG [3316703713 51ms] dns: exchanged self.events.data.microsoft.com NOERROR 1
+0800 2024-10-28 10:58:03 INFO [3316703713 51ms] dns: exchanged self.events.data.microsoft.com CNAME self.events.data.microsoft.com. 1 IN CNAME self-events-data.trafficmanager.net.
+0800 2024-10-28 10:58:03 INFO [3316703713 51ms] dns: exchanged self.events.data.microsoft.com CNAME self-events-data.trafficmanager.net. 1 IN CNAME onedscolprdcus12.centralus.cloudapp.azure.com.
+0800 2024-10-28 10:58:03 INFO [3316703713 51ms] dns: exchanged self.events.data.microsoft.com A onedscolprdcus12.centralus.cloudapp.azure.com. 1 IN A 13.89.179.10
+0800 2024-10-28 10:58:03 DEBUG [101379998 61ms] dns: exchanged self.events.data.microsoft.com NOERROR 3
+0800 2024-10-28 10:58:03 INFO [101379998 61ms] dns: exchanged self.events.data.microsoft.com CNAME self.events.data.microsoft.com. 3 IN CNAME self-events-data.trafficmanager.net.
+0800 2024-10-28 10:58:03 INFO [101379998 61ms] dns: exchanged self.events.data.microsoft.com CNAME self-events-data.trafficmanager.net. 3 IN CNAME onedscolprdwus20.westus.cloudapp.azure.com.
+0800 2024-10-28 10:58:03 INFO [101379998 61ms] dns: exchanged self.events.data.microsoft.com SOA westus.cloudapp.azure.com. 3 IN SOA ns1-02.azure-dns.com. msnhst.microsoft.com. 10001 900 300 604800 60
+0800 2024-10-28 10:58:03 INFO [2044279957 0ms] inbound/tun[in-tun]: inbound connection from 172.19.0.1:1875
+0800 2024-10-28 10:58:03 INFO [2044279957 0ms] inbound/tun[in-tun]: inbound connection to 13.89.179.10:443
+0800 2024-10-28 10:58:03 DEBUG [2044279957 1ms] router: sniffed protocol: tls, domain: self.events.data.microsoft.com
+0800 2024-10-28 10:58:03 INFO [2044279957 1ms] outbound/direct[out-direct]: outbound connection to 13.89.179.10:443
+0800 2024-10-28 10:58:04 DEBUG [3316703713 208ms] dns: exchange v10.events.data.microsoft.com. IN AAAA
+0800 2024-10-28 10:58:04 DEBUG [3316703713 208ms] dns: cached v10.events.data.microsoft.com NOERROR 4
+0800 2024-10-28 10:58:04 INFO [3316703713 208ms] dns: cached v10.events.data.microsoft.com CNAME v10.events.data.microsoft.com. 4 IN CNAME win-global-asimov-leafs-events-data.trafficmanager.net.
+0800 2024-10-28 10:58:04 INFO [3316703713 208ms] dns: cached v10.events.data.microsoft.com CNAME win-global-asimov-leafs-events-data.trafficmanager.net. 4 IN CNAME onedscolprdeus09.eastus.cloudapp.azure.com.
+0800 2024-10-28 10:58:04 INFO [3316703713 208ms] dns: cached v10.events.data.microsoft.com SOA eastus.cloudapp.azure.com. 4 IN SOA ns1-201.azure-dns.com. msnhst.microsoft.com. 10001 900 300 604800 60
+0800 2024-10-28 10:58:04 INFO [2617088866 0ms] inbound/tun[in-tun]: inbound connection from 172.19.0.1:1877
+0800 2024-10-28 10:58:04 INFO [2617088866 0ms] inbound/tun[in-tun]: inbound connection to 20.189.173.12:443
+0800 2024-10-28 10:58:04 DEBUG [2617088866 0ms] router: sniffed protocol: tls, domain: v10.events.data.microsoft.com
+0800 2024-10-28 10:58:04 INFO [2617088866 0ms] outbound/direct[out-direct]: outbound connection to 20.189.173.12:443
+0800 2024-10-28 10:58:07 DEBUG [67081080 10.6s] inbound/tun[in-tun]: connection closed: context canceled
+0800 2024-10-28 10:58:07 DEBUG [5132041 10.7s] inbound/tun[in-tun]: connection closed: context canceled
+0800 2024-10-28 10:58:07 DEBUG [101379998 3.64s] dns: exchange www.microsoft.com. IN AAAA
+0800 2024-10-28 10:58:07 DEBUG [101379998 3.64s] dns: cached www.microsoft.com NOERROR 355
+0800 2024-10-28 10:58:07 INFO [101379998 3.64s] dns: cached www.microsoft.com CNAME www.microsoft.com. 355 IN CNAME www.microsoft.com-c-3.edgekey.net.
+0800 2024-10-28 10:58:07 INFO [101379998 3.64s] dns: cached www.microsoft.com CNAME www.microsoft.com-c-3.edgekey.net. 355 IN CNAME www.microsoft.com-c-3.edgekey.net.globalredir.akadns.net.
+0800 2024-10-28 10:58:07 INFO [101379998 3.64s] dns: cached www.microsoft.com CNAME www.microsoft.com-c-3.edgekey.net.globalredir.akadns.net. 355 IN CNAME e13678.ca2.s.tl88.net.
+0800 2024-10-28 10:58:07 INFO [101379998 3.64s] dns: cached www.microsoft.com SOA ca2.s.tl88.net. 355 IN SOA n0ca2.s.tl88.net. hostmaster.akamai.com. 1730083862 1000 1000 1000 1800
+0800 2024-10-28 10:58:07 INFO [62219361 0ms] inbound/tun[in-tun]: inbound packet connection from 172.19.0.1:50075
+0800 2024-10-28 10:58:07 INFO [62219361 0ms] inbound/tun[in-tun]: inbound packet connection to 40.81.185.240:3544
+0800 2024-10-28 10:58:07 INFO [62219361 0ms] outbound/direct[out-direct]: outbound packet connection
+0800 2024-10-28 10:58:07 DEBUG [2039035230 10.27s] inbound/tun[in-tun]: connection closed: context canceled
+0800 2024-10-28 10:58:07 DEBUG [3961842320 10.28s] inbound/tun[in-tun]: connection closed: context canceled
+0800 2024-10-28 10:58:08 DEBUG [4130048631 10.0s] inbound/tun[in-tun]: connection closed: context canceled
+0800 2024-10-28 10:58:08 ERROR [3097846870 9.5s] dns: exchange failed for geo.prod.do.dsp.mp.microsoft.com. IN A: context canceled
+0800 2024-10-28 10:58:08 ERROR [2763774405 9.5s] dns: exchange failed for geo.prod.do.dsp.mp.microsoft.com. IN AAAA: context canceled
+0800 2024-10-28 10:58:08 DEBUG [2763774405 9.5s] inbound/tun[in-tun]: connection closed: context canceled
+0800 2024-10-28 10:58:08 ERROR [2271192015 8.99s] dns: exchange failed for prod-westus2.access-point.cloudmessaging.edge.microsoft.com. IN A: context canceled
+0800 2024-10-28 10:58:08 ERROR [4130048631 10.0s] dns: exchange failed for prod-westus2.access-point.cloudmessaging.edge.microsoft.com. IN A: context deadline exceeded
+0800 2024-10-28 10:58:08 DEBUG [3097846870 9.5s] inbound/tun[in-tun]: connection closed: context canceled
+0800 2024-10-28 10:58:08 ERROR [1195353852 6.78s] dns: exchange failed for kv801.prod.do.dsp.mp.microsoft.com. IN AAAA: context canceled
+0800 2024-10-28 10:58:08 DEBUG [2271192015 8.99s] inbound/tun[in-tun]: connection closed: context canceled
+0800 2024-10-28 10:58:08 DEBUG [1195353852 6.78s] inbound/tun[in-tun]: connection closed: context canceled
+0800 2024-10-28 10:58:09 DEBUG [2521088531 11.0s] inbound/tun[in-tun]: connection closed: context canceled
+0800 2024-10-28 10:58:09 DEBUG [2220222239 10.7s] inbound/tun[in-tun]: connection closed: context canceled
+0800 2024-10-28 10:58:09 DEBUG [543466963 10.5s] inbound/tun[in-tun]: connection closed: context canceled
+0800 2024-10-28 10:58:09 DEBUG [3679127856 10.6s] inbound/tun[in-tun]: connection closed: context canceled
+0800 2024-10-28 10:58:10 DEBUG [1677545566 10.4s] inbound/tun[in-tun]: connection closed: context canceled
+0800 2024-10-28 10:58:10 DEBUG [2307066521 10.5s] inbound/tun[in-tun]: connection closed: context canceled
+0800 2024-10-28 10:58:11 DEBUG [191438924 10.7s] inbound/tun[in-tun]: connection closed: context canceled
+0800 2024-10-28 10:58:11 DEBUG [1804205231 10.7s] inbound/tun[in-tun]: connection closed: context canceled
+0800 2024-10-28 10:58:11 DEBUG [2711218857 10.7s] inbound/tun[in-tun]: connection closed: context canceled
+0800 2024-10-28 10:58:12 DEBUG [79967496 10.5s] inbound/tun[in-tun]: connection closed: context canceled
+0800 2024-10-28 10:58:14 DEBUG [3316703713 10.20s] inbound/tun[in-tun]: connection closed: context canceled
+0800 2024-10-28 10:58:15 INFO [1270386693 0ms] inbound/tun[in-tun]: inbound connection from [fdfe:dcba:9876::1]:1891
+0800 2024-10-28 10:58:15 INFO [1270386693 0ms] inbound/tun[in-tun]: inbound connection to [240e:ff:e020:9ae:0:ff:b014:8e8b]:80
+0800 2024-10-28 10:58:15 DEBUG [1270386693 0ms] router: sniffed protocol: http, domain: 240e:ff:e020:9ae:0:ff:b014:8e8b
+0800 2024-10-28 10:58:15 INFO [1270386693 0ms] outbound/direct[out-direct]: outbound connection to [240e:ff:e020:9ae:0:ff:b014:8e8b]:80
+0800 2024-10-28 10:58:17 DEBUG [101379998 13.64s] inbound/tun[in-tun]: connection closed: context canceled
+0800 2024-10-28 10:58:20 DEBUG [1270386693 5.0s] inbound/tun[in-tun]: connection closed: dial tcp [240e:ff:e020:9ae:0:ff:b014:8e8b]:80: i/o timeout
+0800 2024-10-28 10:58:23 DEBUG [62219361 16.32s] inbound/tun[in-tun]: connection closed: context canceled
+0800 2024-10-28 10:58:23 DEBUG [2934601755 22.32s] inbound/tun[in-tun]: connection closed: context canceled
+0800 2024-10-28 10:58:23 DEBUG [3839819942 26.67s] inbound/tun[in-tun]: connection closed: context canceled

@dyhkwong
Copy link
Contributor

该配置文件在我的设备上 curl IPv6 地址正常工作。是否还需要其他的系统环境或者网络环境等特定条件才能复现?

@freakinyy
Copy link
Author

该配置文件在我的设备上 curl IPv6 地址正常工作。是否还需要其他的系统环境或者网络环境等特定条件才能复现?

找到原因了,是微软的 Teredo造成的:

  1. 先ipconfig,可以看到隧道适配器 Teredo Tunneling Pseudo-Interface
  2. sing-box启动后Teredo在ipconfig中会消失,此时outbound direct的ipv6正常。
  3. 但一段时间(我的三台计算机中都是10多秒左右)后,它又会出现在ipconfig中,此时ipv6就无法连接。

因为我的三台计算机都有微软的某些游戏,导致它们都有这个适配器。
我又找了另一台计算机测试,发现完全正常。对比它和我的三台计算机的区别,并为它手动启用Teredo之后发现了这个问题。
这可能是个别问题,我会尝试禁用Teredo解决此问题。

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

No branches or pull requests

2 participants