<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-go/device, branch jd/netns-specific-uapi</title>
<subtitle>Go implementation of WireGuard</subtitle>
<id>https://git.zx2c4.com/wireguard-go/atom/device?h=jd%2Fnetns-specific-uapi</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-go/atom/device?h=jd%2Fnetns-specific-uapi'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-go/'/>
<updated>2020-05-01T15:16:08Z</updated>
<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>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>
<entry>
<title>device: use wgcfg key types</title>
<updated>2020-04-02T04:53:10Z</updated>
<author>
<name>David Crawshaw</name>
<email>crawshaw@tailscale.com</email>
</author>
<published>2020-02-23T22:18:00Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-go/commit/?id=83ca9b47b63b4d07630c4d579faf1111e42537d3'/>
<id>urn:sha1:83ca9b47b63b4d07630c4d579faf1111e42537d3</id>
<content type='text'>
Signed-off-by: David Crawshaw &lt;crawshaw@tailscale.com&gt;
</content>
</entry>
<entry>
<title>device: return generic error from Ipc{Get,Set}Operation.</title>
<updated>2020-04-02T03:44:52Z</updated>
<author>
<name>David Anderson</name>
<email>danderson@tailscale.com</email>
</author>
<published>2020-04-01T16:27:02Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-go/commit/?id=825dfdbe2406283d23e93c84358def1684edba64'/>
<id>urn:sha1:825dfdbe2406283d23e93c84358def1684edba64</id>
<content type='text'>
This makes uapi.go's public API conform to Go style in terms
of error types.

Signed-off-by: David Anderson &lt;danderson@tailscale.com&gt;
</content>
</entry>
<entry>
<title>device: give handshake state a type</title>
<updated>2020-04-02T03:29:50Z</updated>
<author>
<name>David Crawshaw</name>
<email>crawshaw@tailscale.com</email>
</author>
<published>2020-03-05T01:58:39Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-go/commit/?id=369be60ceb6a0f6dbbb2fd618e990a6025ea6302'/>
<id>urn:sha1:369be60ceb6a0f6dbbb2fd618e990a6025ea6302</id>
<content type='text'>
And unexport handshake constants.

Signed-off-by: David Crawshaw &lt;crawshaw@tailscale.com&gt;
</content>
</entry>
<entry>
<title>tuntest: split out testing package</title>
<updated>2020-04-01T03:35:05Z</updated>
<author>
<name>David Crawshaw</name>
<email>crawshaw@tailscale.com</email>
</author>
<published>2020-01-07T15:43:17Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-go/commit/?id=e852f4c0dfa59557777ec9547fc1463788db59ee'/>
<id>urn:sha1:e852f4c0dfa59557777ec9547fc1463788db59ee</id>
<content type='text'>
This code is useful to other packages writing tests.

Signed-off-by: David Crawshaw &lt;crawshaw@tailscale.com&gt;
</content>
</entry>
</feed>
