Skip to content

v2.6.11

Choose a tag to compare

@threatexpert threatexpert released this 26 Oct 03:14
· 16 commits to main since this release

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 failed messages every 30 minutes during idle -W -k operation. Keep-open listeners now wait continuously; listeners without -k retain 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 -x2 fallback 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 -x remains unchanged.
  • Reduced the -x2 proxy setup timeout setting from 20 to 15 seconds. Added an initialization message showing the proxy address and timeout before connecting. The -x timeout remains 20 seconds.
  • Corrected SOCKS5 UDP ASSOCIATE requests to use 0.0.0.0:0 as the unspecified address, improving proxy compatibility.
  • Exported apps.ServeTunnelConn to 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.