wireguard-go - sendmmsg: function not implemented

Ameir Abdeldayem ameir at ameir.net
Fri Oct 4 20:16:02 UTC 2024


Hello,

I am trying to run wireguard-go on a router running FreshTomato, which
uses uclibc as its libc.

When running wireguard-go, I get several of these messages:

DEBUG: (wg) 2024/10/04 13:48:25 peer(oXlL…hrHI) - Sending handshake initiation
ERROR: (wg) 2024/10/04 13:48:25 peer(oXlL…hrHI) - Failed to send
handshake initiation: write udp 0.0.0.0:36895: sendmmsg: function not
implemented

I believe there may be a compatibility issue between the sendmmsg
syscall and my version of uclibc.

Do you know if there's a way to build a compatible wireguard-go? Are
there build flags, for example, that would cause wireguard-go to use
alternative syscalls, like sendmsg, instead (even if there's a
performance hit)? I thought that with CGO_ENABLED=0 I wouldn't hit
this issue, but it might be that the syscalls are being called
directly in code.

Thanks,
Ameir


More information about the WireGuard mailing list