<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-go/tun/tun_linux.go, branch js/sample-api</title>
<subtitle>Go implementation of WireGuard</subtitle>
<id>https://git.zx2c4.com/wireguard-go/atom/tun/tun_linux.go?h=js%2Fsample-api</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-go/atom/tun/tun_linux.go?h=js%2Fsample-api'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-go/'/>
<updated>2020-05-02T08:08:26Z</updated>
<entry>
<title>global: update header comments and modules</title>
<updated>2020-05-02T08:08:26Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2020-05-02T08:08:26Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-go/commit/?id=db0aa39b765243c6a4ac9a2e348311df9517c0bf'/>
<id>urn:sha1:db0aa39b765243c6a4ac9a2e348311df9517c0bf</id>
<content type='text'>
Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>tun: return a better error message if /dev/net/tun doesn't exist</title>
<updated>2020-05-02T07:50:47Z</updated>
<author>
<name>Brad Fitzpatrick</name>
<email>bradfitz@tailscale.com</email>
</author>
<published>2020-03-18T20:23:00Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-go/commit/?id=2fb0a712f0ca2f9a922cdc4f1f47b88c3ee70048'/>
<id>urn:sha1:2fb0a712f0ca2f9a922cdc4f1f47b88c3ee70048</id>
<content type='text'>
It was just returning "no such file or directory" (the String of the
syscall.Errno returned by CreateTUN).

Signed-off-by: Brad Fitzpatrick &lt;bradfitz@tailscale.com&gt;
</content>
</entry>
<entry>
<title>tun: NetlinkListener: don't send EventDown before sending EventUp</title>
<updated>2020-05-02T07:46:42Z</updated>
<author>
<name>Avery Pennarun</name>
<email>apenwarr@tailscale.com</email>
</author>
<published>2019-11-06T08:28:02Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-go/commit/?id=c76b8184663e4b80ff8c26aafe9ec0ec91ff9116'/>
<id>urn:sha1:c76b8184663e4b80ff8c26aafe9ec0ec91ff9116</id>
<content type='text'>
This works around a startup race condition when competing with
HackListener, which is trying to do the same job. If HackListener
detects that the tundev is running while there is still an event in the
netlink queue that says it isn't running, then the device receives a
string of events like
	EventUp (HackListener)
	EventDown (NetlinkListener)
	EventUp (NetlinkListener)
Unfortunately, after the first EventDown, the device stops itself,
thinking incorrectly that the administrator has downed its tundev.

The device is ignoring the initial EventDown anyway, so just don't emit
it.

Signed-off-by: Avery Pennarun &lt;apenwarr@tailscale.com&gt;
</content>
</entry>
<entry>
<title>tun: fix data race on name field</title>
<updated>2020-05-02T07:46:42Z</updated>
<author>
<name>Brad Fitzpatrick</name>
<email>bradfitz@tailscale.com</email>
</author>
<published>2020-02-28T17:10:16Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-go/commit/?id=85a45a9651d2b38e3616a7899800601656cf143e'/>
<id>urn:sha1:85a45a9651d2b38e3616a7899800601656cf143e</id>
<content type='text'>
Signed-off-by: Brad Fitzpatrick &lt;bradfitz@tailscale.com&gt;
</content>
</entry>
<entry>
<title>tun: remove unused isUp method</title>
<updated>2020-05-02T07:46:42Z</updated>
<author>
<name>Brad Fitzpatrick</name>
<email>bradfitz@tailscale.com</email>
</author>
<published>2020-02-28T16:53:29Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-go/commit/?id=abd287159e7eb7d20ee46c03d1a8cb9a645735e4'/>
<id>urn:sha1:abd287159e7eb7d20ee46c03d1a8cb9a645735e4</id>
<content type='text'>
Signed-off-by: Brad Fitzpatrick &lt;bradfitz@tailscale.com&gt;
</content>
</entry>
<entry>
<title>global: use RTMGRP_* consts from x/sys/unix</title>
<updated>2020-03-18T05:07:11Z</updated>
<author>
<name>Tobias Klauser</name>
<email>tklauser@distanz.ch</email>
</author>
<published>2020-03-04T16:21:54Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-go/commit/?id=b33219c2cfd430215f2230c15fc4c2f888a081c2'/>
<id>urn:sha1:b33219c2cfd430215f2230c15fc4c2f888a081c2</id>
<content type='text'>
Update the golang.org/x/sys/unix dependency and use the newly introduced
RTMGRP_* consts instead of using the corresponding RTNLGRP_* const to
create a mask.

Signed-off-by: Tobias Klauser &lt;tklauser@distanz.ch&gt;
</content>
</entry>
<entry>
<title>global: fix a few typos courtesy of codespell</title>
<updated>2019-10-22T09:51:25Z</updated>
<author>
<name>Jonathan Tooker</name>
<email>jonathan.tooker@netprotect.com</email>
</author>
<published>2019-10-21T20:52:26Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-go/commit/?id=f7d0edd2ecf5f7f5aed188823de0a122691a7de6'/>
<id>urn:sha1:f7d0edd2ecf5f7f5aed188823de0a122691a7de6</id>
<content type='text'>
Signed-off-by: Jonathan Tooker &lt;jonathan.tooker@netprotect.com&gt;
</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>global: fixup TODO comment spacing</title>
<updated>2019-06-06T21:00:15Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2019-06-06T21:00:15Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-go/commit/?id=eaf17becfa70c31bcfb6f195e8d68cb5b720ec4a'/>
<id>urn:sha1:eaf17becfa70c31bcfb6f195e8d68cb5b720ec4a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>global: regroup all imports</title>
<updated>2019-05-14T07:09:52Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2019-05-14T07:09:52Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-go/commit/?id=3bf41b06ae6ec9a558d3b1f1f315509ccef97010'/>
<id>urn:sha1:3bf41b06ae6ec9a558d3b1f1f315509ccef97010</id>
<content type='text'>
</content>
</entry>
</feed>
