Kernel-only Build (for routers, etc.) #390

Closed
opened 2025-11-20 05:10:42 -05:00 by saavagebueno · 2 comments
Owner

Originally created by @Sammy1Am on GitHub (Jul 4, 2023).

Is your feature request related to a problem? Please describe.
Installing netbird on my router running OpenWRT takes up nearly every last bit of space for installing packages.

Describe the solution you'd like
I saw in #697 that the netbird client bundles a userspace implementation to use if the kernal is not an option, but for systems where we know ahead of time wireguard support is available in the kernel, it would be nice to have a smaller package to install. (And the added benefit that if the kernal mod isn't set up properly, it will just fail instead of silently perform worse)

Describe alternatives you've considered
There is a UPX-comoressed build available that shaves off about 30% of the size, but it's still a fairly heavy package, and my understanding is that UPX won't save me any RAM usage.

Additional context
I don't know if it's easy to just unbundle the userspace implementation with a switch at build time, or if it's a more complicated process.

Originally created by @Sammy1Am on GitHub (Jul 4, 2023). **Is your feature request related to a problem? Please describe.** Installing netbird on my router running OpenWRT takes up nearly every last bit of space for installing packages. **Describe the solution you'd like** I saw in #697 that the netbird client bundles a userspace implementation to use if the kernal is not an option, but for systems where we know ahead of time wireguard support is available in the kernel, it would be nice to have a smaller package to install. (And the added benefit that if the kernal mod isn't set up properly, it will just fail instead of silently perform worse) **Describe alternatives you've considered** There is a UPX-comoressed build available that shaves off about 30% of the size, but it's still a fairly heavy package, and my understanding is that UPX won't save me any RAM usage. **Additional context** I don't know if it's easy to just unbundle the userspace implementation with a switch at build time, or if it's a more complicated process.
saavagebueno added the feature-requestclientpackaging labels 2025-11-20 05:10:42 -05:00
Author
Owner

@nazarewk commented on GitHub (Apr 17, 2025):

possibly related to https://github.com/netbirdio/netbird/issues/496

@nazarewk commented on GitHub (Apr 17, 2025): possibly related to https://github.com/netbirdio/netbird/issues/496
Author
Owner

@nazarewk commented on GitHub (Apr 17, 2025):

a short (possibly already outdated/incomplete by the time you are reading) list of feature requests related to implementing a raw wireguard and/or very dumbed down script-style client utilizing it:

@nazarewk commented on GitHub (Apr 17, 2025): a short (possibly already outdated/incomplete by the time you are reading) list of feature requests related to implementing a raw wireguard and/or very dumbed down script-style client utilizing it: - https://github.com/netbirdio/netbird/issues/496 - let's aggregate the discussion there - https://github.com/netbirdio/netbird/issues/2627 - https://github.com/netbirdio/netbird/issues/1000 - https://github.com/netbirdio/netbird/issues/2504
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#390