Releases: xjasonlyu/tun2socks
Releases · xjasonlyu/tun2socks
v2.6.0
What's Changed
License Update
- LICENSE: switch to MIT by @xjasonlyu in #462
New Features
- Feature: fdbased open fd with offset by @myloft in #272
- Feature: Add support for multicast by @Amaindex in #245
- Feature: persistent wintun with GUID option by @xjasonlyu in #301
- Feature: set open FD offset for iOS by @hossinasaadi in #418
- Feature: add make for loong64 by @xunmi-git in #427
- Feature(proxy): support gost relay protocol by @xjasonlyu in #310
- Feature(docker): add options for multicast groups by @xjasonlyu in #290
- Feature(socks5): support abstract namespace unix sock by @SuzukiHonoka in #436
Improvement & Fixes
- Improve(actions): add concurrency groups by @xjasonlyu in #289
- Improve: use embedded
go-shadowsocks2
by @xjasonlyu in #306 - Improve(proxy/ss): allow explicit none cipher mode by @xjasonlyu in #312
- Improve: optimize the memory footprint under SOCKS5 when USERNAME/PASSWORD authentication is used by @cty123 in #315
- Fix: defer func for
safeConnClose
by @xjasonlyu in #309 - Fix: call SetSendBufferSize when setting send buffer size option by @niconorsk in #336
- Fix: safely split command strings by @xjasonlyu in #340
- Fix: socks5 usernames and passwords can BOTH be up to 255 bytes by @Yawning in #343
- Fix: codeql autobuild error by @xjasonlyu in #355
- Fix: mutex never unlocked on error by @devil666face in #456
- Refactor: direct proxy parsing by @xjasonlyu in #308
- Refactor(debug): simplify version string by @xjasonlyu in #380
- Refactor(log): use
go.uber.org/zap
by @xjasonlyu in #389 - Refactor(tunnel): modularize tunnel pkg by @xjasonlyu in #393
- Refactor(core): replace net.IP with netip.Addr by @xjasonlyu in #395
- Refactor(metadata): replace net.IP with netip.Addr by @xjasonlyu in #396
- Refactor(socks): replace net.IP with netip.Addr by @xjasonlyu in #397
- Refactor(pool): move to internal by @xjasonlyu in #398
- Refactor(pool): use generic buffer/pool by @xjasonlyu in #399
- Refactor: bufferpool new function by @xjasonlyu in #407
- Refactor(dialer): use
DefaultDialer
by @xjasonlyu in #465
New Contributors
- @Amaindex made their first contribution in #245
- @cty123 made their first contribution in #315
- @niconorsk made their first contribution in #336
- @Yawning made their first contribution in #343
- @dependabot made their first contribution in #370
- @hossinasaadi made their first contribution in #418
- @xunmi-git made their first contribution in #427
- @SuzukiHonoka made their first contribution in #436
- @devil666face made their first contribution in #456
Full Changelog: v2.5.2...v2.6.0
v2.6.0-beta
What's Changed
License Update
- LICENSE: switch to MIT by @xjasonlyu in #462
New Features
- Feature: fdbased open fd with offset by @myloft in #272
- Feature: Add support for multicast by @Amaindex in #245
- Feature: persistent wintun with GUID option by @xjasonlyu in #301
- Feature: set open FD offset for iOS by @hossinasaadi in #418
- Feature: add make for loong64 by @xunmi-git in #427
- Feature(proxy): support gost relay protocol by @xjasonlyu in #310
- Feature(docker): add options for multicast groups by @xjasonlyu in #290
- Feature(socks5): support abstract namespace unix sock by @SuzukiHonoka in #436
Improvement & Fixes
- Improve(actions): add concurrency groups by @xjasonlyu in #289
- Improve: use embedded
go-shadowsocks2
by @xjasonlyu in #306 - Improve(proxy/ss): allow explicit none cipher mode by @xjasonlyu in #312
- Improve: optimize the memory footprint under SOCKS5 when USERNAME/PASSWORD authentication is used by @cty123 in #315
- Fix: defer func for
safeConnClose
by @xjasonlyu in #309 - Fix: call SetSendBufferSize when setting send buffer size option by @niconorsk in #336
- Fix: safely split command strings by @xjasonlyu in #340
- Fix: socks5 usernames and passwords can BOTH be up to 255 bytes by @Yawning in #343
- Fix: codeql autobuild error by @xjasonlyu in #355
- Fix: mutex never unlocked on error by @devil666face in #456
- Refactor: direct proxy parsing by @xjasonlyu in #308
- Refactor(debug): simplify version string by @xjasonlyu in #380
- Refactor(log): use
go.uber.org/zap
by @xjasonlyu in #389 - Refactor(tunnel): modularize tunnel pkg by @xjasonlyu in #393
- Refactor(core): replace net.IP with netip.Addr by @xjasonlyu in #395
- Refactor(metadata): replace net.IP with netip.Addr by @xjasonlyu in #396
- Refactor(socks): replace net.IP with netip.Addr by @xjasonlyu in #397
- Refactor(pool): move to internal by @xjasonlyu in #398
- Refactor(pool): use generic buffer/pool by @xjasonlyu in #399
- Refactor: bufferpool new function by @xjasonlyu in #407
- Refactor(dialer): use
DefaultDialer
by @xjasonlyu in #465
New Contributors
- @Amaindex made their first contribution in #245
- @cty123 made their first contribution in #315
- @niconorsk made their first contribution in #336
- @Yawning made their first contribution in #343
- @dependabot made their first contribution in #370
- @hossinasaadi made their first contribution in #418
- @xunmi-git made their first contribution in #427
- @SuzukiHonoka made their first contribution in #436
- @devil666face made their first contribution in #456
Full Changelog: v2.5.2...v2.6.0-beta
v2.5.2
v2.5.1
What's Changed
- Feature: log support setting output by @myloft in #248
- CI: update golangci-lint config by @xjasonlyu in #251
- Fix: packets sending issue on certain Linux platform by @xjasonlyu in #254
- Fix: fix panic when unassigned reply code arrives. by @ghostiam in #255
New Contributors
Full Changelog: v2.5.0...v2.5.1
v2.5.0
Updates
- Feature: support route mark on FreeBSD & OpenBSD in 8d3c28a
- Feature: support bind to interface on windows by @nange in #192
- Feature: support tun pre & post command exec by @Jackarain in #233
- Fix: add enhance tcp relay/half-close by @nange in #219
- Fix: potential crash by bad UDP binding address in #238
- Chore: other bug fixes and performance improvement
New Contributors
- @nange made their first contribution in #192
- @Jackarain made their first contribution in #233
- @myloft made their first contribution in #156
Full Changelog: v2.4.1...v2.5.0
v2.4.1
Change
- Use gVisor default TCP buffer size: 1MiB
- Optimize
netstats
JSON encoding - Refactor symmetric NAT UDP module
- Bug fixes and performance improvement
Full Changelog: v2.4.0...v2.4.1
v2.4.0
Highlight
- Migrate to go 1.18
- Add
GOAMD64=v3
for modern CPU (detailed description can be found here)
Feature
- Support YAML format config file
- Add stack statistic API endpoint:
/netstats
- Add debug pprof API endpoint:
/debug/pprof/
- Add TCP args:
tcp-sndbuf
,tcp-rcvbuf
andtcp-auto-tuning
Change
- Change major version suffix to
v2
by @linfan in #88 - Optimize memory consumption
- Refactor modules/codes
- Bug fixes and performance improvement
New Contributor
Full Changelog: v2.3.2...v2.4.0
v2.3.2
v2.3.1-1
Feature
- Add
WINDOWS-ARM64
Platform Support - Add SOCKS5 over UDS (Unix Domain Socket) Support
Change
- Migrate to
go1.17
- Update gVisor module to
v0.0.0-20211002000755-82b90506164f
- Update wireguard-go module to
v0.0.0-20210927201915-bb745b2ea326
v2.3.1
Full Changelog: v2.3.0...v2.3.1