Philip Laine
636cb2f2d6
Merge pull request #15 from netbirdio/feature/peer-cache
...
Cache peers and ensure updates are single flight
v0.0.2
2026-06-11 15:01:48 +02:00
Philip Laine
f68a36a867
Cache peers and ensure updates are single flight
2026-06-11 14:56:19 +02:00
Philip Laine
22e02bd344
Merge pull request #12 from hannut/fix/proxy-connection-upgrade-headers
...
Preserve connection-upgrade headers for kubectl streaming
2026-06-11 14:47:42 +02:00
Hannu Teulahti
cd03662096
Preserve connection-upgrade headers for kubectl streaming
...
The request rewriter applies a header allowlist and deletes everything
else, including Connection, Upgrade, and the Sec-Websocket-* headers.
net/http/httputil's ReverseProxy reads the upgrade type from the
rewritten outbound header, finds none, and forwards a plain request, so
the API server rejects it with "Upgrade request required". This breaks
kubectl exec/attach/port-forward/cp over both WebSocket and SPDY.
Allow the Sec-Websocket-* negotiation headers (not hop-by-hop, so the
proxy does not restore them) and reconstruct Connection/Upgrade from the
inbound request. Reconstructing rather than allowlisting the client's
Connection header keeps a client from naming proxy-set headers
(Authorization, Impersonate-*) as hop-by-hop to have them stripped.
2026-06-11 15:37:03 +03:00
Philip Laine
65f64436ee
Merge pull request #14 from netbirdio/update-license
...
Update license to AGPL 3
2026-06-11 13:32:12 +02:00
Philip Laine
b5e147bd72
Update license to AGPL 3
2026-06-11 13:29:04 +02:00
Philip Laine
a67257cda6
Merge pull request #13 from netbirdio/fix/status-code
...
Check peers before proxy and expand unit tests
2026-06-11 12:32:14 +02:00
Philip Laine
ce5986ccc2
Check peers before proxy and expand unit tests
2026-06-11 12:29:55 +02:00
Philip Laine
ce126112e9
Merge pull request #11 from netbirdio/dependabot/go_modules/github.com/netbirdio/netbird-0.72.3
...
Bump github.com/netbirdio/netbird from 0.72.2 to 0.72.3
2026-06-11 10:48:02 +02:00
dependabot[bot]
644514b569
Bump github.com/netbirdio/netbird from 0.72.2 to 0.72.3
...
Bumps [github.com/netbirdio/netbird](https://github.com/netbirdio/netbird ) from 0.72.2 to 0.72.3.
- [Release notes](https://github.com/netbirdio/netbird/releases )
- [Commits](https://github.com/netbirdio/netbird/compare/v0.72.2...v0.72.3 )
---
updated-dependencies:
- dependency-name: github.com/netbirdio/netbird
dependency-version: 0.72.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-06-11 08:41:47 +00:00
Philip Laine
5ad673aeed
Merge pull request #10 from netbirdio/dependabot/go_modules/golang.org/x/sync-0.21.0
...
Bump golang.org/x/sync from 0.20.0 to 0.21.0
2026-06-11 10:39:32 +02:00
dependabot[bot]
94c15c63b9
Bump golang.org/x/sync from 0.20.0 to 0.21.0
...
Bumps [golang.org/x/sync](https://github.com/golang/sync ) from 0.20.0 to 0.21.0.
- [Commits](https://github.com/golang/sync/compare/v0.20.0...v0.21.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sync
dependency-version: 0.21.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-06-09 22:35:18 +00:00
Philip Laine
625d71143a
Merge pull request #9 from netbirdio/fix/netbird-replace
...
Use release version for NetBird dependency
2026-06-08 10:37:34 +02:00
Philip Laine
0827d020b6
Use release version for NetBird dependency
2026-06-08 10:31:42 +02:00
Philip Laine
36aac8f06d
Merge pull request #8 from netbirdio/dependabot/github_actions/github-actions-aa944f996b
...
Bump the github-actions group across 1 directory with 3 updates
2026-06-08 09:56:34 +02:00
dependabot[bot]
d21d9ba129
Bump the github-actions group across 1 directory with 3 updates
...
Bumps the github-actions group with 3 updates in the / directory: [actions/checkout](https://github.com/actions/checkout ), [codecov/codecov-action](https://github.com/codecov/codecov-action ) and [docker/setup-docker-action](https://github.com/docker/setup-docker-action ).
Updates `actions/checkout` from 6.0.2 to 6.0.3
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/de0fac2e4500dabe0009e67214ff5f5447ce83dd...df4cb1c069e1874edd31b4311f1884172cec0e10 )
Updates `codecov/codecov-action` from 6.0.1 to 7.0.0
- [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/e79a6962e0d4c0c17b229090214935d2e33f8354...fb8b3582c8e4def4969c97caa2f19720cb33a72f )
Updates `docker/setup-docker-action` from 5.1.0 to 5.2.0
- [Release notes](https://github.com/docker/setup-docker-action/releases )
- [Commits](https://github.com/docker/setup-docker-action/compare/b2189fbf2a6592b51fee7cdd93ee2bfaeba733db...0234bb73ccb40f0c430b795634f9247e2b5c2d23 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: 6.0.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
- dependency-name: codecov/codecov-action
dependency-version: 7.0.0
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: docker/setup-docker-action
dependency-version: 5.2.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-06-08 07:34:20 +00:00
Philip Laine
eea48e118e
Merge pull request #6 from netbirdio/increase-test-coverage
...
Improve test coverage
2026-06-01 15:37:07 +02:00
Philip Laine
0caff618b7
Improve test coverage
2026-06-01 15:22:46 +02:00
Philip Laine
5d5bbc32ad
Merge pull request #5 from netbirdio/feature/codecov
...
Add codecov to Go unit tests
2026-06-01 11:53:29 +02:00
Philip Laine
6c19879668
Add codecov to Go unit tests
2026-06-01 11:49:02 +02:00
Philip Laine
407953c0e6
Merge pull request #3 from netbirdio/dependabot/github_actions/github-actions-66237f0436
...
Bump the github-actions group with 3 updates
v0.0.1
2026-05-26 12:06:03 +02:00
Philip Laine
b5f2575472
Merge pull request #4 from netbirdio/update/readme
...
Update readme
2026-05-26 12:04:43 +02:00
Philip Laine
139b19e607
Update readme
2026-05-26 12:02:19 +02:00
dependabot[bot]
cdabc85e0a
Bump the github-actions group with 3 updates
...
Bumps the github-actions group with 3 updates: [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ), [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) and [docker/login-action](https://github.com/docker/login-action ).
Updates `golangci/golangci-lint-action` from 9.2.0 to 9.2.1
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/1e7e51e771db61008b38414a730f564565cf7c20...82606bf257cbaff209d206a39f5134f0cfbfd2ee )
Updates `docker/setup-buildx-action` from 4.0.0 to 4.1.0
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](https://github.com/docker/setup-buildx-action/compare/4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd...d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 )
Updates `docker/login-action` from 4.1.0 to 4.2.0
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/4907a6ddec9925e35a0a9e82d7399ccc52663121...650006c6eb7dba73a995cc03b0b2d7f5ca915bee )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-version: 9.2.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
- dependency-name: docker/setup-buildx-action
dependency-version: 4.1.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
- dependency-name: docker/login-action
dependency-version: 4.2.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-05-26 09:55:17 +00:00
Philip Laine
290970d50b
Merge pull request #2 from netbirdio/feature/gh-workflows
...
Add GitHub workflows and dependabot configuration
2026-05-26 11:54:26 +02:00