[Bug 279850] wireguard: wg(8) fails on INET6-only kernel

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 25 Jun 2024 16:13:44 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279850

crest@rlwinm.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |crest@rlwinm.de

--- Comment #2 from crest@rlwinm.de ---
From running `truss wg` on a system with IPv4 support in the kernel and a
single unconfigured WireGuard interface it looks like the socket is used at
least for the SIOCGIFGMEMB and SIOCGWG:

ioctl(3,SIOCGIFGMEMB,0x1...)             = 0 (0x0)
ioctl(3,SIOCGIFGMEMB,0x1...)             = 0 (0x0)
ioctl(3,SIOCGWG,0x1...)                  = 0 (0x0)
ioctl(3,SIOCGWG,0x1...)                  = 0 (0x0)

Are those ioctl()s available on AF_UNIX and AF_INET6 sockets or only on AF_INET
sockets?

-- 
You are receiving this mail because:
You are on the CC list for the bug.