81 Commits

Author SHA1 Message Date
Wesley Gimenes
df6533b96e netbird: update to 0.66.2, patch for Go 1.26 build
Changelog: https://github.com/netbirdio/netbird/releases/tag/v0.66.2

NetBird `v0.66.x` adds support for exposing a local HTTP service
from the CLI with the `netbird expose`[1] command, but only for
self-hosted deployments. Cloud support is coming.

[1]: https://docs.netbird.io/manage/reverse-proxy/expose-from-cli

---

`0.65.x` highlights

Changelog: https://github.com/netbirdio/netbird/releases/tag/v0.65.3

NetBird `v0.65.x` now includes a built-in reverse proxy[1], but only for
self-hosted deployments and is currently in beta. Cloud support is
coming soon.

Important: pre-shared keys or Rosenpass are currently incompatible with
the reverse proxy feature.

[1]: https://docs.netbird.io/manage/reverse-proxy

---

`v0.63.x` highlights

Changelog: https://github.com/netbirdio/netbird/releases/tag/v0.63.0

NetBird now supports private DNS zones[1].

[1]: https://docs.netbird.io/manage/dns/custom-zones

---

`v0.62.x` highlights

Changelog: https://github.com/netbirdio/netbird/releases/tag/v0.62.3

Upstream minimum Go requirement raised from `v1.24.x` to `v1.25.x`,
see the go.mod[1].

[1]: https://github.com/netbirdio/netbird/blob/v0.62.3/go.mod#L3-L5

---

Building `netbird` with Go 1.26.x fails with errors:

```
[...]
/builder/dl/go-mod-cache/gvisor.dev/gvisor@v0.0.0-20251031020517-ecfcdd2f171c/pkg/sync/runtime_constants_go126.go:22:2: WaitReasonSelect redeclared in this block
	/builder/dl/go-mod-cache/gvisor.dev/gvisor@v0.0.0-20251031020517-ecfcdd2f171c/pkg/sync/runtime_constants_go125.go:22:2: other declaration of WaitReasonSelect
/builder/dl/go-mod-cache/gvisor.dev/gvisor@v0.0.0-20251031020517-ecfcdd2f171c/pkg/sync/runtime_constants_go126.go:23:2: WaitReasonChanReceive redeclared in this block
	/builder/dl/go-mod-cache/gvisor.dev/gvisor@v0.0.0-20251031020517-ecfcdd2f171c/pkg/sync/runtime_constants_go125.go:23:2: other declaration of WaitReasonChanReceive
/builder/dl/go-mod-cache/gvisor.dev/gvisor@v0.0.0-20251031020517-ecfcdd2f171c/pkg/sync/runtime_constants_go126.go:24:2: WaitReasonSemacquire redeclared in this block
	/builder/dl/go-mod-cache/gvisor.dev/gvisor@v0.0.0-20251031020517-ecfcdd2f171c/pkg/sync/runtime_constants_go125.go:24:2: other declaration of WaitReasonSemacquire
[...]
```

Upstream Issue: https://github.com/netbirdio/netbird/issues/5290
Upstream PR: https://github.com/netbirdio/netbird/pull/5447

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2026-03-08 20:55:06 -03:00
Wesley Gimenes
291dacc67c netbird: update to 0.61.2 (breaking change)
Changelog: https://github.com/netbirdio/netbird/releases/tag/v0.61.2

The second release of `netbird` that introduces a breaking change[1].
A backport will be provided for OpenWrt 25.12 but not for OpenWrt 24.10,
since OpenWrt 25.12 has not been released yet.

NetBird adds **fine-grained SSH access control**[2].

Self-hosters must update both the `management` and `dashboard`[3].

[1]: https://forum.netbird.io/t/upcoming-breaking-changes-to-netbird-ssh/401
[2]: https://docs.netbird.io/manage/peers/ssh#fine-grained-access-control
[3]: https://docs.netbird.io/manage/peers/ssh#v0-61-0

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2026-03-08 20:55:06 -03:00
Wesley Gimenes
696c2b6096 netbird: move state file to reduce storage wear
Add `NB_DNS_STATE_FILE="/var/lib/netbird/state.json"` to the init
environment. This moves the state from the directory
`/root/.config/netbird` to the file `/var/lib/netbird/state.json` to
avoid storage wear. Note: the file is not preserved across reboots.

The state file contains information such as locally disabled routes and
other data primarily useful for desktop clients. In OpenWrt setups,
these changes are normally handled by the NetBird `management` server.
This matches the behavior prior to `netbird` v0.52.x, I have not
received any reports that this file caused problems before, so it is
unlikely to cause issues now.

The previous state file `/root/.config/netbird/state.json` can be removed.

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2026-03-08 20:55:06 -03:00
Wesley Gimenes
24dc5175d1 netbird: update to 0.60.8 (breaking change)
Changelog: https://github.com/netbirdio/netbird/releases/tag/v0.60.8

This is the first `netbird` release that introduces a breaking change[1].
Therefore, versions after the `0.60.x` will not be backported to
OpenWrt 24.10. They will be backported to OpenWrt 25.12, because that
release has not been officially launched yet.

By default netbird now creates/updates[2]
`/etc/ssh/ssh_config.d/99-netbird.conf` for use with `openssh-client`.
OpenWrt uses `dropbear`, and this behavior may cause storage wear.
This behavior has been disabled with `NB_DISABLE_SSH_CONFIG="1"`[3] in the
init file.

[1]: https://forum.netbird.io/t/netbird-v0-60-0-released/334#p-610-upgrade-compatibility-notes-4
[2]: https://docs.netbird.io/manage/peers/ssh#native-ssh-clients-open-ssh
[3]: https://github.com/netbirdio/netbird/blob/v0.60.8/client/ssh/config/manager.go#L167-L172

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2025-12-20 21:34:13 +02:00
Wesley Gimenes
2bf64b9701 netbird: update to 0.59.13
Changelog: https://github.com/netbirdio/netbird/releases/tag/v0.59.13

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2025-12-20 21:34:13 +02:00
Wesley Gimenes
5a122342d7 netbird: update to 0.59.12
changelog: https://github.com/netbirdio/netbird/releases/tag/v0.59.12

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2025-11-11 06:49:13 +02:00
Wesley Gimenes
48b26e4463 netbird: update to 0.58.2
changelog: https://github.com/netbirdio/netbird/releases/tag/v0.58.2

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2025-10-01 18:07:57 +03:00
Wesley Gimenes
60ee485816 netbird: update to 0.57.1
changelog: https://github.com/netbirdio/netbird/releases/tag/v0.57.1

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2025-09-18 22:14:54 +03:00
Wesley Gimenes
95107af880 netbird: switch to profile-based configuration
Add support for `netbird` profiles feature [1] (introduced in 0.52.2). Use
`NB_STATE_DIR="/root/.config/netbird"` in the init file instead of the
previous `NB_CONFIG="/etc/netbird/config.json"`, and update Makefile
configuration paths accordingly.

Rationale: `netbird` saves state/configuration under `/var` by default. On
OpenWrt, `/var` is a symlink to `/tmp` (a volatile location), which would
cause config loss after reboot or reflash. Using `/root/.config/netbird`
avoids this, it's a valid upstream directory not used by default.
`netbird` will migrate existing configurations.

This change will not be backported to preserve the current meaning of
"stable" in OpenWrt and to avoid (unlikely but possible) breakage of
existing installations.

[1]: https://docs.netbird.io/how-to/profiles

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2025-09-10 19:09:49 -03:00
Wesley Gimenes
56e0fe19e9 netbird: update to 0.55.1
changelog: https://github.com/netbirdio/netbird/releases/tag/v0.55.1

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2025-09-10 19:09:49 -03:00
Wesley Gimenes
3ccdeef8e7 netbird: update to 0.53.0 with config fix
changelog: https://github.com/netbirdio/netbird/releases/tag/v0.53.0

Update init file to include `NB_CONFIG="/etc/netbird/config.json"`
variable, ensuring configuration compatibility as before (fixes issue
introduced by profiles feature in 0.52.2). Existing configurations remain
compatible.

Note: license for some components (`management`, `relay`, `signal`) changed
to **AGPLv3**. These components aren't packaged for OpenWrt, so there's no
immediate effect, but record the change for future reference.

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2025-09-10 19:09:49 -03:00
Wesley Gimenes
9ae1966937 netbird: update to 0.52.2
changelog: https://github.com/netbirdio/netbird/releases/tag/v0.52.2

`netbird` now supports profiles [1]. The configuration file has been
moved from `/etc/netbird/config.json` to `/var/lib/netbird/`. The
migration is handled by `netbird` itself.

However, in OpenWrt, the `/var` directory is a symbolic link to
`/tmp`, which is a temporary directory. This can result in
configuration loss after rebooting or flashing a new image. This
issue will be fixed in the next release, 0.53.0.
**I reported this behavior upstream [2].**

[1]: https://docs.netbird.io/how-to/profiles
[2]: https://github.com/netbirdio/netbird/issues/4322

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2025-09-10 19:09:49 -03:00
Wesley Gimenes
ca14c7e628 netbird: cleanup init script
Remove parameters added in commit 7b3d033ab6
that were intended to reestablish the `netbird` connection when the
`wan` state changes. This functionality is already handled by
`netbird`. If it fails, it should be reported as a bug upstream.

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2025-09-10 19:09:49 -03:00
Wesley Gimenes
eb3165b80c netbird: update to 0.51.2
changelog: https://github.com/netbirdio/netbird/releases/tag/v0.51.2

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2025-07-25 13:50:27 +08:00
Wesley Gimenes
bcb6992f4b netbird: update to 0.50.2
changelog: https://github.com/netbirdio/netbird/releases/tag/v0.50.2

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2025-07-11 13:59:40 +08:00
Wesley Gimenes
9d0a14ed4e netbird: update to 0.50.1
changelog: https://github.com/netbirdio/netbird/releases/tag/v0.50.1

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2025-07-10 15:44:19 +08:00
Wesley Gimenes
5745ffb547 netbird: update to 0.49.0
changelog: https://github.com/netbirdio/netbird/releases/tag/v0.49.0

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2025-06-25 08:37:44 +02:00
Wesley Gimenes
f71550540e netbird: update to 0.45.3
changelog: https://github.com/netbirdio/netbird/releases/tag/v0.45.3

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2025-06-04 09:14:08 +02:00
Wesley Gimenes
1bba5b93f9 netbird: update to 0.45.2
changelog: https://github.com/netbirdio/netbird/releases/tag/v0.45.2

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2025-06-01 13:22:29 +02:00
Wesley Gimenes
37ff02b716 netbird: update to 0.45.1
changelog: https://github.com/netbirdio/netbird/releases/tag/v0.45.1

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2025-05-26 05:51:00 +02:00
Wesley Gimenes
cffbe8b32a netbird: update to 0.44.0
changelog: https://github.com/netbirdio/netbird/releases/tag/v0.44.0

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2025-05-19 12:29:17 +02:00
Wesley Gimenes
c91e9322ce netbird: update to 0.43.3
changelog: https://github.com/netbirdio/netbird/releases/tag/v0.43.3

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2025-05-15 09:24:20 +02:00
Wesley Gimenes
cef2fb9d8e netbird: update to 0.43.2
changelog: https://github.com/netbirdio/netbird/releases/tag/v0.43.2

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2025-05-09 10:11:54 +02:00
Wesley Gimenes
af32ef43f8 netbird: update to 0.43.1
changelog: https://github.com/netbirdio/netbird/releases/tag/v0.43.1

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2025-05-01 12:57:10 +08:00
Wesley Gimenes
c3692c601e netbird: update to 0.43.0
changelog: https://github.com/netbirdio/netbird/releases/tag/v0.43.0

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2025-04-28 17:20:11 +08:00
Wesley Gimenes
2ac31acc54 netbird: update to 0.42.0
changelog: https://github.com/netbirdio/netbird/releases/tag/v0.42.0

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2025-04-24 17:54:07 +08:00
Wesley Gimenes
2da44915c9 netbird: update to 0.41.3
changelog: https://github.com/netbirdio/netbird/releases/tag/v0.41.3

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2025-04-24 17:54:07 +08:00
Wesley Gimenes
9c557d206b netbird: update to 0.41.2
changelog: https://github.com/netbirdio/netbird/releases/tag/v0.41.2

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2025-04-15 22:12:45 +03:00
Wesley Gimenes
4dee0fc39e netbird: update to 0.41.1
changelog: https://github.com/netbirdio/netbird/releases/tag/v0.41.1

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2025-04-15 22:12:45 +03:00
Wesley Gimenes
c5576299a0 netbird: update to 0.40.1
changelog: https://github.com/netbirdio/netbird/releases/tag/v0.40.1

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2025-04-12 22:44:58 +02:00
Wesley Gimenes
d520931ef3 netbird: update to 0.40.0
changelog: https://github.com/netbirdio/netbird/releases/tag/v0.40.0

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2025-04-09 14:43:08 +03:00
Wesley Gimenes
8efe42d86c netbird: update to 0.39.2
changelog: https://github.com/netbirdio/netbird/releases/tag/v0.39.2

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2025-04-02 20:20:37 +02:00
Wesley Gimenes
f3d563ef6f netbird: update to 0.39.1
changelog: https://github.com/netbirdio/netbird/releases/tag/v0.39.1

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2025-03-28 14:22:45 +08:00
Wesley Gimenes
860e1a40cb netbird: update to 0.38.2
changelog: https://github.com/netbirdio/netbird/releases/tag/v0.38.2

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2025-03-24 00:33:31 +01:00
Wesley Gimenes
e591fa62f4 netbird: update to 0.38.0
changelog: https://github.com/netbirdio/netbird/releases/tag/v0.38.0

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2025-03-16 09:19:02 +01:00
Wesley Gimenes
8f0ab168ce netbird: update to 0.37.1
changelog: https://github.com/netbirdio/netbird/releases/tag/v0.37.1

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2025-02-28 13:59:56 +08:00
Wesley Gimenes
1f423f4623 netbird: update to 0.37.0
changelog: https://github.com/netbirdio/netbird/releases/tag/v0.37.0

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2025-02-23 11:30:10 +02:00
Wesley Gimenes
7ff04e9e30 netbird: update to 0.36.7
changelog: https://github.com/netbirdio/netbird/releases/tag/v0.36.7

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2025-02-17 18:15:13 +02:00
Wesley Gimenes
ff34616414 netbird: update to 0.36.5
changelog: https://github.com/netbirdio/netbird/releases/tag/v0.36.5

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2025-02-08 01:55:59 +08:00
Wesley Gimenes
8628bd16bb netbird: update to 0.36.3
changelog: https://github.com/netbirdio/netbird/releases/tag/v0.36.3

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2025-01-19 13:49:53 +08:00
Wesley Gimenes
a09a838f8e netbird: update to 0.35.2
changelog: https://github.com/netbirdio/netbird/releases/tag/v0.35.2

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2025-01-06 11:54:27 +08:00
Wesley Gimenes
2516d2bdc7 netbird: update to 0.35.1
changelog: https://github.com/netbirdio/netbird/releases/tag/v0.35.1

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2024-12-30 11:33:00 +08:00
Wesley Gimenes
2dadcaa114 netbird: update to 0.35.0
changelog: https://github.com/netbirdio/netbird/releases/tag/v0.35.0

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2024-12-30 11:33:00 +08:00
Wesley Gimenes
851386dc67 netbird: revert fix to build with musl >1.2.4
Partially revert: 7b3d033ab6
 - Revert: Also fixes issue of not being able to build with musl >1.2.4,
   The issue has been resolved as of March 2024. For more details, see:
   https://github.com/mattn/go-sqlite3/issues/1164#issuecomment-1975022901

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2024-12-30 11:33:00 +08:00
Wesley Gimenes
2594fc3e2e netbird: change maintainer
- Add myself as maintainer
- Remove `Oskari Rauta <oskari.rauta@gmail.com>`

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2024-12-11 20:57:03 -08:00
Wesley Gimenes
e3681cecec netbird: update to 0.34.1
changelog: https://github.com/netbirdio/netbird/releases/tag/v0.34.1

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2024-12-10 01:38:50 +02:00
Wesley Gimenes
28545bc22c netbird: update to 0.31.0
changelog: https://github.com/netbirdio/netbird/releases/tag/v0.31.0

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2024-11-12 12:58:36 +08:00
Wesley Gimenes
24875c965b netbird: update to 0.30.3
changelog: https://github.com/netbirdio/netbird/releases/tag/v0.30.3

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2024-10-25 17:53:40 +08:00
Wesley Gimenes
b37e625c22 netbird: update to 0.30.2
changelog: https://github.com/netbirdio/netbird/releases/tag/v0.30.2

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2024-10-22 17:53:36 +08:00
Wesley Gimenes
4549f122ff netbird: update to 0.30.1
Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2024-10-14 13:36:23 +08:00