[GH-ISSUE #201] Detection of wireguard kernel module is broken for non amd64 architectures #463

Closed
opened 2026-08-05 00:38:46 -04:00 by saavagebueno · 3 comments
Owner

Originally created by @stv0g on GitHub (Jan 23, 2022).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/201

The current code taken from go-modprobe is pretty broken for any non-amd64 architectures:

https://github.com/paultag/go-modprobe/issues/4

I propose to rewrite the code to an look for the name in the .modinfo section.

Originally created by @stv0g on GitHub (Jan 23, 2022). Original GitHub issue: https://github.com/netbirdio/netbird/issues/201 The current code taken from go-modprobe is pretty broken for any non-amd64 architectures: https://github.com/paultag/go-modprobe/issues/4 I propose to rewrite the code to an look for the name in the `.modinfo` section.
Author
Owner

@stv0g commented on GitHub (Jan 23, 2022):

Related: https://github.com/wiretrustee/wiretrustee/pull/200

<!-- gh-comment-id:1019500104 --> @stv0g commented on GitHub (Jan 23, 2022): Related: https://github.com/wiretrustee/wiretrustee/pull/200
Author
Owner

@stv0g commented on GitHub (Jan 23, 2022):

Okay, next step. I fixed the parsing of kernel modules in https://github.com/paultag/go-modprobe/pull/5

However, now it fails as my system stored the modules in compressed LZMA format: https://github.com/paultag/go-modprobe/issues/6

<!-- gh-comment-id:1019508986 --> @stv0g commented on GitHub (Jan 23, 2022): Okay, next step. I fixed the parsing of kernel modules in https://github.com/paultag/go-modprobe/pull/5 However, now it fails as my system stored the modules in compressed LZMA format: https://github.com/paultag/go-modprobe/issues/6
Author
Owner

@braginini commented on GitHub (Feb 8, 2022):

Fixed

<!-- gh-comment-id:1032257152 --> @braginini commented on GitHub (Feb 8, 2022): Fixed
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#463