Skip to content

v1.2.6

Compare
Choose a tag to compare
@yosebyte yosebyte released this 30 May 09:30
· 35 commits to main since this release
26315a6

更新日志

  • 新增:客户端单端转发模式,增加了无需服务器协同、支持 TCP/UDP 的本地端口监听与目标地址直连转发模式。该模式采用连接池优化 TCP 性能,实现低延迟高性能转发,适用于本地代理等场景。
  • 修复:修复了上个版本 keepAlive 设置导致某些情况下的 panic 错误。
  • 重构:重构 internal/common.go 的 Common 结构体,分离 TCP/UDP 隧道地址字段,并新增连接初始化和管理方法。优化 internal/client.go 的 Client 类,支持新模式的检测、初始化连接池及跳过服务器握手逻辑。
  • 文档:更新了英文和中文文档,补充了新转发模式的用法说明、模式原理及协议优化细节。
  • 依赖:将 github.com/NodePassProject/pool 依赖由 v1.0.4 升级到 v1.0.5,以支持连接池功能增强。

Changelog

  • 26315a6 Merge pull request #30 from NodePassProject/main
  • 565a4dc docs: enhance documentation for client single-end forwarding mode
  • fc8e959 chore: update pool dependency version to v1.0.5 in go.mod and go.sum
  • b067cb4 fix: rename tunnelAddr to tunnelTCPAddr for clarity in master.go
  • 963e9a6 feat: add standalone single-end forwarding support for client with tcp and udp available
  • 52e9263 fix: prevent deletion of API Key instance and update OpenAPI spec for forbidden response
  • 36e934c Merge pull request #29 from yosebyte/docs
  • e1b80a0 feat: enhance documentation for bidirectional data flow support