<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tailscale/wgengine/netstack, branch bradfitz/gui_netmap</title>
<subtitle>The easiest, most secure way to use WireGuard and 2FA</subtitle>
<id>http://git.waynecole.info/tailscale/atom?h=bradfitz%2Fgui_netmap</id>
<link rel='self' href='http://git.waynecole.info/tailscale/atom?h=bradfitz%2Fgui_netmap'/>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/'/>
<updated>2023-06-12T19:56:07Z</updated>
<entry>
<title>ipn/ipnlocal,wgengine/netstack: move LocalBackend specifc serving logic to LocalBackend</title>
<updated>2023-06-12T19:56:07Z</updated>
<author>
<name>Maisem Ali</name>
<email>maisem@tailscale.com</email>
</author>
<published>2023-06-08T23:57:40Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=fe95d81b43df14c7b4dcf68c764816a430206d24'/>
<id>urn:sha1:fe95d81b43df14c7b4dcf68c764816a430206d24</id>
<content type='text'>
The netstack code had a bunch of logic to figure out if the LocalBackend should handle an
incoming connection and then would call the function directly on LocalBackend. Move that
logic to LocalBackend and refactor the methods to return conn handlers.

Updates #cleanup

Signed-off-by: Maisem Ali &lt;maisem@tailscale.com&gt;
</content>
</entry>
<entry>
<title>wgengine/netstack: increase maxInFlightConnectionAttempts</title>
<updated>2023-06-12T19:00:38Z</updated>
<author>
<name>Denton Gentry</name>
<email>dgentry@tailscale.com</email>
</author>
<published>2023-06-12T14:08:06Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=5b110685fb789487f8cc546a0d2b481f68b7e74b'/>
<id>urn:sha1:5b110685fb789487f8cc546a0d2b481f68b7e74b</id>
<content type='text'>
Address reports of subnet router instability when running in
`--tun=userspace-networking` mode.

Fixes https://github.com/tailscale/corp/issues/12184

Signed-off-by: Denton Gentry &lt;dgentry@tailscale.com&gt;
</content>
</entry>
<entry>
<title>wgengine/netstack: use ping6 on BSD platforms</title>
<updated>2023-05-28T16:50:21Z</updated>
<author>
<name>Denton Gentry</name>
<email>dgentry@tailscale.com</email>
</author>
<published>2023-05-28T05:47:38Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=399a80785e9968a3b0007c5ab3d20a339d18377e'/>
<id>urn:sha1:399a80785e9968a3b0007c5ab3d20a339d18377e</id>
<content type='text'>
Various BSD-derived operating systems including macOS and FreeBSD
require that ping6 be used for IPv6 destinations. The "ping" command
does not understand an IPv6 destination.

FreeBSD 13.x and later do handle IPv6 in the regular ping command,
but also retain a ping6 command. We use ping6 on all versions of
FreeBSD.

Fixes https://github.com/tailscale/tailscale/issues/8225

Signed-off-by: Denton Gentry &lt;dgentry@tailscale.com&gt;
</content>
</entry>
<entry>
<title>tsd: add package with System type to unify subsystem init, discovery</title>
<updated>2023-05-04T21:21:59Z</updated>
<author>
<name>Brad Fitzpatrick</name>
<email>bradfitz@tailscale.com</email>
</author>
<published>2023-05-03T20:57:17Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=6e967446e412a5f54d9a5888d6514520ff4e40ae'/>
<id>urn:sha1:6e967446e412a5f54d9a5888d6514520ff4e40ae</id>
<content type='text'>
This is part of an effort to clean up tailscaled initialization between
tailscaled, tailscaled Windows service, tsnet, and the mac GUI.

Updates #8036

Signed-off-by: Brad Fitzpatrick &lt;bradfitz@tailscale.com&gt;
</content>
</entry>
<entry>
<title>wgengine/netstack: fix data-race on startup</title>
<updated>2023-04-10T16:13:21Z</updated>
<author>
<name>James Tucker</name>
<email>james@tailscale.com</email>
</author>
<published>2023-04-10T04:02:39Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=fb18af556419ad1c09a90d6fe5c7246f4227391d'/>
<id>urn:sha1:fb18af556419ad1c09a90d6fe5c7246f4227391d</id>
<content type='text'>
Running tailscaled with the race detector enabled immediately fires on
this field, as it is updated after first read.

Updates #cleanup

Signed-off-by: James Tucker &lt;james@tailscale.com&gt;
</content>
</entry>
<entry>
<title>envknob,net/tstun,wgengine: use TS_DEBUG_MTU consistently</title>
<updated>2023-03-30T21:26:10Z</updated>
<author>
<name>James Tucker</name>
<email>james@tailscale.com</email>
</author>
<published>2023-03-30T17:37:06Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=40fa2a420c3681bda68762c1ba461852b868ab0c'/>
<id>urn:sha1:40fa2a420c3681bda68762c1ba461852b868ab0c</id>
<content type='text'>
Noted on #5915 TS_DEBUG_MTU was not used consistently everywhere.
Extract the default into a function that can apply this centrally and
use it everywhere.

Added envknob.Lookup{Int,Uint}Sized to make it easier to keep CodeQL
happy when using converted values.

Updates #5915

Signed-off-by: James Tucker &lt;james@tailscale.com&gt;
</content>
</entry>
<entry>
<title>wgengine/netstack: do not send packets to netstack after close</title>
<updated>2023-03-29T02:55:45Z</updated>
<author>
<name>James Tucker</name>
<email>james@tailscale.com</email>
</author>
<published>2023-03-29T02:10:41Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=c628132b34f18fc346359bca5db6da0576df73c4'/>
<id>urn:sha1:c628132b34f18fc346359bca5db6da0576df73c4</id>
<content type='text'>
Use the local context on Impl to check for shut down state in order to
drop rather than inject packets after close has begun.

Netstack sets endpoint.dispatcher to nil during shutdown. After the
recent adjustment in 920ec69241930c352818b0bf3eab20e62df93ed1 we now
wait for netstack to fully shutdown before we release tests. This means
that we may continue to accept packets and attempt to inject them, which
we must prevent in order to avoid nil pointer panic.

References google/gvisor#8765
Fixes #7715

Signed-off-by: James Tucker &lt;james@tailscale.com&gt;
</content>
</entry>
<entry>
<title>tsnet,wgenegine/netstack: add test and fix resource leaks</title>
<updated>2023-03-27T19:13:12Z</updated>
<author>
<name>Maisem Ali</name>
<email>maisem@tailscale.com</email>
</author>
<published>2023-03-27T18:37:50Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=920ec69241930c352818b0bf3eab20e62df93ed1'/>
<id>urn:sha1:920ec69241930c352818b0bf3eab20e62df93ed1</id>
<content type='text'>
We were not closing the http.Server and were also not waiting for
netstack to fully close.

Signed-off-by: Maisem Ali &lt;maisem@tailscale.com&gt;
</content>
</entry>
<entry>
<title>net/tstun: rename filterIn/filterOut methods to be more descriptive</title>
<updated>2023-03-23T23:54:12Z</updated>
<author>
<name>Maisem Ali</name>
<email>maisem@tailscale.com</email>
</author>
<published>2023-03-16T16:29:14Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=535fad16f8e95e156cadaa2de63ae78ea5c394d7'/>
<id>urn:sha1:535fad16f8e95e156cadaa2de63ae78ea5c394d7</id>
<content type='text'>
Updates tailscale/corp#8020

Signed-off-by: Maisem Ali &lt;maisem@tailscale.com&gt;
</content>
</entry>
<entry>
<title>all: pass log IDs as the proper type rather than strings</title>
<updated>2023-03-23T18:26:55Z</updated>
<author>
<name>Will Norris</name>
<email>will@tailscale.com</email>
</author>
<published>2023-03-23T17:49:56Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=57a008a1e17438ffd7b30cd8d8f16e4097ab131f'/>
<id>urn:sha1:57a008a1e17438ffd7b30cd8d8f16e4097ab131f</id>
<content type='text'>
This change focuses on the backend log ID, which is the mostly commonly
used in the client.  Tests which don't seem to make use of the log ID
just use the zero value.

Signed-off-by: Will Norris &lt;will@tailscale.com&gt;
</content>
</entry>
</feed>
