<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-tools/src/man, 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/man?h=master</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-tools/atom/src/man?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-tools/'/>
<updated>2025-05-20T20:03:58Z</updated>
<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>man: set private key in PreUp rather than PostUp</title>
<updated>2023-05-18T14:39:49Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2023-05-18T01:17:02Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-tools/commit/?id=729242a11466934f47690ddaf9a3465983b859e5'/>
<id>urn:sha1:729242a11466934f47690ddaf9a3465983b859e5</id>
<content type='text'>
This is probably more sensible, since there's no point in letting
traffic flow before the interface is configured.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>man: mention BSD debugging</title>
<updated>2021-05-06T10:54:29Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2021-05-06T10:54:29Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-tools/commit/?id=197689a3cd310859a194ec0bebe6bf50c97171ba'/>
<id>urn:sha1:197689a3cd310859a194ec0bebe6bf50c97171ba</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>man: LOG_LEVEL variables changed nae</title>
<updated>2021-01-26T22:02:37Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2021-01-26T22:02:37Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-tools/commit/?id=f97e81c0940606334baebda232c24b7af4717ec8'/>
<id>urn:sha1:f97e81c0940606334baebda232c24b7af4717ec8</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>man: wg-quick: use syncconf instead of addconf for strip example</title>
<updated>2020-07-28T12:19:10Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2020-07-28T08:57:54Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-tools/commit/?id=b4a8a18797335de6d3d416e14a2ad769219426db'/>
<id>urn:sha1:b4a8a18797335de6d3d416e14a2ad769219426db</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>wg-quick: support dns search domains</title>
<updated>2020-05-09T06:29:53Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2020-05-09T05:15:50Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-tools/commit/?id=7f236c79570642d466c5acab890b26c3a07f4f7a'/>
<id>urn:sha1:7f236c79570642d466c5acab890b26c3a07f4f7a</id>
<content type='text'>
If DNS= has an IP in it, treat it as a DNS server. If DNS= has a non-IP
in it, treat it as a DNS search domain.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>man: add a warning to the SaveConfig description</title>
<updated>2020-03-05T13:10:17Z</updated>
<author>
<name>Luis Ressel</name>
<email>aranea@aixah.de</email>
</author>
<published>2020-02-24T12:00:08Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-tools/commit/?id=828ffc88cd6d6813a82520640d09e7827bf2dcd2'/>
<id>urn:sha1:828ffc88cd6d6813a82520640d09e7827bf2dcd2</id>
<content type='text'>
Signed-off-by: Luis Ressel &lt;aranea@aixah.de&gt;
[zx2c4: slightly adjusted wording]
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>man: backlink wg-quick(8) in wg(8)</title>
<updated>2020-02-12T14:46:23Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2020-02-12T14:46:23Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-tools/commit/?id=bd4f84737258b78a3a4cdcbaddb94b263268efdc'/>
<id>urn:sha1:bd4f84737258b78a3a4cdcbaddb94b263268efdc</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>man: fix grammar in wg(8) and wg-quick(8)</title>
<updated>2020-02-08T21:23:16Z</updated>
<author>
<name>Kai Haberzettl</name>
<email>khaberz@gmail.com</email>
</author>
<published>2020-02-08T20:23:47Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-tools/commit/?id=6fabf9c2fbd056c8c6d5ee9ffd69685aab6baaeb'/>
<id>urn:sha1:6fabf9c2fbd056c8c6d5ee9ffd69685aab6baaeb</id>
<content type='text'>
This fixes a few grammatical errors.

Signed-off-by: Kai Haberzettl &lt;khaberz@gmail.com&gt;
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>man: document dynamic debug trick for Linux</title>
<updated>2020-01-31T22:17:59Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2020-01-31T22:17:12Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-tools/commit/?id=27c885ff0844c3391a8fc4ef1165edb354455ec5'/>
<id>urn:sha1:27c885ff0844c3391a8fc4ef1165edb354455ec5</id>
<content type='text'>
This comes up occasionally, so it may be useful to mention its
possibility in the man page. At least the Arch Linux and Ubuntu kernels
support dynamic debugging, so this advise will at least help somebody.

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