History log of /freebsd/contrib/wireguard-tools/ipc-freebsd.h (Results 1 – 5 of 5)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# f6d9e229 26-Jun-2025 Kyle Evans <kevans@FreeBSD.org>

wg: ipc: add allowed-ip flags support for FreeBSD

For $reasons, we can't rely on flags in wireguard-tools for the kernel
side of WireGuard. Provide a mapping function that uses flags from the
kerne

wg: ipc: add allowed-ip flags support for FreeBSD

For $reasons, we can't rely on flags in wireguard-tools for the kernel
side of WireGuard. Provide a mapping function that uses flags from the
kernel that we're building against and fail the operation if we made it
to 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, jhb
Differential Revision: https://reviews.freebsd.org/D50450

show more ...


Revision tags: release/14.3.0
# 137de4b3 21-May-2025 Kyle Evans <kevans@FreeBSD.org>

Merge commit '2a7e45eef31292cf9dd82caf3346eb2acb5b6225'

Update wireguard-tools to the latest version, which has some stubbed out support
for 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 support
for incremental Allowed-IPs updates that we would need to add kernel support
for.

show more ...


# 0d238bc5 21-Apr-2025 Kyle Evans <kevans@FreeBSD.org>

wireguard-tools: ipc: freebsd: use AF_LOCAL for the control socket

AF_INET assumes that IPv4 is built into the kernel, but it's completely
valid to build a kernel without it. unix(4) sockets, on th

wireguard-tools: ipc: freebsd: use AF_LOCAL for the control socket

AF_INET assumes that IPv4 is built into the kernel, but it's completely
valid to build a kernel without it. unix(4) sockets, on the other hand,
are not-optional in the kernel build. Given that interface ioctls can
be invoked on any kind of socket, switch to the safer one to avoid
breaking on IPv6-only kernels.

Reported and tested by: ivy
MFC after: 3 days

show more ...


Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0, release/14.1.0, release/13.3.0, release/14.0.0, release/13.2.0, release/12.4.0
# 2cb43631 05-Nov-2022 Kyle Evans <kevans@FreeBSD.org>

Merge commit '93bf91b4012a28610672d2266366dfa0a663b70f' into HEAD

This fixes a warning in wireguard-tools, as well as two issues pointed out by
FreeBSD's Coverity instance.

CID: 1500405, 1500421


# adf37648 29-Oct-2022 Kyle Evans <kevans@FreeBSD.org>

Add 'contrib/wireguard-tools/' from commit '7e00bf8773b93a2a3ee28dba2710d2ae443989f1'

git-subtree-dir: contrib/wireguard-tools
git-subtree-mainline: 9142a2a37b2fe65d46ace08a098ad26b8ff81541
git-subt

Add 'contrib/wireguard-tools/' from commit '7e00bf8773b93a2a3ee28dba2710d2ae443989f1'

git-subtree-dir: contrib/wireguard-tools
git-subtree-mainline: 9142a2a37b2fe65d46ace08a098ad26b8ff81541
git-subtree-split: 7e00bf8773b93a2a3ee28dba2710d2ae443989f1

show more ...