<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tailscale/types/netmap/netmap.go, branch bradfitz/avoid_initial</title>
<subtitle>The easiest, most secure way to use WireGuard and 2FA</subtitle>
<id>http://git.waynecole.info/tailscale/atom?h=bradfitz%2Favoid_initial</id>
<link rel='self' href='http://git.waynecole.info/tailscale/atom?h=bradfitz%2Favoid_initial'/>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/'/>
<updated>2024-11-11T21:22:34Z</updated>
<entry>
<title>all: use iterators over slice views more</title>
<updated>2024-11-11T21:22:34Z</updated>
<author>
<name>Brad Fitzpatrick</name>
<email>bradfitz@tailscale.com</email>
</author>
<published>2024-11-11T21:08:47Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=4e0fc037e67a86a0734f025e041ba7f04f4cc3d4'/>
<id>urn:sha1:4e0fc037e67a86a0734f025e041ba7f04f4cc3d4</id>
<content type='text'>
This gets close to all of the remaining ones.

Updates #12912

Change-Id: I9c672bbed2654a6c5cab31e0cbece6c107d8c6fa
Signed-off-by: Brad Fitzpatrick &lt;bradfitz@tailscale.com&gt;
</content>
</entry>
<entry>
<title>net/ipset, wgengine/filter/filtertype: add split-out packages</title>
<updated>2024-06-16T22:25:23Z</updated>
<author>
<name>Brad Fitzpatrick</name>
<email>bradfitz@tailscale.com</email>
</author>
<published>2024-06-16T18:34:11Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=86e0f9b91268ba49214accea80f0b81e23579506'/>
<id>urn:sha1:86e0f9b91268ba49214accea80f0b81e23579506</id>
<content type='text'>
This moves NewContainsIPFunc from tsaddr to new ipset package.

And wgengine/filter types gets split into wgengine/filter/filtertype,
so netmap (and thus the CLI, etc) doesn't need to bring in ipset,
bart, etc.

Then add a test making sure the CLI deps don't regress.

Updates #1278

Change-Id: Ia246d6d9502bbefbdeacc4aef1bed9c8b24f54d5
Signed-off-by: Brad Fitzpatrick &lt;bradfitz@tailscale.com&gt;
</content>
</entry>
<entry>
<title>ipn,wgengine: remove vestigial Prefs.AllowSingleHosts</title>
<updated>2024-05-18T03:50:19Z</updated>
<author>
<name>Brad Fitzpatrick</name>
<email>bradfitz@tailscale.com</email>
</author>
<published>2024-05-17T20:47:57Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=964282d34f06ecc06ce644769c66b0b31d118340'/>
<id>urn:sha1:964282d34f06ecc06ce644769c66b0b31d118340</id>
<content type='text'>
It was requested by the first customer 4-5 years ago and only used
for a brief moment of time. We later added netmap visibility trimming
which removes the need for this.

It's been hidden by the CLI for quite some time and never documented
anywhere else.

This keeps the CLI flag, though, out of caution. It just returns an
error if it's set to anything but true (its default).

Fixes #12058

Change-Id: I7514ba572e7b82519b04ed603ff9f3bdbaecfda7
Signed-off-by: Brad Fitzpatrick &lt;bradfitz@tailscale.com&gt;
</content>
</entry>
<entry>
<title>all: use Go 1.22 range-over-int</title>
<updated>2024-04-16T22:32:38Z</updated>
<author>
<name>Brad Fitzpatrick</name>
<email>bradfitz@tailscale.com</email>
</author>
<published>2024-04-16T20:15:13Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=7c1d6e35a5863d58f3727af07dea0578fca87030'/>
<id>urn:sha1:7c1d6e35a5863d58f3727af07dea0578fca87030</id>
<content type='text'>
Updates #11058

Change-Id: I35e7ef9b90e83cac04ca93fd964ad00ed5b48430
Signed-off-by: Brad Fitzpatrick &lt;bradfitz@tailscale.com&gt;
</content>
</entry>
<entry>
<title>ipn/ipnlocal, types/netmap: replace hasCapability with set lookup on NetworkMap</title>
<updated>2024-03-22T22:30:46Z</updated>
<author>
<name>Brad Fitzpatrick</name>
<email>bradfitz@tailscale.com</email>
</author>
<published>2024-03-22T21:33:41Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=b104688e04797162fb854eb42158f983d05dc6cc'/>
<id>urn:sha1:b104688e04797162fb854eb42158f983d05dc6cc</id>
<content type='text'>
When node attributes were super rare, the O(n) slice scans looking for
node attributes was more acceptable. But now more code and more users
are using increasingly more node attributes. Time to make it a map.

Noticed while working on tailscale/corp#17879

Updates #cleanup

Change-Id: Ic17c80341f418421002fbceb47490729048756d2
Signed-off-by: Brad Fitzpatrick &lt;bradfitz@tailscale.com&gt;
</content>
</entry>
<entry>
<title>controlclient,tailcfg,types: expose MaxKeyDuration via localapi (#10401)</title>
<updated>2024-01-05T12:06:12Z</updated>
<author>
<name>James 'zofrex' Sanderson</name>
<email>jsanderson@tailscale.com</email>
</author>
<published>2024-01-05T12:06:12Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=124dc10261eaa62cbb52ed3c7c17f48a32a0e69d'/>
<id>urn:sha1:124dc10261eaa62cbb52ed3c7c17f48a32a0e69d</id>
<content type='text'>
Updates tailscale/corp#16016

Signed-off-by: James Sanderson &lt;jsanderson@tailscale.com&gt;</content>
</entry>
<entry>
<title>util/cmpx: remove code that's in the stdlib now</title>
<updated>2023-12-19T14:18:53Z</updated>
<author>
<name>Andrew Dunham</name>
<email>andrew@du.nham.ca</email>
</author>
<published>2023-12-18T22:43:01Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=a661287c4bc61d4b0a0b26a32498bddb75fe1f74'/>
<id>urn:sha1:a661287c4bc61d4b0a0b26a32498bddb75fe1f74</id>
<content type='text'>
The cmpx.Compare function (and associated interface) are now available
in the standard library as cmp.Compare. Remove our version of it and use
the version from the standard library.

Updates #cleanup

Signed-off-by: Andrew Dunham &lt;andrew@du.nham.ca&gt;
Change-Id: I4be3ac63d466c05eb7a0babb25cb0d41816fbd53
</content>
</entry>
<entry>
<title>ipn/ipnlocal,cmd/tailscale: persist tailnet name in user profile</title>
<updated>2023-11-17T22:00:11Z</updated>
<author>
<name>Marwan Sulaiman</name>
<email>marwan@tailscale.com</email>
</author>
<published>2023-11-17T02:40:23Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=2dc0645368d036c9233909ecfa53df73fa070d3d'/>
<id>urn:sha1:2dc0645368d036c9233909ecfa53df73fa070d3d</id>
<content type='text'>
This PR starts to persist the NetMap tailnet name in SetPrefs so that tailscaled
clients can use this value to disambiguate fast user switching from one tailnet
to another that are under the same exact login. We will also try to backfill
this information during backend starts and profile switches so that users don't
have to re-authenticate their profile. The first client to use this new
information is the CLI in 'tailscale switch -list' which now uses text/tabwriter
to display the ID, Tailnet, and Account. Since account names are ambiguous, we
allow the user to pass 'tailscale switch ID' to specify the exact tailnet they
want to switch to.

Updates #9286

Signed-off-by: Marwan Sulaiman &lt;marwan@tailscale.com&gt;
</content>
</entry>
<entry>
<title>tailcfg, all: use []netip.AddrPort instead of []string for Endpoints</title>
<updated>2023-10-02T01:23:02Z</updated>
<author>
<name>Brad Fitzpatrick</name>
<email>bradfitz@tailscale.com</email>
</author>
<published>2023-10-01T04:05:02Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=425cf9aa9d7b0d2a1bd03f45d9665de1ecab9a7c'/>
<id>urn:sha1:425cf9aa9d7b0d2a1bd03f45d9665de1ecab9a7c</id>
<content type='text'>
It's JSON wire compatible.

Updates #cleanup

Change-Id: Ifa5c17768fec35b305b06d75eb5f0611c8a135a6
Signed-off-by: Brad Fitzpatrick &lt;bradfitz@tailscale.com&gt;
</content>
</entry>
<entry>
<title>tailcfg: add NodeCapMap</title>
<updated>2023-09-18T19:00:34Z</updated>
<author>
<name>Maisem Ali</name>
<email>maisem@tailscale.com</email>
</author>
<published>2023-09-18T15:52:22Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=19a9d9037f9770adb2cc4b812aeb1f1ff02da5af'/>
<id>urn:sha1:19a9d9037f9770adb2cc4b812aeb1f1ff02da5af</id>
<content type='text'>
Like PeerCapMap, add a field to `tailcfg.Node` which provides
a map of Capability to raw JSON messages which are deferred to be
parsed later by the application code which cares about the specific
capabilities. This effectively allows us to prototype new behavior
without having to commit to a schema in tailcfg, and it also opens up
the possibilities to develop custom behavior in tsnet applications w/o
having to plumb through application specific data in the MapResponse.

Updates #4217

Signed-off-by: Maisem Ali &lt;maisem@tailscale.com&gt;
</content>
</entry>
</feed>
