<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-go/device, branch jd/multibuffer</title>
<subtitle>Go implementation of WireGuard</subtitle>
<id>https://git.zx2c4.com/wireguard-go/atom/device?h=jd%2Fmultibuffer</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-go/atom/device?h=jd%2Fmultibuffer'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-go/'/>
<updated>2019-07-01T08:14:43Z</updated>
<entry>
<title>device: create beginnings of conn_windows</title>
<updated>2019-07-01T08:14:43Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2019-07-01T08:14:43Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-go/commit/?id=68331b4b2ed7935fa9bd95cffcd9e1160039d23a'/>
<id>urn:sha1:68331b4b2ed7935fa9bd95cffcd9e1160039d23a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>device: prepare for multiple send/receive</title>
<updated>2019-07-01T07:39:08Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2019-07-01T07:39:08Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-go/commit/?id=647d7b7157b6957b61ebe6be60f49828c025a4d7'/>
<id>urn:sha1:647d7b7157b6957b61ebe6be60f49828c025a4d7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tun: remove TUN prefix from types to reduce stutter elsewhere</title>
<updated>2019-06-14T16:35:57Z</updated>
<author>
<name>Matt Layher</name>
<email>mdlayher@gmail.com</email>
</author>
<published>2019-06-10T21:33:40Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-go/commit/?id=1f48971a80f48257e478e532f6971d0557026120'/>
<id>urn:sha1:1f48971a80f48257e478e532f6971d0557026120</id>
<content type='text'>
Signed-off-by: Matt Layher &lt;mdlayher@gmail.com&gt;
</content>
</entry>
<entry>
<title>device: update transfer counters correctly</title>
<updated>2019-06-11T16:13:52Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2019-06-11T16:13:52Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-go/commit/?id=3371f8dac6fe6bbd7522a8316b50f6473012e302'/>
<id>urn:sha1:3371f8dac6fe6bbd7522a8316b50f6473012e302</id>
<content type='text'>
The rule is to always update them to the full packet size minus UDP/IP
encapsulation for all authenticated packet types.
</content>
</entry>
<entry>
<title>device: remove redundant return statements</title>
<updated>2019-06-04T11:01:52Z</updated>
<author>
<name>Matt Layher</name>
<email>mdlayher@gmail.com</email>
</author>
<published>2019-06-03T20:25:32Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-go/commit/?id=43a4589043faa6f81c2148e462e2b739e22ccb55'/>
<id>urn:sha1:43a4589043faa6f81c2148e462e2b739e22ccb55</id>
<content type='text'>
More staticcheck fixes:

$ staticcheck ./... | grep S1023
device/noise-helpers.go:45:2: redundant return statement (S1023)
device/noise-helpers.go:54:2: redundant return statement (S1023)
device/noise-helpers.go:64:2: redundant return statement (S1023)

Signed-off-by: Matt Layher &lt;mdlayher@gmail.com&gt;
</content>
</entry>
<entry>
<title>device: use bytes.Equal for equality check, simplify assertEqual</title>
<updated>2019-06-04T11:01:52Z</updated>
<author>
<name>Matt Layher</name>
<email>mdlayher@gmail.com</email>
</author>
<published>2019-06-03T20:44:06Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-go/commit/?id=8d76ac8cc47cbe4072b2f5a48ede21c3e2d5ced0'/>
<id>urn:sha1:8d76ac8cc47cbe4072b2f5a48ede21c3e2d5ced0</id>
<content type='text'>
Signed-off-by: Matt Layher &lt;mdlayher@gmail.com&gt;
</content>
</entry>
<entry>
<title>device, ratelimiter: replace uses of time.Now().Sub() with time.Since()</title>
<updated>2019-06-03T20:15:41Z</updated>
<author>
<name>Matt Layher</name>
<email>mdlayher@gmail.com</email>
</author>
<published>2019-06-03T19:46:46Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-go/commit/?id=18b6627f33883e28dd69b2990c52359002856694'/>
<id>urn:sha1:18b6627f33883e28dd69b2990c52359002856694</id>
<content type='text'>
Simplification found by staticcheck:

$ staticcheck ./... | grep S1012
device/cookie.go:90:5: should use time.Since instead of time.Now().Sub (S1012)
device/cookie.go:127:5: should use time.Since instead of time.Now().Sub (S1012)
device/cookie.go:242:5: should use time.Since instead of time.Now().Sub (S1012)
device/noise-protocol.go:304:13: should use time.Since instead of time.Now().Sub (S1012)
device/receive.go:82:46: should use time.Since instead of time.Now().Sub (S1012)
device/send.go:132:5: should use time.Since instead of time.Now().Sub (S1012)
device/send.go:139:5: should use time.Since instead of time.Now().Sub (S1012)
device/send.go:235:59: should use time.Since instead of time.Now().Sub (S1012)
device/send.go:393:9: should use time.Since instead of time.Now().Sub (S1012)
ratelimiter/ratelimiter.go:79:10: should use time.Since instead of time.Now().Sub (S1012)
ratelimiter/ratelimiter.go:87:10: should use time.Since instead of time.Now().Sub (S1012)

Change applied using:

$ find . -type f -name "*.go" -exec sed -i "s/Now().Sub(/Since(/g" {} \;

Signed-off-by: Matt Layher &lt;mdlayher@gmail.com&gt;
</content>
</entry>
<entry>
<title>device: add SendKeepalivesToPeersWithCurrentKeypair for handover</title>
<updated>2019-05-30T13:16:16Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2019-05-30T13:15:54Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-go/commit/?id=d9f995209c3cc7bda242e8752680d78684fd62e4'/>
<id>urn:sha1:d9f995209c3cc7bda242e8752680d78684fd62e4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>device, tun: rearrange code and fix device tests</title>
<updated>2019-05-29T16:34:55Z</updated>
<author>
<name>Matt Layher</name>
<email>mdlayher@gmail.com</email>
</author>
<published>2019-05-29T16:18:20Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-go/commit/?id=32912dc778a0b98637fbfe010b31bd0b746662e6'/>
<id>urn:sha1:32912dc778a0b98637fbfe010b31bd0b746662e6</id>
<content type='text'>
Signed-off-by: Matt Layher &lt;mdlayher@gmail.com&gt;
</content>
</entry>
<entry>
<title>device: darwin actually doesn't need bound interfaces</title>
<updated>2019-05-25T16:10:52Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2019-05-25T16:10:52Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-go/commit/?id=fbcd995ec1d2d3705c7665192341d05e35d21917'/>
<id>urn:sha1:fbcd995ec1d2d3705c7665192341d05e35d21917</id>
<content type='text'>
</content>
</entry>
</feed>
