sing-box icon indicating copy to clipboard operation
sing-box copied to clipboard

链式代理ss节点开启mux后,通过urltest类型出站,过超时时间后不再进行urltest测试

Open sirfromprc opened this issue 1 year ago • 0 comments

操作系统

Linux

系统版本

openwrt

安装类型

其他

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

No response

版本

sing-box version 1.11.10

Environment: go1.24.2 linux/amd64
Tags: with_clash_api,with_ech,with_gvisor,with_quic,with_reality_server,with_utls,with_wireguard
CGO: enabled

描述

openwrt中采用链式代理,ss节点开启mux后,通过urltest类型出站,过超时时间后不再进行urltest测试。启动后在超时时间内会进行urltest测试。由于开启了mux,只有一个连接且不再增加连接,导致超时后认为不活跃从而不再测试。

重现方式

客户端配置:

	"outbounds": [
		{
			"type": "shadowsocks",
			"tag": "cfg-SS-out",
			"routing_mark": 100,
			"server": "1.2.3.4",
			"server_port": 1212,
			"password": "password",
			"method": "2022-blake3-aes-128-gcm",
			"multiplex": {
				"enabled": true,
				"protocol": "smux",
				"max_connections": 4,
				"min_streams": 4,
				"padding": true,
				"brutal": {
					"enabled": true,
					"up_mbps": 50,
					"down_mbps": 300
				}
			},
			"detour": "cfg-SG_node-out"
		},
		{
			"type": "urltest",
			"tag": "cfg-SG_node-out",
			"outbounds": [
				"cfg-1-out",
				"cfg-2-out",
				"cfg-3-out"
			],
			"interval": "631s",
			"tolerance": 100,
			"idle_timeout": "1800",
			"interrupt_exist_connections": false
		},
	]	

日志


支持我们

完整性要求

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

sirfromprc avatar May 06 '25 01:05 sirfromprc