2dust / v2rayN

A GUI client for Windows, support Xray core and v2fly core and others
https://1.2345345.xyz
GNU General Public License v3.0
66.67k stars 11.16k forks source link

[Bug]: Tun模式在双内核下无法工作,sing-box和xray之间的socks连接不正常 #5293

Closed BnqDzj closed 1 month ago

BnqDzj commented 2 months ago

预期情况

Tun模式正常启动,sing-box和xray之间socks连接正常

实际情况

在打开Tun模式后sing-box服务启动失败,流量不再经过v2rayn

复现方法

  1. V2rayN v6.49 latest
  2. Sing-box v1.10.0-alpha.18 latest
  3. 本地Socks监听端口为 “7890”
  4. 开启UDP 为开启状态
  5. Tun模式设置 Strict Route 启用额外端口监听 启用IPV6 均为开启状态,Stack设置为"system" Mtu设置为"9000"
  6. Core类型均为 "Xray"
  7. 系统代理为“自动配置系统代理”
  8. 路由选择为“V3-全局(Global)”
  9. 打开Tun模式

日志信息

Microsoft Windows NT 10.0.22631.0 - 64 Start service(2024/06/30 14:51:47)... Xray 1.8.16 (Xray, Penetrates Everything.) 9432a60 (go1.22.4 windows/amd64) A unified platform for anti-censorship. 2024/06/30 14:51:48 Using default config: E:\Program Files\v2rayN\guiConfigs\config.json 2024/06/30 14:51:48 [Info] infra/conf/serial: Reading config: E:\Program Files\v2rayN\guiConfigs\config.json 2024/06/30 14:51:48 [Warning] core: Xray 1.8.16 started 2024/06/30 14:51:48 tcp:127.0.0.1:2188 accepted tcp:91.108.56.142:443 [socks -> proxy] 2024/06/30 14:51:48 tcp:127.0.0.1:2190 accepted tcp:91.108.56.142:80 [socks -> proxy] 2024/06/30 14:51:48 tcp:127.0.0.1:2189 accepted tcp:91.108.56.142:80 [socks -> proxy] 2024/06/30 14:51:48 tcp:127.0.0.1:2187 accepted tcp:91.108.56.142:443 [socks -> proxy] 2024/06/30 14:51:48 127.0.0.1:2185 accepted tcp:127.0.0.1:0 [api -> api] 2024/06/30 14:51:50 127.0.0.1:2201 accepted //www.google.com:443 [http -> proxy] 2024/06/30 14:51:52 tcp:127.0.0.1:2211 accepted tcp:raw.githubusercontent.com:443 [socks -> proxy] 2024/06/30 14:51:52 tcp:127.0.0.1:2212 accepted tcp:raw.githubusercontent.com:443 [socks -> proxy] 2024/06/30 14:51:53 tcp:127.0.0.1:2220 accepted tcp:20.42.144.52:443 [socks -> proxy] 2024/06/30 14:51:53 tcp:127.0.0.1:2229 accepted tcp:23.192.228.15:80 [socks -> proxy] 2024/06/30 14:51:53 tcp:127.0.0.1:2231 accepted tcp:23.44.73.221:443 [socks -> proxy] panic: extending out of bound goroutine 2104 [running]: github.com/xtls/xray-core/common/buf.(Buffer).Extend(...) github.com/xtls/xray-core/common/buf/buffer.go:126 github.com/xtls/xray-core/proxy/shadowsocks.(AEADCipher).EncodePacket(0xc002059a40?, {0xc00271e230?, 0xc002059a40?, 0x1adcd28?}, 0xc002059a40) github.com/xtls/xray-core/proxy/shadowsocks/config.go:178 +0x232 github.com/xtls/xray-core/proxy/shadowsocks.EncodeUDPPacket(0xc0021b5d78, {0xc0021a600a, 0x1fdb, 0x8?}) github.com/xtls/xray-core/proxy/shadowsocks/protocol.go:232 +0x15b github.com/xtls/xray-core/proxy/shadowsocks.(UDPWriter).WriteMultiBuffer(0xc00204b2f0, {0xc0020c2850?, 0xc001c34e80?, 0xc0021b5e30?}) github.com/xtls/xray-core/proxy/shadowsocks/protocol.go:336 +0x145 github.com/xtls/xray-core/common/buf.copyInternal({0x1acd040, 0xc0020d9a10}, {0x1ace3a0, 0xc00204b2f0}, 0xc00204b308) github.com/xtls/xray-core/common/buf/copy.go:99 +0x164 github.com/xtls/xray-core/common/buf.Copy({0x1acd040, 0xc0020d9a10}, {0x1ace3a0, 0xc00204b2f0}, {0xc0021b5f58, 0x1, 0x0?}) github.com/xtls/xray-core/common/buf/copy.go:116 +0x98 github.com/xtls/xray-core/proxy/shadowsocks.(Client).Process.func5() github.com/xtls/xray-core/proxy/shadowsocks/client.go:170 +0x1a5 github.com/xtls/xray-core/common/task.Run.func1(0xc001fef830?) github.com/xtls/xray-core/common/task/task.go:28 +0x28 created by github.com/xtls/xray-core/common/task.Run in goroutine 2017 github.com/xtls/xray-core/common/task/task.go:27 +0xdb +0800 2024-06-30 14:51:54 ERROR [2657117589 271ms] inbound/tun[tun-in]: dial tcp 127.0.0.1:7890: connectex: No connection could be made because the target machine actively refused it. +0800 2024-06-30 14:51:54 ERROR [1574258483 272ms] inbound/tun[tun-in]: dial tcp 127.0.0.1:7890: connectex: No connection could be made because the target machine actively refused it. +0800 2024-06-30 14:51:54 ERROR [2890152993 273ms] inbound/tun[tun-in]: dial tcp 127.0.0.1:7890: connectex: No connection could be made because the target machine actively refused it. +0800 2024-06-30 14:51:54 ERROR [281955391 262ms] inbound/tun[tun-in]: dial tcp 127.0.0.1:7890: connectex: No connection could be made because the target machine actively refused it. +0800 2024-06-30 14:51:54 ERROR [686921454 273ms] inbound/tun[tun-in]: dial tcp 127.0.0.1:7890: connectex: No connection could be made because the target machine actively refused it. +0800 2024-06-30 14:51:54 ERROR [584236276 272ms] inbound/tun[tun-in]: dial tcp 127.0.0.1:7890: connectex: No connection could be made because the target machine actively refused it. +0800 2024-06-30 14:51:54 ERROR [1501204560 272ms] inbound/tun[tun-in]: dial tcp 127.0.0.1:7890: connectex: No connection could be made because the target machine actively refused it. +0800 2024-06-30 14:51:54 ERROR [377037760 236ms] inbound/tun[tun-in]: dial tcp 127.0.0.1:7890: connectex: No connection could be made because the target machine actively refused it. FATAL[0006] 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": read tcp 127.0.0.1:2212->127.0.0.1:7890: wsarecv: An existing connection was forcibly closed by the remote host. | initialize rule-set[1]: initial rule-set: geosite-category-ads-all: Get "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-category-ads-all.srs": read tcp 127.0.0.1:2211->127.0.0.1:7890: wsarecv: An existing connection was forcibly closed by the remote host.

额外信息

No response

我确认已更新至最新版本

我确认已查询历史issues

2dust commented 2 months ago

此测试版本,使用 "address": "local" 解析域名,测试反馈下 你帮忙用下这个版本

T1anjiu commented 2 months ago

此测试版本,使用 "address": "local" 解析域名,测试反馈下 你帮忙用下这个版本

这个版本反而不行,xray singbox内核均无法测出延迟,无论是否开tun,全部真连接延迟-1ms,无法使用

T1anjiu commented 2 months ago

此测试版本,使用 "address": "local" 解析域名,测试反馈下 你帮忙用下这个版本

该版本singbox 非tun日志

2024/07/08 16:57:03 系统代理设置改变 - ForcedChange 配置成功 [Shadowsocks] 隧道|NF|香港 03(kqs-hk***download:53304) Microsoft Windows NT 10.0.19045.0 - 64 启动服务(2024/07/08 16:57:03)... 2024/07/08 16:57:04 系统代理设置改变 - ForcedChange 2024/07/08 16:57:07 当前服务的真连接延迟: -1 ms +0800 2024-07-08 16:57:21 ERROR [2738447442 3.13s] inbound/http[http]: process connection from 127.0.0.1:11394: download: read tcp 192.168.10.13:11396->183.233.187.223:53304: wsarecv: An existing connection was forcibly closed by the remote host. +0800 2024-07-08 16:57:21 ERROR [2880785406 3.14s] inbound/http[http]: process connection from 127.0.0.1:11392: download: read tcp 192.168.10.13:11397->183.233.187.223:53304: wsarecv: An existing connection was forcibly closed by the remote host. +0800 2024-07-08 16:57:21 ERROR [3648378910 3.14s] inbound/http[http]: process connection from 127.0.0.1:11393: download: read tcp 192.168.10.13:11398->183.233.187.223:53304: wsarecv: An existing connection was forcibly closed by the remote host. +0800 2024-07-08 16:57:21 ERROR [730732931 3.14s] inbound/http[http]: process connection from 127.0.0.1:11395: download: read tcp 192.168.10.13:11399->183.233.187.223:53304: wsarecv: An existing connection was forcibly closed by the remote host. +0800 2024-07-08 16:57:22 ERROR [3033025765 3.13s] inbound/http[http]: process connection from 127.0.0.1:11405: download: read tcp 192.168.10.13:11409->183.233.187.223:53304: wsarecv: An existing connection was forcibly closed by the remote host. +0800 2024-07-08 16:57:22 ERROR [1973386990 3.13s] inbound/http[http]: process connection from 127.0.0.1:11407: download: read tcp 192.168.10.13:11411->183.233.187.223:53304: wsarecv: An existing connection was forcibly closed by the remote host. +0800 2024-07-08 16:57:22 ERROR [2500180035 3.13s] inbound/http[http]: process connection from 127.0.0.1:11408: download: read tcp 192.168.10.13:11412->183.233.187.223:53304: wsarecv: An existing connection was forcibly closed by the remote host. +0800 2024-07-08 16:57:22 ERROR [2247846967 3.14s] inbound/http[http]: process connection from 127.0.0.1:11406: download: read tcp 192.168.10.13:11410->183.233.187.223:53304: wsarecv: An existing connection was forcibly closed by the remote host. +0800 2024-07-08 16:57:23 ERROR [2462284415 3.13s] inbound/http[http]: process connection from 127.0.0.1:11419: download: read tcp 192.168.10.13:11421->183.233.187.223:53304: wsarecv: An existing connection was forcibly closed by the remote host. +0800 2024-07-08 16:57:23 ERROR [1100872942 3.13s] inbound/http[http]: process connection from 127.0.0.1:11418: download: read tcp 192.168.10.13:11420->183.233.187.223:53304: wsarecv: An existing connection was forcibly closed by the remote host.

该版本xray非tun日志

配置成功 [Shadowsocks] 隧道|NF|香港 03(kqs-hk***download:53304) Microsoft Windows NT 10.0.19045.0 - 64 启动服务(2024/07/08 16:58:30)... Xray 1.8.16 (Xray, Penetrates Everything.) 9432a60 (go1.22.4 windows/amd64) A unified platform for anti-censorship. 2024/07/08 16:58:30 Using default config: C:\Users\Ray Tianjiu\Downloads\v2rayN_x64_net8_test\v2rayN\guiConfigs\config.json 2024/07/08 16:58:30 [Info] infra/conf/serial: Reading config: C:\Users\Ray Tianjiu\Downloads\v2rayN_x64_net8_test\v2rayN\guiConfigs\config.json 2024/07/08 16:58:31 [Warning] core: Xray 1.8.16 started 2024/07/08 16:58:31 127.0.0.1:11796 accepted //play.google.com:443 [http -> proxy] 2024/07/08 16:58:31 系统代理设置改变 - ForcedChange 2024/07/08 16:58:31 127.0.0.1:11803 accepted //www.google.com:443 [http -> proxy] 2024/07/08 16:58:34 127.0.0.1:11807 accepted //www.youtube.com:443 [http -> proxy] 2024/07/08 16:58:34 当前服务的真连接延迟: -1 ms 2024/07/08 16:58:38 127.0.0.1:11822 accepted //91.108.56.153:443 [http -> proxy] 2024/07/08 16:58:38 127.0.0.1:11823 accepted http://91.108.56.153:80/api [http -> proxy] 2024/07/08 16:58:41 [Warning] [4024998554] proxy/http: failed to read response from 91.108.56.153:80 > io: read/write on closed pipe 2024/07/08 16:58:42 127.0.0.1:11857 accepted http://test.steampowered.com/204 [http -> proxy] 2024/07/08 16:58:45 [Warning] [1560286596] proxy/http: failed to read response from test.steampowered.com > io: read/write on closed pipe 2024/07/08 16:58:46 127.0.0.1:11906 accepted http://149.154.175.52:80/api [http -> proxy] 2024/07/08 16:58:46 127.0.0.1:11907 accepted http://149.154.175.55:80/api [http -> proxy] 2024/07/08 16:58:46 127.0.0.1:11905 accepted //149.154.175.55:443 [http -> proxy] 2024/07/08 16:58:46 127.0.0.1:11904 accepted //149.154.175.52:443 [http -> proxy] 2024/07/08 16:58:47 127.0.0.1:11918 accepted http://149.154.175.52:80/api [http -> proxy] 2024/07/08 16:58:47 127.0.0.1:11919 accepted http://149.154.175.55:80/api [http -> proxy] 2024/07/08 16:58:47 127.0.0.1:11916 accepted //149.154.175.52:443 [http -> proxy] 2024/07/08 16:58:47 127.0.0.1:11917 accepted //149.154.175.55:443 [http -> proxy] 2024/07/08 16:58:49 127.0.0.1:11931 accepted http://149.154.175.52:80/api [http -> proxy] 2024/07/08 16:58:49 127.0.0.1:11932 accepted http://149.154.175.55:80/api [http -> proxy] 2024/07/08 16:58:49 127.0.0.1:11930 accepted //149.154.175.55:443 [http -> proxy] 2024/07/08 16:58:49 127.0.0.1:11929 accepted //149.154.175.52:443 [http -> proxy] 2024/07/08 16:58:49 [Warning] [2252819572] proxy/http: failed to read response from 149.154.175.52:80 > io: read/write on closed pipe 2024/07/08 16:58:49 [Warning] [2252819572] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > write tcp 127.0.0.1:10809->127.0.0.1:11906: wsasend: An established connection was aborted by the software in your host machine. 2024/07/08 16:58:49 [Warning] [3469815837] proxy/http: failed to read response from 149.154.175.55:80 > io: read/write on closed pipe 2024/07/08 16:58:49 [Warning] [3469815837] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > write tcp 127.0.0.1:10809->127.0.0.1:11907: wsasend: An established connection was aborted by the software in your host machine. 2024/07/08 16:58:49 127.0.0.1:11942 accepted //play.google.com:443 [http -> proxy] 2024/07/08 16:58:50 [Warning] [3846640811] proxy/http: failed to read response from 149.154.175.55:80 > io: read/write on closed pipe 2024/07/08 16:58:50 [Warning] [472487337] proxy/http: failed to read response from 149.154.175.52:80 > io: read/write on closed pipe 2024/07/08 16:58:50 [Warning] [472487337] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > write tcp 127.0.0.1:10809->127.0.0.1:11918: wsasend: An established connection was aborted by the software in your host machine. 2024/07/08 16:58:50 [Warning] [3846640811] app/proxyman/inbound: connection ends > proxy/http: connection ends > proxy/http: failed to write response > write tcp 127.0.0.1:10809->127.0.0.1:11919: wsasend: An established connection was aborted by the software in your host machine. 2024/07/08 16:58:52 [Warning] [489965559] proxy/http: failed to read response from 149.154.175.52:80 > io: read/write on closed pipe 2024/07/08 16:58:52 [Warning] [2231341949] proxy/http: failed to read response from 149.154.175.55:80 > io: read/write on closed pipe 2024/07/08 16:58:53 127.0.0.1:11954 accepted http://149.154.175.52:80/api [http -> proxy] 2024/07/08 16:58:53 127.0.0.1:11955 accepted http://149.154.175.55:80/api [http -> proxy] 2024/07/08 16:58:53 127.0.0.1:11952 accepted //149.154.175.52:443 [http -> proxy] 2024/07/08 16:58:53 127.0.0.1:11953 accepted //149.154.175.55:443 [http -> proxy]

该版本xray tun日志

配置成功 [Shadowsocks] 隧道|NF|香港 03(183***219:53304) 2024/07/08 17:00:33 当前服务的真连接延迟: -1 ms Microsoft Windows NT 10.0.19045.0 - 64 启动服务(2024/07/08 17:00:34)... Xray 1.8.16 (Xray, Penetrates Everything.) 9432a60 (go1.22.4 windows/amd64) A unified platform for anti-censorship. 2024/07/08 17:00:34 Using default config: C:\Users\Ray Tianjiu\Downloads\v2rayN_x64_net8_test\v2rayN\guiConfigs\config.json 2024/07/08 17:00:34 [Info] infra/conf/serial: Reading config: C:\Users\Ray Tianjiu\Downloads\v2rayN_x64_net8_test\v2rayN\guiConfigs\config.json 2024/07/08 17:00:34 [Warning] core: Xray 1.8.16 started 2024/07/08 17:00:35 127.0.0.1:2189 accepted http://test.steampowered.com/204 [http -> proxy] 2024/07/08 17:00:36 udp:127.0.0.1:51351 accepted udp:185.107.83.8:12883 [socks -> proxy] 2024/07/08 17:00:36 tcp:127.0.0.1:2216 accepted tcp:8.8.8.8:53 [socks -> proxy] 2024/07/08 17:00:36 系统代理设置改变 - ForcedChange 2024/07/08 17:00:36 127.0.0.1:2223 accepted //www.google.com:443 [http -> proxy] 2024/07/08 17:00:36 udp:127.0.0.1:52424 accepted udp:39.45.56.238:19629 [socks -> proxy] 2024/07/08 17:00:36 udp:127.0.0.1:52425 accepted udp:93.168.18.153:6881 [socks -> proxy] 2024/07/08 17:00:36 udp:127.0.0.1:52426 accepted udp:136.158.37.108:6882 [socks -> proxy] 2024/07/08 17:00:36 udp:127.0.0.1:52427 accepted udp:27.131.1.4:6881 [socks -> proxy] 2024/07/08 17:00:36 udp:127.0.0.1:52436 accepted udp:197.184.180.101:6881 [socks -> proxy] 2024/07/08 17:00:36 udp:127.0.0.1:52437 accepted udp:136.158.88.24:6881 [socks -> proxy] 2024/07/08 17:00:36 udp:127.0.0.1:52442 accepted udp:86.33.64.74:6881 [socks -> proxy] 2024/07/08 17:00:36 udp:127.0.0.1:52445 accepted udp:154.80.22.66:36098 [socks -> proxy] 2024/07/08 17:00:36 udp:127.0.0.1:52446 accepted udp:86.46.76.7:51413 [socks -> proxy] 2024/07/08 17:00:36 udp:127.0.0.1:52451 accepted udp:124.106.178.160:26086 [socks -> proxy] 2024/07/08 17:00:36 udp:127.0.0.1:52454 accepted udp:66.63.167.119:51413 [socks -> proxy] 2024/07/08 17:00:36 udp:127.0.0.1:52456 accepted udp:193.203.13.212:58140 [socks -> proxy] 2024/07/08 17:00:38 tcp:127.0.0.1:2244 accepted tcp:8.8.4.4:443 [socks -> proxy] 2024/07/08 17:00:38 tcp:127.0.0.1:2247 accepted tcp:91.108.56.153:80 [socks -> proxy] 2024/07/08 17:00:38 [Warning] [1158501942] proxy/http: failed to read response from test.steampowered.com > io: read/write on closed pipe 2024/07/08 17:00:38 127.0.0.1:2249 accepted http://test.steampowered.com/204 [http -> proxy] 2024/07/08 17:00:38 tcp:127.0.0.1:2252 accepted tcp:91.108.56.153:443 [socks -> proxy] 2024/07/08 17:00:38 udp:127.0.0.1:53025 accepted udp:101.98.183.35:51417 [socks -> proxy] 2024/07/08 17:00:38 udp:127.0.0.1:53027 accepted udp:180.191.245.92:21795 [socks -> proxy] 2024/07/08 17:00:38 udp:127.0.0.1:53031 accepted udp:89.212.228.44:6881 [socks -> proxy] 2024/07/08 17:00:38 udp:127.0.0.1:53033 accepted udp:49.47.141.179:6881 [socks -> proxy] 2024/07/08 17:00:38 udp:127.0.0.1:53038 accepted udp:149.88.22.67:42489 [socks -> proxy] 2024/07/08 17:00:38 udp:127.0.0.1:53037 accepted udp:175.139.63.191:6881 [socks -> proxy] 2024/07/08 17:00:39 udp:127.0.0.1:53041 accepted udp:197.156.115.89:52976 [socks -> proxy] 2024/07/08 17:00:39 udp:127.0.0.1:53042 accepted udp:77.238.201.189:6881 [socks -> proxy] 2024/07/08 17:00:39 udp:127.0.0.1:53049 accepted udp:122.161.77.145:41243 [socks -> proxy] 2024/07/08 17:00:39 udp:127.0.0.1:53050 accepted udp:124.217.48.170:44018 [socks -> proxy] 2024/07/08 17:00:39 udp:127.0.0.1:53053 accepted udp:178.174.193.134:5710 [socks -> proxy] 2024/07/08 17:00:39 udp:127.0.0.1:53054 accepted udp:168.182.252.253:6881 [socks -> proxy] 2024/07/08 17:00:39 udp:127.0.0.1:53060 accepted udp:120.29.76.49:6881 [socks -> proxy] 2024/07/08 17:00:39 udp:127.0.0.1:53063 accepted udp:136.158.61.236:6881 [socks -> proxy] 2024/07/08 17:00:39 udp:127.0.0.1:53067 accepted udp:41.182.128.3:6881 [socks -> proxy] 2024/07/08 17:00:39 udp:127.0.0.1:53068 accepted udp:103.196.176.34:6881 [socks -> proxy] 2024/07/08 17:00:39 udp:127.0.0.1:53070 accepted udp:157.20.142.130:54118 [socks -> proxy] 2024/07/08 17:00:39 udp:127.0.0.1:53073 accepted udp:149.200.84.212:48157 [socks -> proxy] 2024/07/08 17:00:39 udp:127.0.0.1:53074 accepted udp:188.124.132.50:6881 [socks -> proxy] 2024/07/08 17:00:39 udp:127.0.0.1:53081 accepted udp:157.119.111.242:6881 [socks -> proxy] 2024/07/08 17:00:39 udp:127.0.0.1:53083 accepted udp:192.228.254.160:30626 [socks -> proxy] 2024/07/08 17:00:39 udp:127.0.0.1:53086 accepted udp:94.140.8.35:62824 [socks -> proxy] 2024/07/08 17:00:39 tcp:127.0.0.1:2284 accepted tcp:91.108.56.153:80 [socks -> proxy] 2024/07/08 17:00:39 tcp:127.0.0.1:2290 accepted tcp:91.108.56.153:443 [socks -> proxy] +0800 2024-07-08 17:00:39 ERROR [1267107050 3.37s] inbound/tun[tun-in]: download: raw-read tcp 192.168.10.13:2224->183.233.187.219:53304: An existing connection was forcibly closed by the remote host. +0800 2024-07-08 17:00:39 ERROR dns: exchange failed for detectportal.firefox.com. IN A: context canceled +0800 2024-07-08 17:00:39 ERROR dns: exchange failed for push.services.mozilla.com. IN A: context canceled +0800 2024-07-08 17:00:39 ERROR dns: exchange failed for detectportal.firefox.com. IN A: context canceled +0800 2024-07-08 17:00:39 ERROR dns: exchange failed for www.youtube.com. IN A: context canceled +0800 2024-07-08 17:00:39 ERROR dns: exchange failed for www.youtube.com. IN A: context canceled +0800 2024-07-08 17:00:39 ERROR dns: exchange failed for mozilla.cloudflare-dns.com. IN A: context canceled +0800 2024-07-08 17:00:39 ERROR dns: exchange failed for push.services.mozilla.com. IN A: context canceled +0800 2024-07-08 17:00:39 ERROR dns: exchange failed for detectportal.firefox.com. IN A: context canceled +0800 2024-07-08 17:00:39 ERROR dns: exchange failed for firebaseremoteconfig.googleapis.com. IN A: context canceled +0800 2024-07-08 17:00:39 ERROR dns: exchange failed for www.youtube.com. IN A: context canceled 2024/07/08 17:00:39 tcp:127.0.0.1:2300 accepted tcp:8.8.8.8:53 [socks -> proxy] +0800 2024-07-08 17:00:39 ERROR [1667536854 3.37s] inbound/tun[tun-in]: download: raw-read tcp 192.168.10.13:2227->183.233.187.219:53304: An existing connection was forcibly closed by the remote host. 2024/07/08 17:00:40 udp:127.0.0.1:52523 accepted udp:5.8.44.90:15699 [socks -> proxy] 2024/07/08 17:00:40 tcp:127.0.0.1:2305 accepted tcp:128.242.240.85:443 [socks -> proxy] 2024/07/08 17:00:40 当前服务的真连接延迟: -1 ms 2024/07/08 17:00:40 udp:127.0.0.1:63184 accepted udp:199.87.208.193:34599 [socks -> proxy] 2024/07/08 17:00:40 udp:127.0.0.1:63185 accepted udp:136.158.34.57:6881 [socks -> proxy] 2024/07/08 17:00:40 udp:127.0.0.1:63188 accepted udp:161.29.77.147:51261 [socks -> proxy] 2024/07/08 17:00:40 udp:127.0.0.1:63193 accepted udp:103.62.152.143:25156 [socks -> proxy] 2024/07/08 17:00:40 udp:127.0.0.1:63196 accepted udp:84.255.185.152:6881 [socks -> proxy] 2024/07/08 17:00:40 udp:127.0.0.1:63197 accepted udp:124.105.25.148:6883 [socks -> proxy] 2024/07/08 17:00:40 udp:127.0.0.1:63203 accepted udp:92.180.9.199:6881 [socks -> proxy] 2024/07/08 17:00:40 udp:127.0.0.1:63204 accepted udp:119.92.137.22:6881 [socks -> proxy] 2024/07/08 17:00:40 udp:127.0.0.1:63202 accepted udp:14.10.10.65:6881 [socks -> proxy] 2024/07/08 17:00:40 udp:127.0.0.1:63211 accepted udp:68.226.12.113:6881 [socks -> proxy] 2024/07/08 17:00:40 udp:127.0.0.1:63212 accepted udp:41.58.233.250:53120 [socks -> proxy] 2024/07/08 17:00:40 udp:127.0.0.1:63217 accepted udp:41.213.161.53:6881 [socks -> proxy] 2024/07/08 17:00:41 tcp:127.0.0.1:2322 accepted tcp:91.108.56.153:80 [socks -> proxy] 2024/07/08 17:00:41 tcp:127.0.0.1:2330 accepted tcp:69.171.224.40:443 [socks -> proxy] 2024/07/08 17:00:41 tcp:127.0.0.1:2332 accepted tcp:91.108.56.153:443 [socks -> proxy] +0800 2024-07-08 17:00:41 ERROR [2156225154 3.37s] inbound/tun[tun-in]: download: raw-read tcp 192.168.10.13:2253->183.233.187.219:53304: An existing connection was forcibly closed by the remote host. +0800 2024-07-08 17:00:41 ERROR [3467590753 3.39s] inbound/tun[tun-in]: download: raw-read tcp 192.168.10.13:2251->183.233.187.219:53304: An existing connection was forcibly closed by the remote host. 2024/07/08 17:00:41 udp:127.0.0.1:62714 accepted udp:195.170.172.78:6881 [socks -> proxy] 2024/07/08 17:00:41 udp:127.0.0.1:62717 accepted udp:93.23.12.218:12456 [socks -> proxy] +0800 2024-07-08 17:00:41 ERROR [3953642720 3.38s] inbound/tun[tun-in]: download: raw-read tcp 192.168.10.13:2256->183.233.187.219:53304: An existing connection was forcibly closed by the remote host. 2024/07/08 17:00:41 [Warning] [67982567] proxy/http: failed to read response from test.steampowered.com > unexpected EOF +0800 2024-07-08 17:00:41 ERROR [3844204900 3.38s] inbound/tun[tun-in]: download: raw-read tcp 192.168.10.13:2257->183.233.187.219:53304: An existing connection was forcibly closed by the remote host. +0800 2024-07-08 17:00:42 ERROR [2391172602 410ms] inbound/tun[tun-in]: download: raw-read tcp 192.168.10.13:2350->42.248.192.3:1302: An existing connection was forcibly closed by the remote host. 2024/07/08 17:00:42 tcp:127.0.0.1:2353 accepted tcp:142.251.43.10:443 [socks -> proxy] +0800 2024-07-08 17:00:42 ERROR [2855501918 3.37s] inbound/tun[tun-in]: download: raw-read tcp 192.168.10.13:2292->183.233.187.219:53304: An existing connection was forcibly closed by the remote host. +0800 2024-07-08 17:00:42 ERROR [3325096116 3.38s] inbound/tun[tun-in]: download: raw-read tcp 192.168.10.13:2298->183.233.187.219:53304: An existing connection was forcibly closed by the remote host. +0800 2024-07-08 17:00:43 ERROR [2196525466 3.38s] inbound/tun[tun-in]: download: raw-read tcp 192.168.10.13:2303->183.233.187.219:53304: An existing connection was forcibly closed by the remote host. +0800 2024-07-08 17:00:43 ERROR dns: exchange failed for firebaseremoteconfig.googleapis.com. IN A: context canceled +0800 2024-07-08 17:00:43 ERROR dns: exchange failed for firebaseremoteconfig.googleapis.com. IN A: context canceled +0800 2024-07-08 17:00:43 ERROR dns: exchange failed for api.steampowered.com. IN A: context canceled +0800 2024-07-08 17:00:43 ERROR dns: exchange failed for firebaseremoteconfig.googleapis.com. IN A: context canceled +0800 2024-07-08 17:00:43 ERROR dns: exchange failed for mozilla.cloudflare-dns.com. IN A: context canceled +0800 2024-07-08 17:00:43 ERROR dns: exchange failed for mozilla.cloudflare-dns.com. IN A: context canceled +0800 2024-07-08 17:00:43 ERROR dns: exchange failed for www.youtube.com. IN A: context canceled +0800 2024-07-08 17:00:43 ERROR dns: exchange failed for api.steampowered.com. IN A: context canceled +0800 2024-07-08 17:00:43 ERROR dns: exchange failed for mozilla.cloudflare-dns.com. IN A: context canceled +0800 2024-07-08 17:00:43 ERROR dns: exchange failed for detectportal.firefox.com. IN A: context canceled +0800 2024-07-08 17:00:43 ERROR dns: exchange failed for push.services.mozilla.com. IN A: context canceled +0800 2024-07-08 17:00:43 ERROR dns: exchange failed for push.services.mozilla.com. IN A: context canceled 2024/07/08 17:00:43 tcp:127.0.0.1:2367 accepted tcp:8.7.198.46:443 [socks -> proxy] +0800 2024-07-08 17:00:43 ERROR [1592851433 3.38s] inbound/tun[tun-in]: download: raw-read tcp 192.168.10.13:2307->183.233.187.219:53304: An existing connection was forcibly closed by the remote host. 2024/07/08 17:00:43 tcp:127.0.0.1:2369 accepted tcp:102.216.154.101:56585 [socks -> proxy]

该版本singbox tun日志

配置成功 [Shadowsocks] 隧道|NF|香港 03(183***219:53304) Microsoft Windows NT 10.0.19045.0 - 64 启动服务(2024/07/08 17:01:40)... 2024/07/08 17:01:41 系统代理设置改变 - ForcedChange 2024/07/08 17:01:41 当前服务的真连接延迟: -1 ms +0800 2024-07-08 17:01:46 ERROR [3510417877 3.8s] inbound/tun[tun-in]: download: read tcp 192.168.10.13:4340->183.233.187.219:53304: wsarecv: An existing connection was forcibly closed by the remote host. +0800 2024-07-08 17:01:46 ERROR [2494704092 3.10s] inbound/tun[tun-in]: download: read tcp 192.168.10.13:4343->183.233.187.219:53304: wsarecv: An existing connection was forcibly closed by the remote host. +0800 2024-07-08 17:01:46 ERROR [859736092 3.7s] inbound/tun[tun-in]: download: read tcp 192.168.10.13:4346->183.233.187.219:53304: wsarecv: An existing connection was forcibly closed by the remote host. +0800 2024-07-08 17:01:46 ERROR dns: exchange failed for detectportal.firefox.com. IN A: context canceled +0800 2024-07-08 17:01:46 ERROR dns: exchange failed for w.deepl.com. IN A: context canceled +0800 2024-07-08 17:01:46 ERROR dns: exchange failed for w.deepl.com. IN A: context canceled +0800 2024-07-08 17:01:46 ERROR dns: exchange failed for detectportal.firefox.com. IN A: context canceled +0800 2024-07-08 17:01:46 ERROR dns: exchange failed for www.netflix.com. IN A: context canceled +0800 2024-07-08 17:01:46 ERROR dns: exchange failed for www.google.com. IN A: context canceled +0800 2024-07-08 17:01:46 ERROR dns: exchange failed for detectportal.firefox.com. IN A: context canceled +0800 2024-07-08 17:01:46 ERROR dns: exchange failed for www.google.com. IN A: context canceled +0800 2024-07-08 17:01:46 ERROR dns: exchange failed for www.google.com. IN A: context canceled +0800 2024-07-08 17:01:46 ERROR [490700328 3.37s] inbound/tun[tun-in]: download: read tcp 192.168.10.13:4349->183.233.187.219:53304: wsarecv: An existing connection was forcibly closed by the remote host. +0800 2024-07-08 17:01:47 ERROR [2437656464 3.37s] inbound/tun[tun-in]: download: read tcp 192.168.10.13:4361->183.233.187.219:53304: wsarecv: An existing connection was forcibly closed by the remote host. +0800 2024-07-08 17:01:47 ERROR [4047240416 3.37s] inbound/tun[tun-in]: download: read tcp 192.168.10.13:4358->183.233.187.219:53304: wsarecv: An existing connection was forcibly closed by the remote host. +0800 2024-07-08 17:01:47 ERROR [3010750627 3.38s] inbound/tun[tun-in]: download: read tcp 192.168.10.13:4357->183.233.187.219:53304: wsarecv: An existing connection was forcibly closed by the remote host. +0800 2024-07-08 17:01:47 ERROR [3546183952 3.38s] inbound/tun[tun-in]: download: read tcp 192.168.10.13:4360->183.233.187.219:53304: wsarecv: An existing connection was forcibly closed by the remote host. +0800 2024-07-08 17:01:47 ERROR [1320296519 3.38s] inbound/tun[tun-in]: download: read tcp 192.168.10.13:4356->183.233.187.219:53304: wsarecv: An existing connection was forcibly closed by the remote host. +0800 2024-07-08 17:01:47 ERROR [2916113696 3.8s] inbound/tun[tun-in]: download: read tcp 192.168.10.13:4363->183.233.187.219:53304: wsarecv: An existing connection was forcibly closed by the remote host. +0800 2024-07-08 17:01:48 ERROR [2613164362 3.38s] inbound/tun[tun-in]: download: read tcp 192.168.10.13:4372->183.233.187.219:53304: wsarecv: An existing connection was forcibly closed by the remote host. +0800 2024-07-08 17:01:48 ERROR [1370913 4.51s] inbound/tun[tun-in]: dial tcp 183.14.30.246:58018: connectex: No connection could be made because the target machine actively refused it. +0800 2024-07-08 17:01:48 ERROR [3064257600 3.7s] inbound/tun[tun-in]: download: read tcp 192.168.10.13:4375->183.233.187.219:53304: wsarecv: An existing connection was forcibly closed by the remote host. +0800 2024-07-08 17:01:48 ERROR [1006866596 3.37s] inbound/tun[tun-in]: download: read tcp 192.168.10.13:4389->183.233.187.219:53304: wsarecv: An existing connection was forcibly closed by the remote host.

2dust commented 2 months ago

v2rayN_x64_net8_test.zip

此版本把解析域名和是否开启ipv6参数关联上;你测试时关闭tun设置中的ipv6;只用测试tun相关的

T1anjiu commented 2 months ago

关ipv6 singbox tun

配置成功 [Shadowsocks] 隧道|NF|香港 02(kqs-hk***download:45001) Microsoft Windows NT 10.0.19045.0 - 64 启动服务(2024/07/08 17:14:26)... 2024/07/08 17:14:27 系统代理设置改变 - ForcedClear +0800 2024-07-08 17:14:30 ERROR [252939600 435ms] inbound/tun[tun-in]: download: raw-read tcp 192.168.10.13:7561->123.187.27.246:30680: An existing connection was forcibly closed by the remote host. +0800 2024-07-08 17:14:36 ERROR [4139511412 503ms] inbound/tun[tun-in]: download: raw-read tcp 192.168.10.13:7602->59.47.225.207:37784: An existing connection was forcibly closed by the remote host. +0800 2024-07-08 17:14:37 ERROR dns: exchange failed for www.msftconnecttest.com. IN A: context deadline exceeded +0800 2024-07-08 17:14:37 ERROR dns: exchange failed for example.org. IN A: context canceled +0800 2024-07-08 17:14:37 ERROR dns: exchange failed for example.org. IN A: context canceled +0800 2024-07-08 17:14:37 ERROR dns: exchange failed for example.org. IN A: context canceled +0800 2024-07-08 17:14:37 ERROR dns: exchange failed for www.msftconnecttest.com. IN A: context canceled +0800 2024-07-08 17:14:37 ERROR dns: exchange failed for www.msftconnecttest.com. IN A: context canceled +0800 2024-07-08 17:14:37 ERROR dns: exchange failed for ipv4only.arpa. IN A: context canceled +0800 2024-07-08 17:14:37 ERROR dns: exchange failed for ipv4only.arpa. IN A: context canceled +0800 2024-07-08 17:14:37 ERROR dns: exchange failed for ipv4only.arpa. IN A: context canceled +0800 2024-07-08 17:14:37 ERROR dns: exchange failed for example.org. IN A: context canceled +0800 2024-07-08 17:14:37 ERROR dns: exchange failed for www.msftconnecttest.com. IN A: context canceled +0800 2024-07-08 17:14:37 ERROR dns: exchange failed for www.msftconnecttest.com. IN A: context canceled +0800 2024-07-08 17:14:37 ERROR dns: exchange failed for ipv4only.arpa. IN A: context canceled +0800 2024-07-08 17:14:37 ERROR dns: exchange failed for example.org. IN A: context canceled +0800 2024-07-08 17:14:37 ERROR dns: exchange failed for ipv4only.arpa. IN A: context canceled

开v6 tun

配置成功 [Shadowsocks] 隧道|NF|香港 02(kqs-hk***download:45001) Microsoft Windows NT 10.0.19045.0 - 64 启动服务(2024/07/08 17:16:04)... 2024/07/08 17:16:05 系统代理设置改变 - ForcedChange +0800 2024-07-08 17:16:11 ERROR [2754356124 458ms] inbound/tun[tun-in]: download: raw-read tcp 192.168.10.13:12339->123.139.63.187:32313: An existing connection was forcibly closed by the remote host. +0800 2024-07-08 17:16:17 ERROR dns: exchange failed for dns.msftncsi.com. IN A: context deadline exceeded +0800 2024-07-08 17:16:17 ERROR dns: exchange failed for ipv6.msftconnecttest.com. IN A: context canceled +0800 2024-07-08 17:16:17 ERROR dns: exchange failed for ipv4only.arpa. IN A: context canceled +0800 2024-07-08 17:16:17 ERROR dns: exchange failed for dns.msftncsi.com. IN A: context canceled +0800 2024-07-08 17:16:17 ERROR dns: exchange failed for example.org. IN A: context canceled +0800 2024-07-08 17:16:17 ERROR dns: exchange failed for oth.eve.mdt.qq.com. IN A: context canceled +0800 2024-07-08 17:16:17 ERROR dns: exchange failed for ipv4only.arpa. IN A: context canceled +0800 2024-07-08 17:16:17 ERROR dns: exchange failed for www.msftconnecttest.com. IN A: context canceled +0800 2024-07-08 17:16:17 ERROR dns: exchange failed for ipv4only.arpa. IN A: context canceled +0800 2024-07-08 17:16:17 ERROR dns: exchange failed for oth.eve.mdt.qq.com. IN A: context canceled +0800 2024-07-08 17:16:17 ERROR [2623598124 5.93s] dns: exchange failed for dns.msftncsi.com. IN A: context canceled +0800 2024-07-08 17:16:17 ERROR dns: exchange failed for dns.msftncsi.com. IN A: context canceled +0800 2024-07-08 17:16:17 ERROR dns: exchange failed for www.msftconnecttest.com. IN A: context canceled +0800 2024-07-08 17:16:17 ERROR dns: exchange failed for dns.msftncsi.com. IN A: context canceled +0800 2024-07-08 17:16:17 ERROR dns: exchange failed for ipv6.msftconnecttest.com. IN A: context canceled +0800 2024-07-08 17:16:17 ERROR dns: exchange failed for ipv4only.arpa. IN A: context canceled +0800 2024-07-08 17:16:17 ERROR dns: exchange failed for dns.msftncsi.com. IN A: context canceled +0800 2024-07-08 17:16:17 ERROR dns: exchange failed for ipv6.msftconnecttest.com. IN A: context canceled +0800 2024-07-08 17:16:17 ERROR dns: exchange failed for example.org. IN A: context canceled +0800 2024-07-08 17:16:17 ERROR dns: exchange failed for dns.msftncsi.com. IN A: context canceled +0800 2024-07-08 17:16:17 ERROR dns: exchange failed for www.msftconnecttest.com. IN A: context canceled +0800 2024-07-08 17:16:17 ERROR dns: exchange failed for dns.msftncsi.com. IN A: context canceled +0800 2024-07-08 17:16:17 ERROR dns: exchange failed for ipv4only.arpa. IN A: context canceled +0800 2024-07-08 17:16:17 ERROR dns: exchange failed for example.org. IN A: context canceled +0800 2024-07-08 17:16:17 ERROR dns: exchange failed for www.msftconnecttest.com. IN A: context canceled +0800 2024-07-08 17:16:17 ERROR dns: exchange failed for ipv4only.arpa. IN A: context canceled +0800 2024-07-08 17:16:17 ERROR dns: exchange failed for ipv6.msftconnecttest.com. IN A: context canceled +0800 2024-07-08 17:16:17 ERROR dns: exchange failed for dns.msftncsi.com. IN A: context canceled +0800 2024-07-08 17:16:17 ERROR dns: exchange failed for example.org. IN A: context canceled +0800 2024-07-08 17:16:17 ERROR dns: exchange failed for example.org. IN A: context canceled +0800 2024-07-08 17:16:17 ERROR dns: exchange failed for ipv6.msftconnecttest.com. IN A: context canceled +0800 2024-07-08 17:16:17 ERROR dns: exchange failed for example.org. IN A: context canceled +0800 2024-07-08 17:16:17 ERROR dns: exchange failed for ipv4only.arpa. IN A: context canceled +0800 2024-07-08 17:16:17 ERROR dns: exchange failed for www.msftconnecttest.com. IN A: context canceled +0800 2024-07-08 17:16:17 ERROR dns: exchange failed for www.msftconnecttest.com. IN A: context canceled +0800 2024-07-08 17:16:17 ERROR dns: exchange failed for example.org. IN A: context canceled +0800 2024-07-08 17:16:17 ERROR dns: exchange failed for www.msftconnecttest.com. IN A: context canceled 2024/07/08 17:16:17 当前服务的真连接延迟: -1 ms

手动解析域名ip,开tun开v6,有报错,但是可以用

Microsoft Windows NT 10.0.19045.0 - 64 启动服务(2024/07/08 17:18:16)... 2024/07/08 17:18:17 系统代理设置改变 - ForcedChange 2024/07/08 17:18:19 当前服务的真连接延迟: 253 ms +0800 2024-07-08 17:18:24 ERROR [3042945617 419ms] inbound/tun[tun-in]: download: raw-read tcp 192.168.10.13:5751->42.248.192.4:1492: An existing connection was forcibly closed by the remote host. +0800 2024-07-08 17:18:28 ERROR [635888289 1.71s] inbound/tun[tun-in]: download: raw-read tcp 192.168.10.13:5787->221.11.96.71:29572: An existing connection was forcibly closed by the remote host. +0800 2024-07-08 17:18:29 ERROR dns: exchange failed for www.msftconnecttest.com. IN A: context deadline exceeded +0800 2024-07-08 17:18:29 ERROR dns: exchange failed for ipv4only.arpa. IN A: context canceled +0800 2024-07-08 17:18:29 ERROR dns: exchange failed for www.msftconnecttest.com. IN A: context canceled +0800 2024-07-08 17:18:29 ERROR dns: exchange failed for example.org. IN A: context canceled +0800 2024-07-08 17:18:29 ERROR dns: exchange failed for www.msftconnecttest.com. IN A: context canceled +0800 2024-07-08 17:18:29 ERROR dns: exchange failed for x.research.qq.com. IN A: context canceled +0800 2024-07-08 17:18:29 ERROR dns: exchange failed for www.msftconnecttest.com. IN A: context canceled +0800 2024-07-08 17:18:29 ERROR dns: exchange failed for www.msftconnecttest.com. IN A: context canceled +0800 2024-07-08 17:18:29 ERROR dns: exchange failed for www.msftconnecttest.com. IN A: context canceled +0800 2024-07-08 17:18:29 ERROR dns: exchange failed for x.research.qq.com. IN A: context canceled +0800 2024-07-08 17:18:29 ERROR dns: exchange failed for ipv4only.arpa. IN A: context canceled +0800 2024-07-08 17:18:29 ERROR dns: exchange failed for dns.msftncsi.com. IN A: context canceled +0800 2024-07-08 17:18:29 ERROR dns: exchange failed for drive-pc.quark.cn. IN A: context canceled +0800 2024-07-08 17:18:29 ERROR dns: exchange failed for x.research.qq.com. IN A: context canceled +0800 2024-07-08 17:18:29 ERROR dns: exchange failed for example.org. IN A: context canceled +0800 2024-07-08 17:18:29 ERROR dns: exchange failed for ipv6.msftconnecttest.com. IN A: context canceled +0800 2024-07-08 17:18:29 ERROR dns: exchange failed for x.research.qq.com. IN A: context canceled +0800 2024-07-08 17:18:29 ERROR dns: exchange failed for dns.msftncsi.com. IN A: context canceled +0800 2024-07-08 17:18:29 ERROR dns: exchange failed for www.msftconnecttest.com. IN A: context canceled +0800 2024-07-08 17:18:29 ERROR dns: exchange failed for x.research.qq.com. IN A: context canceled +0800 2024-07-08 17:18:29 ERROR dns: exchange failed for ipv4only.arpa. IN A: context canceled +0800 2024-07-08 17:18:29 ERROR dns: exchange failed for drive-pc.quark.cn. IN A: context canceled +0800 2024-07-08 17:18:29 ERROR dns: exchange failed for example.org. IN A: context canceled +0800 2024-07-08 17:18:29 ERROR dns: exchange failed for x.research.qq.com. IN A: context canceled +0800 2024-07-08 17:18:29 ERROR dns: exchange failed for dns.msftncsi.com. IN A: context canceled +0800 2024-07-08 17:18:29 ERROR dns: exchange failed for example.org. IN A: context canceled +0800 2024-07-08 17:18:29 ERROR dns: exchange failed for x.research.qq.com. IN A: context canceled +0800 2024-07-08 17:18:29 ERROR dns: exchange failed for example.org. IN A: context canceled +0800 2024-07-08 17:18:29 ERROR dns: exchange failed for example.org. IN A: context canceled +0800 2024-07-08 17:18:29 ERROR dns: exchange failed for ipv4only.arpa. IN A: context canceled +0800 2024-07-08 17:18:29 ERROR dns: exchange failed for ipv4only.arpa. IN A: context canceled +0800 2024-07-08 17:18:29 ERROR dns: exchange failed for ipv4only.arpa. IN A: context canceled +0800 2024-07-08 17:18:29 ERROR dns: exchange failed for dns.msftncsi.com. IN A: context canceled +0800 2024-07-08 17:18:29 ERROR dns: exchange failed for ipv4only.arpa. IN A: context canceled +0800 2024-07-08 17:18:29 ERROR dns: exchange failed for dns.msftncsi.com. IN A: context canceled +0800 2024-07-08 17:18:29 ERROR dns: exchange failed for ipv6.msftconnecttest.com. IN A: context canceled +0800 2024-07-08 17:18:29 ERROR dns: exchange failed for example.org. IN A: context canceled +0800 2024-07-08 17:18:29 ERROR dns: exchange failed for drive-pc.quark.cn. IN A: context canceled +0800 2024-07-08 17:18:29 ERROR dns: exchange failed for ipv6.msftconnecttest.com. IN A: context canceled

手动解析ip,关v6,开tun,也可以正常使用

2024/07/08 17:18:49 当前服务的真连接延迟: 275 ms +0800 2024-07-08 17:18:50 ERROR [2689910595 501ms] inbound/tun[tun-in]: download: raw-read tcp 192.168.10.13:7047->112.45.16.206:19703: An existing connection was forcibly closed by the remote host. +0800 2024-07-08 17:18:54 ERROR [3742954789 595ms] inbound/tun[tun-in]: download: raw-read tcp 192.168.10.13:7085->112.45.20.249:263: An existing connection was forcibly closed by the remote host. +0800 2024-07-08 17:18:56 ERROR dns: exchange failed for rr1---sn-ntqe6n7k.googlevideo.com. IN A: context canceled +0800 2024-07-08 17:18:57 ERROR [3709980425 419ms] inbound/tun[tun-in]: download: raw-read tcp 192.168.10.13:7111->42.248.192.5:27361: An existing connection was forcibly closed by the remote host. +0800 2024-07-08 17:18:59 ERROR dns: exchange failed for www.msftconnecttest.com. IN A: context deadline exceeded +0800 2024-07-08 17:18:59 ERROR dns: exchange failed for ipv4only.arpa. IN A: context canceled +0800 2024-07-08 17:18:59 ERROR dns: exchange failed for ipv6.msftconnecttest.com. IN A: context canceled +0800 2024-07-08 17:18:59 ERROR dns: exchange failed for example.org. IN A: context canceled +0800 2024-07-08 17:18:59 ERROR dns: exchange failed for example.org. IN A: context canceled +0800 2024-07-08 17:18:59 ERROR dns: exchange failed for x.research.qq.com. IN A: context canceled +0800 2024-07-08 17:18:59 ERROR dns: exchange failed for ipv4only.arpa. IN A: context canceled +0800 2024-07-08 17:18:59 ERROR dns: exchange failed for www.msftconnecttest.com. IN A: context canceled +0800 2024-07-08 17:18:59 ERROR dns: exchange failed for x.research.qq.com. IN A: context canceled +0800 2024-07-08 17:18:59 ERROR dns: exchange failed for ipv6.msftconnecttest.com. IN A: context canceled +0800 2024-07-08 17:18:59 ERROR dns: exchange failed for ipv4only.arpa. IN A: context canceled +0800 2024-07-08 17:18:59 ERROR dns: exchange failed for example.org. IN A: context canceled +0800 2024-07-08 17:18:59 ERROR dns: exchange failed for x.research.qq.com. IN A: context canceled +0800 2024-07-08 17:18:59 ERROR dns: exchange failed for x.research.qq.com. IN A: context canceled +0800 2024-07-08 17:18:59 ERROR dns: exchange failed for example.org. IN A: context canceled +0800 2024-07-08 17:18:59 ERROR dns: exchange failed for www.msftconnecttest.com. IN A: context canceled +0800 2024-07-08 17:18:59 ERROR dns: exchange failed for www.msftconnecttest.com. IN A: context canceled +0800 2024-07-08 17:18:59 ERROR dns: exchange failed for ipv4only.arpa. IN A: context canceled +0800 2024-07-08 17:18:59 ERROR dns: exchange failed for ipv6.msftconnecttest.com. IN A: context canceled +0800 2024-07-08 17:18:59 ERROR dns: exchange failed for www.msftconnecttest.com. IN A: context canceled +0800 2024-07-08 17:18:59 ERROR dns: exchange failed for example.org. IN A: context canceled +0800 2024-07-08 17:18:59 ERROR dns: exchange failed for ipv4only.arpa. IN A: context canceled

wtfr-dot commented 2 months ago

不能自动解析出ip说明dns解析过程有问题,请确认几个问题: 1、手动解析出ip是在本电脑还是其它电脑上进行的,是否同一个局域网,使用的什么方式解析 2、你电脑所处的局域网环境是普通路由器上网还是在路由器部署了安全软件或透明代理如ssrplus、passwall等 3、是否自己改过dns配置 4、检查configpre.json文件里是否正确生成了以下规则: "rules": [ { "server": "local_local", "domain": [ "你的VPS域名" ] }, 5、将路由配置里的解析策略截个图 6、提供log时要使用debug模式,保存在文件里脱敏后传整个文件上来

2dust commented 2 months ago

v2rayN_x64_net8_test.zip

感谢各位的测试和反馈,这个版本在sing-box dns设置界面加入了Outbound默认解析策略,让用户自己设置吧。https://github.com/2dust/v2rayN/commit/7545763dae857da1ab58f8978c479d3a470ce10f

wtfr-dot commented 2 months ago

v2rayN_x64_net8_test.zip

感谢各位的测试和反馈,这个版本在sing-box dns设置界面加入了Outbound默认解析策略,让用户自己设置吧。7545763

建议将“Outbound默认解析策略”设置改为dns全局解析策略,原因是现在的默认dns配置里单个server都指定了ipv4only,生成的节点dns解析策略却默认为双栈而且无法修改,本身有不太匹配的问题,我觉得把默认设置的这一项取消,增加全局strategy,控制所有的dns解析策略,并设置默认项为ipv4only,然后用户再根据自己的网络情况修改为其它选项,像下面这样(这个配置是我自己修改过的) image

2dust commented 2 months ago

outbound域名和访问域名解析策略还是不同的,所以分开好; dns自定义部分,用户可以自己随便改; outbound的解析策略现在也可以改了,这样就灵活了

wtfr-dot commented 1 month ago

我试了一下,这个“outbound的默认解析策略”实际影响的是节点域名解析策略,这倒是解决了我前面提的“生成的节点dns解析策略不能更改”的问题,这样确实dns的解析策略都能自定义了