<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-tools/src/uapi/linux, branch master</title>
<subtitle>Required tools for WireGuard, such as wg(8) and wg-quick(8)</subtitle>
<id>https://git.zx2c4.com/wireguard-tools/atom/src/uapi/linux?h=master</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-tools/atom/src/uapi/linux?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-tools/'/>
<updated>2026-03-21T11:20:43Z</updated>
<entry>
<title>global: bump copyright</title>
<updated>2026-03-21T11:20:43Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2026-03-21T11:20:43Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-tools/commit/?id=997ffa0c89b4a6a3998325ceeb55588bb0cf8017'/>
<id>urn:sha1:997ffa0c89b4a6a3998325ceeb55588bb0cf8017</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>ipc: linux: support incremental allowed ips updates</title>
<updated>2025-05-20T20:03:58Z</updated>
<author>
<name>Jordan Rife</name>
<email>jordan@jrife.io</email>
</author>
<published>2025-05-17T19:29:51Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-tools/commit/?id=0788f90810efde88cfa07ed96e7eca77c7f2eedd'/>
<id>urn:sha1:0788f90810efde88cfa07ed96e7eca77c7f2eedd</id>
<content type='text'>
Extend the interface of `wg set` to leverage the WGALLOWEDIP_F_REMOVE_ME
flag, a direct way of removing a single allowed ip from a peer,
allowing for incremental updates to a peer's configuration. By default,
allowed-ips fully replaces a peer's allowed ips using
WGPEER_REPLACE_ALLOWEDIPS under the hood. When '+' or '-' is prepended
to any ip in the list, wg clears WGPEER_F_REPLACE_ALLOWEDIPS and sets
the WGALLOWEDIP_F_REMOVE_ME flag on any ip prefixed with '-'.

$ wg set wg0 peer &lt;PUBKEY&gt; allowed-ips +192.168.88.0/24,-192.168.0.1/32

This command means "add 192.168.88.0/24 to this peer's allowed ips if
not present, and remove 192.168.0.1/32 if present".

Use -isystem so that headers in uapi/ take precedence over system
headers; otherwise, the build will fail on systems running kernels
without the WGALLOWEDIP_F_REMOVE_ME flag.

Note that this patch is meant to be merged alongside the kernel patch
that introduces the flag.

Signed-off-by: Jordan Rife &lt;jordan@jrife.io&gt;
[Jason: removed linux ifdefs; this will eventually come to other platforms too. minor style nits.]
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>ipc: cleanup openbsd support</title>
<updated>2020-05-11T04:10:02Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2020-05-10T06:24:46Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-tools/commit/?id=d4a32c97fd0953acfe18ce4eb3bdea8b33af1d23'/>
<id>urn:sha1:d4a32c97fd0953acfe18ce4eb3bdea8b33af1d23</id>
<content type='text'>
We also add a wg_if.h in the fallback include path.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>global: bump copyright</title>
<updated>2020-01-02T18:52:25Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2020-01-02T18:52:25Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-tools/commit/?id=d8230ea0dcb02d716125b2b3c076f2de40ebed99'/>
<id>urn:sha1:d8230ea0dcb02d716125b2b3c076f2de40ebed99</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>wg: add back source formerly shared with kernel module</title>
<updated>2019-12-26T11:55:41Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2019-12-26T11:09:53Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-tools/commit/?id=2f74ac29cf5a5c9285be16a118c9db5ed57b6c67'/>
<id>urn:sha1:2f74ac29cf5a5c9285be16a118c9db5ed57b6c67</id>
<content type='text'>
We used to reach back into parent directories for this, but with the
repo split, we now require our own copy.

We use -idirafter in case system headers are installed for the
wireguard.h netlink definitions.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
</feed>
