-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Description
预期情况
结果应为-1或超时
实际情况
复现方法
我随手编了一个不存在的ss节点:
ss://YWVzLTI1Ni1jZmI6ZnRDbWlqRUpOUU05ZVpH@221.181.185.72:22023#test1
由于节点的加密方式是aes-256-cfb,只有sing-box内核支持,故在core类型中为ss指定了sing-box内核
导入节点后对它测试了真连接延迟和速度,居然都是有结果的,但因为是编造的参数,实际上节点当然是不可用的。
粗略测试发现切换真连接延迟测试网址只是让测出来的“真连接延迟”有区别,而“测速文件地址”换成cachefly的地址会导致测速超时。
随后我注意到即使我指定了sing-box内核,但从日志来看测速仍然是调用xray进行的。因此我猜测上述延迟和速度测试结果都是直连测试网站得来。于是我把真连接延迟测试网址改成了https://www.google.com/generate_204, 这次的测试结果就是-1ms。
猜测是测速调用内核的逻辑有点问题
日志信息
初始化配置
启动服务(2024/11/19 01:44:07)...
D:\Program Files\proxy\v2rayN-With-Core\guiConfigs\configSpeedtest.json
Xray 24.9.30 (Xray, Penetrates Everything.) 3b06af8 (go1.23.1 windows/amd64)
A unified platform for anti-censorship.
2024/11/19 01:44:07 [Info] infra/conf/serial: Reading config: &{Name:configSpeedtest.json Format:json}
2024/11/19 01:44:07 [Info] transport/internet/tcp: listening TCP on 127.0.0.1:10830
2024/11/19 01:44:07 [Warning] core: Xray 24.9.30 started
2024/11/19 01:44:08 [Info] [2130547868] proxy/http: request to Method [CONNECT] Host [www.apple.com:443] with URL [//www.apple.com:443]
2024/11/19 01:44:08 [Info] [2130547868] app/dispatcher: default route for tcp:www.apple.com:443
2024/11/19 01:44:08 from 127.0.0.1:63862 accepted //www.apple.com:443 [http10830 >> direct]
2024/11/19 01:44:08 [Info] [2130547868] transport/internet/tcp: dialing TCP to tcp:www.apple.com:443
2024/11/19 01:44:08 [Info] [2130547868] proxy/freedom: connection opened to tcp:www.apple.com:443, local endpoint 192.168.0.7:63864, remote endpoint 106.4.158.58:443
2024/11/19 01:44:08 [Info] [2130547868] proxy: CopyRawConn readv
2024/11/19 01:44:09 [Info] [2130547868] app/proxyman/inbound: connection ends > proxy/http: connection ends > context canceled
初始化配置
启动服务(2024/11/19 01:44:13)...
D:\Program Files\proxy\v2rayN-With-Core\guiConfigs\configSpeedtest.json
Xray 24.9.30 (Xray, Penetrates Everything.) 3b06af8 (go1.23.1 windows/amd64)
A unified platform for anti-censorship.
2024/11/19 01:44:13 [Info] infra/conf/serial: Reading config: &{Name:configSpeedtest.json Format:json}
2024/11/19 01:44:13 [Info] transport/internet/tcp: listening TCP on 127.0.0.1:10830
2024/11/19 01:44:13 [Warning] core: Xray 24.9.30 started
2024/11/19 01:44:14 [Info] [3507994262] proxy/http: request to Method [CONNECT] Host [speed.cloudflare.com:443] with URL [//speed.cloudflare.com:443]
2024/11/19 01:44:14 [Info] [3507994262] app/dispatcher: default route for tcp:speed.cloudflare.com:443
2024/11/19 01:44:14 from 127.0.0.1:63930 accepted //speed.cloudflare.com:443 [http10830 >> direct]
2024/11/19 01:44:14 [Info] [3507994262] transport/internet/tcp: dialing TCP to tcp:speed.cloudflare.com:443
2024/11/19 01:44:14 [Info] [3507994262] proxy/freedom: connection opened to tcp:speed.cloudflare.com:443, local endpoint 192.168.0.7:63931, remote endpoint 172.66.0.218:443
2024/11/19 01:44:14 [Info] [3507994262] proxy: CopyRawConn readv
2024/11/19 01:44:15 [Info] [3969836607] proxy/http: request to Method [CONNECT] Host [speed.cloudflare.com:443] with URL [//speed.cloudflare.com:443]
2024/11/19 01:44:15 [Info] [3969836607] app/dispatcher: default route for tcp:speed.cloudflare.com:443
2024/11/19 01:44:15 [Info] [3969836607] transport/internet/tcp: dialing TCP to tcp:speed.cloudflare.com:443
2024/11/19 01:44:15 from 127.0.0.1:63937 accepted //speed.cloudflare.com:443 [http10830 >> direct]
2024/11/19 01:44:15 [Info] [3969836607] proxy/freedom: connection opened to tcp:speed.cloudflare.com:443, local endpoint 192.168.0.7:63938, remote endpoint 172.66.0.218:443
2024/11/19 01:44:15 [Info] [3969836607] proxy: CopyRawConn readv
2024/11/19 01:44:16 [Info] [3507994262] app/proxyman/inbound: connection ends > proxy/http: connection ends > write tcp 127.0.0.1:10830->127.0.0.1:63930: wsasend: An established connection was aborted by the software in your host machine.
2024/11/19 01:44:24 测试完成
2024/11/19 01:44:25 [Info] [3969836607] app/proxyman/inbound: connection ends > proxy/http: connection ends > context canceled
额外信息
No response
我确认已更新至最新版本
- 是
我确认已查询历史issues
- 是