Repository navigation
v2.6.11
Full Changelog: v2.6.10...v2.6.11
- 修复
-W -k长时间待机时每隔 30 分钟报告P2P failed的问题。启用 keep-open 后持续等待连接;不带-k时仍保留 30 分钟等待超时。自动启用 keep-open 的模式同样适用。 - MQTT 待机期间保持同一会话,自动重连并保留故障状态,避免重复输出同一故障告警;订阅恢复后记录恢复信息。
- 修复
-x2备用代理连接、认证或 UDP 转发准备失败时阻断 P2P 的问题。现在会提示原因并继续尝试直连;-x保持原有失败行为。 - 将
-x2代理准备的超时参数从 20 秒调整为 15 秒,并在连接前显示初始化提示、代理地址和超时参数。-x仍为 20 秒。 - 修正 SOCKS5 UDP ASSOCIATE 请求,使用
0.0.0.0:0作为未指定地址,提高代理兼容性。 - 导出
apps.ServeTunnelConn接口,支持在独立 TCP/TLS 连接或 mux stream 上处理单个 TCP/UDP 隧道代理会话。 - 更新 Win7 构建脚本中的兼容 Go 工具链下载链接至
1.26.8-1。
English
- Fixed recurring
P2P failedmessages every 30 minutes during idle-W -koperation. Keep-open listeners now wait continuously; listeners without-kretain the 30-minute timeout. Modes that enable keep-open automatically receive the same behavior. - Preserved the MQTT session and failure tracking throughout idle waiting, allowing automatic reconnection without repeated alerts for the same outage. Recovery is logged when subscriptions become available again.
- Fixed
-x2fallback relay connection, authentication, or UDP setup failures preventing P2P attempts. These failures now produce a warning and allow direct P2P to proceed. Required proxy behavior with-xremains unchanged. - Reduced the
-x2proxy setup timeout setting from 20 to 15 seconds. Added an initialization message showing the proxy address and timeout before connecting. The-xtimeout remains 20 seconds. - Corrected SOCKS5 UDP ASSOCIATE requests to use
0.0.0.0:0as the unspecified address, improving proxy compatibility. - Exported
apps.ServeTunnelConnto handle a single TCP/UDP tunnel proxy session over a dedicated TCP/TLS connection or mux stream. - Updated the Win7 build script’s compatible Go toolchain download link to
1.26.8-1.