Matt Layher

Results 197 comments of Matt Layher

In that case I don't understand what could be wrong here. Can you eliminate cross compilation as a variable? What happens if you make modifications to `internal/wguser/client.go` to add logging?...

I have no idea how your environment is configured but I would still like to rule out cross-compilation as a variable here. Can you compile both BoringTun and wgctrl-go using...

As of today, wireguard genetlink does not expose any multicast groups: ``` $ uname -a Linux matt-3 5.13.0-37-generic #42-Ubuntu SMP Tue Mar 15 14:34:06 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux...

Thanks for the patch link. That's correct: adding and removing devices is out of scope for this library since it ultimately relies on an entirely separate set of APIs.

No work has been done on FreeBSD kernel interfaces at this point. Userspace should work fine.

You shouldn't need to care about the underlying implementation. If wireguard-go or similar is running and exposes a control socket, it should be picked up automatically. We look for sockets...

Based on https://www.freshports.org/net/wireguard, you're probably using the kernel module implementation, which is not supported yet.

Nice work! I have no objections to starting with cgo. Presumably that library is widely used on freebsd anyway?

I'd prefer to keep the README fairly brief, but I can certainly expand upon the GoDoc documentation.

@gun1x it is already, see the GoDoc badge.