6957 Commits
Author SHA1 Message Date
Shelikhoo e29ac2e65a update version to v5.54.2 v5.54.2 2026-09-22 10:29:17 +01:00
Xiaokang Wang (Shelikhoo) 6d096cf51f Allow quic server to accept clients with mismatching alpn temporaryly (#3832) 2026-09-22 10:23:54 +01:00
Xiaokang Wang (Shelikhoo) 4f8c8a7e50 Add safe defaults for quic connections on server side (#3830) 2026-09-22 08:26:25 +01:00
Shelikhoo 58073c8ea6 update version to v5.54.1 v5.54.1 2026-09-21 22:20:02 +01:00
Xiaokang Wang (Shelikhoo) 505fe215ff Add safe defaults for quic connections (#3820) 2026-09-21 22:19:13 +01:00
Shelikhoo 89f90bdfb6 update version to v5.54.0 v5.54.0 2026-09-20 21:06:52 +01:00
dependabot[bot] ebd77875a4 Chore: bump golang.org/x/net from 0.58.0 to 0.59.0 (#3805)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.58.0 to 0.59.0.
- [Commits](https://github.com/golang/net/compare/v0.58.0...v0.59.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.58.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-20 21:04:36 +01:00
dependabot[bot] 967f36a585 Chore: bump github.com/stretchr/testify from 1.12.0 to 1.12.1 (#3807)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.12.0 to 1.12.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.12.0...v1.12.1)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-version: 1.12.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-20 20:59:33 +01:00
dependabot[bot] 56cd1c1e85 Chore: bump google.golang.org/protobuf from 1.36.11 to 1.36.12 (#3802)
Bumps google.golang.org/protobuf from 1.36.11 to 1.36.12.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-version: 1.36.12
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-20 20:47:21 +01:00
dependabot[bot] 2f566d41aa Chore: bump github.com/pion/stun/v3 from 3.1.6 to 3.1.7 (#3808)
Bumps [github.com/pion/stun/v3](https://github.com/pion/stun) from 3.1.6 to 3.1.7.
- [Release notes](https://github.com/pion/stun/releases)
- [Commits](https://github.com/pion/stun/compare/v3.1.6...v3.1.7)

---
updated-dependencies:
- dependency-name: github.com/pion/stun/v3
  dependency-version: 3.1.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-20 20:31:58 +01:00
dependabot[bot] 7621a76c17 Chore: bump github.com/miekg/dns from 1.1.72 to 1.1.73 (#3813)
Bumps [github.com/miekg/dns](https://github.com/miekg/dns) from 1.1.72 to 1.1.73.
- [Commits](https://github.com/miekg/dns/compare/v1.1.72...v1.1.73)

---
updated-dependencies:
- dependency-name: github.com/miekg/dns
  dependency-version: 1.1.73
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-20 20:31:39 +01:00
dependabot[bot] ffb545a2b2 Chore: bump github.com/go-chi/chi/v5 from 5.3.1 to 5.3.2 (#3815)
Bumps [github.com/go-chi/chi/v5](https://github.com/go-chi/chi) from 5.3.1 to 5.3.2.
- [Release notes](https://github.com/go-chi/chi/releases)
- [Changelog](https://github.com/go-chi/chi/blob/master/CHANGELOG.md)
- [Commits](https://github.com/go-chi/chi/compare/v5.3.1...v5.3.2)

---
updated-dependencies:
- dependency-name: github.com/go-chi/chi/v5
  dependency-version: 5.3.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-20 20:30:24 +01:00
dependabot[bot] c2e0881d83 Chore: bump google.golang.org/grpc from 1.83.0 to 1.83.2 (#3817)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.83.0 to 1.83.2.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.83.0...v1.83.2)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-version: 1.83.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-20 20:30:07 +01:00
Xiaokang Wang (Shelikhoo) 3861a91901 Add wireguard chain proxy support (machine assisted) (#3816) 2026-08-25 18:54:54 +01:00
Xiaokang Wang (Shelikhoo) cbd4d234fe Add iOS Client Support Bundle: Packet Bridge Receiver, Subscription Improvment, DNS and other udp improvement (#3809)
* Improve data url subscription link processing

* consider disk persisted source as added by API and removeable

* feat: add Packet Bridge transport for iOS

* fix(tun): preserve inbound tag for packet encoding

* feat(tun): bypass packet encoding for selected UDP ports

* fix(tun): clean stale stream packetaddr entries

Close packetaddr dispatchers when their read workers terminate so the TUN
sorter removes stale source entries. Make dispatcher close idempotent and
interrupt packet links before taking the reader lock to avoid cleanup
deadlocks. Add regression coverage for stream termination, repeated close,
and recreation of the same source tuple.

* fix lint issue for tun, sub

* fix packet connection adaptor close processing
2026-08-23 16:02:37 +01:00
dependabot[bot] deb36f9009 Chore: bump golang.org/x/crypto from 0.54.0 to 0.55.0 (#3803)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.54.0 to 0.55.0.
- [Commits](https://github.com/golang/crypto/compare/v0.54.0...v0.55.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.55.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-21 17:47:39 +01:00
Loyalsoldierandcopilot-swe-agent[bot] db12914161 Fix: CI tests failures (#3790)
* Initial plan

* Stabilize domain sniffing scenario test

* Make domain sniffing test self-contained

* Fix TestDomainSniffing to be self-contained and Windows-compatible

* Fix: lint

* Fix macOS CI failures: race condition in stats Channel and write deadline in test scenarios

* Fix: lint

* Remove changes in app/stats/channel.go

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
2026-08-05 12:41:20 +01:00
Shelikhoo b53bebbb85 update version to v5.53.0 v5.53.0 2026-08-02 23:44:10 +01:00
dependabot[bot] b1666522c4 Chore: bump github.com/go-playground/validator/v10 (#3739)
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.30.2 to 10.30.3.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](https://github.com/go-playground/validator/compare/v10.30.2...v10.30.3)

---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
  dependency-version: 10.30.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-02 22:54:37 +01:00
dependabot[bot] 3bad756eb4 Chore: bump github.com/pires/go-proxyproto from 0.12.0 to 0.15.0 (#3772)
Bumps [github.com/pires/go-proxyproto](https://github.com/pires/go-proxyproto) from 0.12.0 to 0.15.0.
- [Release notes](https://github.com/pires/go-proxyproto/releases)
- [Commits](https://github.com/pires/go-proxyproto/compare/v0.12.0...v0.15.0)

---
updated-dependencies:
- dependency-name: github.com/pires/go-proxyproto
  dependency-version: 0.14.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-02 22:38:00 +01:00
dependabot[bot] 7401153e64 Chore: bump github.com/go-chi/chi/v5 from 5.3.0 to 5.3.1 (#3769)
Bumps [github.com/go-chi/chi/v5](https://github.com/go-chi/chi) from 5.3.0 to 5.3.1.
- [Release notes](https://github.com/go-chi/chi/releases)
- [Changelog](https://github.com/go-chi/chi/blob/master/CHANGELOG.md)
- [Commits](https://github.com/go-chi/chi/compare/v5.3.0...v5.3.1)

---
updated-dependencies:
- dependency-name: github.com/go-chi/chi/v5
  dependency-version: 5.3.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-02 22:24:23 +01:00
dependabot[bot] ebc3ab4860 Chore: bump google.golang.org/grpc from 1.82.1 to 1.83.0 (#3771)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.82.1 to 1.83.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.82.1...v1.83.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-version: 1.82.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-02 22:24:03 +01:00
dependabot[bot] ae77e4ff27 Chore: bump github.com/quic-go/quic-go from 0.59.1 to 0.61.0 (#3770)
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go) from 0.59.1 to 0.61.0.
- [Release notes](https://github.com/quic-go/quic-go/releases)
- [Commits](https://github.com/quic-go/quic-go/compare/v0.59.1...v0.61.0)

---
updated-dependencies:
- dependency-name: github.com/quic-go/quic-go
  dependency-version: 0.60.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-02 22:23:39 +01:00
dependabot[bot] b3c2470562 Chore: bump redhat-actions/podman-login from 1 to 2 (#3781)
Bumps [redhat-actions/podman-login](https://github.com/redhat-actions/podman-login) from 1 to 2.
- [Release notes](https://github.com/redhat-actions/podman-login/releases)
- [Changelog](https://github.com/redhat-actions/podman-login/blob/main/CHANGELOG.md)
- [Commits](https://github.com/redhat-actions/podman-login/compare/v1...v2)

---
updated-dependencies:
- dependency-name: redhat-actions/podman-login
  dependency-version: '2'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-02 21:55:19 +01:00
dependabot[bot] 755a523502 Chore: bump google.golang.org/grpc from 1.81.1 to 1.82.1 (#3783)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.81.1 to 1.82.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.81.1...v1.82.1)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-version: 1.82.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-02 21:31:00 +01:00
dependabot[bot] 4be6098d82 Chore: bump redhat-actions/push-to-registry from 2 to 3 (#3786)
Bumps [redhat-actions/push-to-registry](https://github.com/redhat-actions/push-to-registry) from 2 to 3.
- [Release notes](https://github.com/redhat-actions/push-to-registry/releases)
- [Changelog](https://github.com/redhat-actions/push-to-registry/blob/main/CHANGELOG.md)
- [Commits](https://github.com/redhat-actions/push-to-registry/compare/v2...v3)

---
updated-dependencies:
- dependency-name: redhat-actions/push-to-registry
  dependency-version: 3.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-02 21:19:54 +01:00
Xiaokang Wang (Shelikhoo) fefb1be644 rrpit: compact session, async send, session recovery (#3787) 2026-08-02 21:06:45 +01:00
dependabot[bot] df432de86c Chore: bump actions/stale from 10 to 11 (#3784)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-29 14:51:54 +08:00
dependabot[bot] 9b93c7add8 Chore: bump actions/setup-go from 6 to 7 (#3778)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-17 20:35:13 +08:00
Xiaokang Wang (Shelikhoo) bd9bdf73fe Add socks5ify engineering command (#3776)
* Add socks5ify engineering command

(Machine assisted.)

* Add quiet and ipv4,ipv6 host, guest flag settings to engineering socks5ify command

(Machine assisted.)

* Fix lint errors

(Machine assisted.)

* fix typo in stun-nat-type-discovery command

* Add support for keep uid for socks5ify, this will make some application that designed to not run as root happy
2026-07-08 22:51:46 +01:00
copilot-swe-agent[bot] ce48e2f9ec Fix staticcheck embedded PacketConn selector usage 2026-07-08 13:25:57 +01:00
Shelikhoo 4ce5839730 Add Stream based Packet Addr for UDP Connections.
(This change is machine assisted.)
2026-07-08 13:25:05 +01:00
Shelikhoo 9db9c4bb0c update version to v5.52.0 v5.52.0 2026-07-07 13:58:15 +01:00
dependabot[bot] b7dc2e50bd Chore: bump golang.org/x/net from 0.55.0 to 0.56.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.55.0 to 0.56.0.
- [Commits](https://github.com/golang/net/compare/v0.55.0...v0.56.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.56.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2026-07-07 01:12:23 +01:00
dependabot[bot] 08e32dabbc Chore: bump github.com/pion/webrtc/v4 from 4.2.12 to 4.2.16
Bumps [github.com/pion/webrtc/v4](https://github.com/pion/webrtc) from 4.2.12 to 4.2.16.
- [Release notes](https://github.com/pion/webrtc/releases)
- [Commits](https://github.com/pion/webrtc/compare/v4.2.12...v4.2.16)

---
updated-dependencies:
- dependency-name: github.com/pion/webrtc/v4
  dependency-version: 4.2.15
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
2026-07-07 01:07:23 +01:00
copilot-swe-agent[bot] 7d574929b3 ci: skip codecov upload when token is unavailable 2026-07-07 00:00:39 +01:00
dependabot[bot] 1e655095d8 Chore: bump golang.org/x/crypto from 0.51.0 to 0.53.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.51.0 to 0.53.0.
- [Commits](https://github.com/golang/crypto/compare/v0.51.0...v0.53.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.53.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2026-07-07 00:00:39 +01:00
bindreams 80d03ba96d common/errors: use expected/actual in tests and trim comments 2026-07-06 23:47:46 +01:00
bindreams 36fd332d3f common/errors: add Unwrap to *Error so errors.Is/As traverse the chain 2026-07-06 23:47:46 +01:00
dyhkwong a3345cfc6f Guard Android DNS resolver hack behind !cgo 2026-07-06 23:45:09 +01:00
dependabot[bot] c1523c4578 Chore: bump actions/checkout from 6 to 7 (#3760)
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-20 20:31:02 +08:00
dependabot[bot] 63f97f5a56 Chore: bump codecov/codecov-action from 5 to 7
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5 to 7.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v5...v7)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
2026-06-10 18:43:46 +01:00
dependabot[bot] d27df92352 Chore: bump github.com/go-chi/chi/v5 from 5.2.5 to 5.3.0
Bumps [github.com/go-chi/chi/v5](https://github.com/go-chi/chi) from 5.2.5 to 5.3.0.
- [Release notes](https://github.com/go-chi/chi/releases)
- [Changelog](https://github.com/go-chi/chi/blob/master/CHANGELOG.md)
- [Commits](https://github.com/go-chi/chi/compare/v5.2.5...v5.3.0)

---
updated-dependencies:
- dependency-name: github.com/go-chi/chi/v5
  dependency-version: 5.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
2026-06-10 18:43:31 +01:00
yuyangzhang dfba20d86b Fix v4 X-Forwarded-For transport config
Wire parseXForwardedFor through legacy WebSocket and HTTP stream settings so access logs can use forwarded client addresses when explicitly enabled.

Add transport config coverage for the new v4 JSON fields.
2026-06-10 18:42:27 +01:00
yuyangzhang 63c44fdfc2 Add X-Forwarded-For support to gRPC transport
Add a gated parseXForwardedFor option to gRPC transport config and use incoming x-forwarded-for metadata for the connection remote address when enabled.

Wire the option through legacy v4 grpc/gun settings and add v4, v5, and gRPC encoding coverage.
2026-06-10 18:42:15 +01:00
Bang Lee 3bfa8a541c Revert "ci: annotate arm64 pie binary with prerelease mark"
This reverts commit ea19e33494.

That commit (#3521) was a workaround for arm64-pie binaries not being
reproducible: when the Release workflow re-ran on the released event,
arm64-pie produced different bytes than on prereleased, and uploading
under the same filename caused issues. The workaround gave the
prerelease-time variant a `-prerelease` suffix so the two variants
would not overwrite each other.

With the previous commit, build no longer re-runs on released, so
arm64-pie is built exactly once (at prerelease time) and the
reproducibility issue is moot. The workaround is no longer needed
and the file now uses its canonical name."
2026-06-08 19:40:56 +01:00
Bang Lee 519924567d ci: skip build/signature jobs on released event
The Release workflow re-runs on both prereleased and released events,
which rebuilds zips with freshly-fetched geoip/geosite data and
overwrites the prerelease artifacts (the ones the externally-signed
Release file was signed against). This causes the published signed
Release to no longer match the downloadable zip bytes.

Fixes #3049 by gating the build and signature jobs to only run on
push/PR and prereleased events. The buildContainer job still runs on
released to publish the 'latest' / major-version image tags; its
condition is loosened with '!cancelled() && needs.signature.result
!= failure' so that it proceeds even when signature is skipped (GHA
would otherwise cascade-skip dependents of a skipped job).

Container image content is unchanged across the two events (same zip
inputs from the release page), so the released-event run only adds
new tags to the same image SHA.
2026-06-08 19:40:56 +01:00
Shelikhoo 59950bd0b0 update version to v5.51.2 v5.51.2 2026-05-18 18:38:22 +01:00
Shelikhoo f2d7e3a4f1 gdocsviewer: allow adding headers in public config 2026-05-18 18:34:13 +01:00
Shelikhoo 0c35ff1a22 update version to v5.51.1 v5.51.1 2026-05-18 18:10:58 +01:00