<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-go, branch jd/netns-specific-uapi</title>
<subtitle>Go implementation of WireGuard</subtitle>
<id>https://git.zx2c4.com/wireguard-go/atom/?h=jd%2Fnetns-specific-uapi</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-go/atom/?h=jd%2Fnetns-specific-uapi'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-go/'/>
<updated>2020-05-02T05:46:20Z</updated>
<entry>
<title>uapi: linux: put sock files in netns-specific subdir</title>
<updated>2020-05-02T05:46:20Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2020-05-02T05:39:43Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-go/commit/?id=9e1d4865cb618eac014782f1c470f666c69b4338'/>
<id>urn:sha1:9e1d4865cb618eac014782f1c470f666c69b4338</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>wgcfg: remove for now</title>
<updated>2020-05-02T04:55:35Z</updated>
<author>
<name>David Crawshaw</name>
<email>crawshaw@tailscale.com</email>
</author>
<published>2020-05-02T04:55:34Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-go/commit/?id=eb897a7dd8427b87553a2e634b305ff6a40a995c'/>
<id>urn:sha1:eb897a7dd8427b87553a2e634b305ff6a40a995c</id>
<content type='text'>
Going to develop this on a branch and bring it in all at once.

Signed-off-by: David Crawshaw &lt;crawshaw@tailscale.com&gt;
</content>
</entry>
<entry>
<title>wgcfg: remove JSON marshal methods</title>
<updated>2020-05-01T15:56:07Z</updated>
<author>
<name>David Crawshaw</name>
<email>crawshaw@tailscale.com</email>
</author>
<published>2020-05-01T15:38:59Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-go/commit/?id=3636c2ec1261545768095a1e2b98e250d8ae0751'/>
<id>urn:sha1:3636c2ec1261545768095a1e2b98e250d8ae0751</id>
<content type='text'>
Followup from earlier code review.

Signed-off-by: David Crawshaw &lt;crawshaw@tailscale.com&gt;
</content>
</entry>
<entry>
<title>device: use atomic access for unlocked keypair.next</title>
<updated>2020-05-01T15:16:08Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2020-04-06T00:51:15Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-go/commit/?id=682401a17792d2508aca967834acef4c2897b8e4'/>
<id>urn:sha1:682401a17792d2508aca967834acef4c2897b8e4</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>wgcfg: rename Key to PublicKey</title>
<updated>2020-05-01T14:52:01Z</updated>
<author>
<name>David Crawshaw</name>
<email>crawshaw@tailscale.com</email>
</author>
<published>2020-04-07T05:49:47Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-go/commit/?id=1ecbb3313cbac6ad2db09ecca728a835568fcdd8'/>
<id>urn:sha1:1ecbb3313cbac6ad2db09ecca728a835568fcdd8</id>
<content type='text'>
A few minor review cleanups while here (e.g. remove unused LessThan).

Signed-off-by: David Crawshaw &lt;crawshaw@tailscale.com&gt;
</content>
</entry>
<entry>
<title>device: add nil check before convert typed error back</title>
<updated>2020-05-01T14:49:10Z</updated>
<author>
<name>Wenxuan Zhao</name>
<email>viz@linux.com</email>
</author>
<published>2020-04-18T14:27:39Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-go/commit/?id=75a41b24ad2937169a6b4d0a2909dac1ffff726f'/>
<id>urn:sha1:75a41b24ad2937169a6b4d0a2909dac1ffff726f</id>
<content type='text'>
Since errors.As(err, target) returns false when err is nil,
which cause status set to 1 when no error occurs for Ipc{Get,Set}Operation.

Signed-off-by: Wenxuan Zhao &lt;viz@linux.com&gt;
</content>
</entry>
<entry>
<title>device: move stats fields back down and add test diagnostics</title>
<updated>2020-04-07T05:55:53Z</updated>
<author>
<name>David Crawshaw</name>
<email>crawshaw@tailscale.com</email>
</author>
<published>2020-04-07T04:52:17Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-go/commit/?id=a4657f996d98378c06cc7da4d2c69539c19dae32'/>
<id>urn:sha1:a4657f996d98378c06cc7da4d2c69539c19dae32</id>
<content type='text'>
This reverts the movement of fields from d49f4e9.
That commit was cherry-picked from another branch where a field
had changed and misaligned the atomic fields. After cherry-picking,
moving the fields was no longer necessary but got dragged along.

Signed-off-by: David Crawshaw &lt;crawshaw@tailscale.com&gt;
</content>
</entry>
<entry>
<title>Revert "device: use wgcfg key types"</title>
<updated>2020-04-07T05:52:41Z</updated>
<author>
<name>David Crawshaw</name>
<email>crawshaw@tailscale.com</email>
</author>
<published>2020-04-07T05:52:04Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-go/commit/?id=f6020a2085d9a6b911c00875752bb40bfe629e00'/>
<id>urn:sha1:f6020a2085d9a6b911c00875752bb40bfe629e00</id>
<content type='text'>
More cleanup work of wgcfg to do before bringing this in.

This reverts commit 83ca9b47b63b4d07630c4d579faf1111e42537d3.
</content>
</entry>
<entry>
<title>device: remove racey read in session key rotation.</title>
<updated>2020-04-03T00:35:28Z</updated>
<author>
<name>David Anderson</name>
<email>danderson@tailscale.com</email>
</author>
<published>2020-03-11T00:52:50Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-go/commit/?id=ad256f0b739b835e8836f84571424cb4adc01b1e'/>
<id>urn:sha1:ad256f0b739b835e8836f84571424cb4adc01b1e</id>
<content type='text'>
This code was attempting to use the "compare racily, then lock
and compare again" idiom to try and reduce lock contention.
However, that idiom is not safe to use unless the comparison
uses atomic operations, which this does not.

This change simply deletes the racy read. This makes the code
correct, but potentially increases lock contention.

Signed-off-by: David Anderson &lt;danderson@tailscale.com&gt;
</content>
</entry>
<entry>
<title>device: add debug logs describing handshake rejection</title>
<updated>2020-04-02T04:59:00Z</updated>
<author>
<name>Avery Pennarun</name>
<email>apenwarr@tailscale.com</email>
</author>
<published>2019-10-16T02:39:44Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-go/commit/?id=d54f0a61aa623548ad5a6fc3deccf4beca9a0c5a'/>
<id>urn:sha1:d54f0a61aa623548ad5a6fc3deccf4beca9a0c5a</id>
<content type='text'>
Useful in testing when bad network stacks repeat or
batch large numbers of packets.

Signed-off-by: Avery Pennarun &lt;apenwarr@tailscale.com&gt;
</content>
</entry>
</feed>
