wg: ipc: add allowed-ip flags support for FreeBSDFor $reasons, we can't rely on flags in wireguard-tools for the kernelside of WireGuard. Provide a mapping function that uses flags from thekerne
wg: ipc: add allowed-ip flags support for FreeBSDFor $reasons, we can't rely on flags in wireguard-tools for the kernelside of WireGuard. Provide a mapping function that uses flags from thekernel that we're building against and fail the operation if we made itto the end without turning some wg(8) flag off.Signed-off-by: Kyle Evans <kevans@FreeBSD.org>Reviewed by: ivy (previous version), Jason A. Donenfeld, jhbDifferential Revision: https://reviews.freebsd.org/D50450
show more ...
Merge commit '2a7e45eef31292cf9dd82caf3346eb2acb5b6225'Update wireguard-tools to the latest version, which has some stubbed out supportfor incremental Allowed-IPs updates that we would need to add
Merge commit '2a7e45eef31292cf9dd82caf3346eb2acb5b6225'Update wireguard-tools to the latest version, which has some stubbed out supportfor incremental Allowed-IPs updates that we would need to add kernel supportfor.
wireguard-tools: ipc: freebsd: use AF_LOCAL for the control socketAF_INET assumes that IPv4 is built into the kernel, but it's completelyvalid to build a kernel without it. unix(4) sockets, on th
wireguard-tools: ipc: freebsd: use AF_LOCAL for the control socketAF_INET assumes that IPv4 is built into the kernel, but it's completelyvalid to build a kernel without it. unix(4) sockets, on the other hand,are not-optional in the kernel build. Given that interface ioctls canbe invoked on any kind of socket, switch to the safer one to avoidbreaking on IPv6-only kernels.Reported and tested by: ivyMFC after: 3 days
Merge commit '93bf91b4012a28610672d2266366dfa0a663b70f' into HEADThis fixes a warning in wireguard-tools, as well as two issues pointed out byFreeBSD's Coverity instance.CID: 1500405, 1500421
Add 'contrib/wireguard-tools/' from commit '7e00bf8773b93a2a3ee28dba2710d2ae443989f1'git-subtree-dir: contrib/wireguard-toolsgit-subtree-mainline: 9142a2a37b2fe65d46ace08a098ad26b8ff81541git-subt
Add 'contrib/wireguard-tools/' from commit '7e00bf8773b93a2a3ee28dba2710d2ae443989f1'git-subtree-dir: contrib/wireguard-toolsgit-subtree-mainline: 9142a2a37b2fe65d46ace08a098ad26b8ff81541git-subtree-split: 7e00bf8773b93a2a3ee28dba2710d2ae443989f1