<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tailscale/control/controlknobs/controlknobs.go, branch angott/userdefaults-reader</title>
<subtitle>The easiest, most secure way to use WireGuard and 2FA</subtitle>
<id>http://git.waynecole.info/tailscale/atom?h=angott%2Fuserdefaults-reader</id>
<link rel='self' href='http://git.waynecole.info/tailscale/atom?h=angott%2Fuserdefaults-reader'/>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/'/>
<updated>2023-09-12T19:44:35Z</updated>
<entry>
<title>control/controlknobs: move more controlknobs code from controlclient</title>
<updated>2023-09-12T19:44:35Z</updated>
<author>
<name>Brad Fitzpatrick</name>
<email>bradfitz@tailscale.com</email>
</author>
<published>2023-09-12T19:36:53Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=9203916a4aca8efa520eb326de55491c375ab742'/>
<id>urn:sha1:9203916a4aca8efa520eb326de55491c375ab742</id>
<content type='text'>
Updates #cleanup

Change-Id: I2b8b6ac97589270f307bfb20e33674894ce873b5
Signed-off-by: Brad Fitzpatrick &lt;bradfitz@tailscale.com&gt;
</content>
</entry>
<entry>
<title>control/controlclient, types/netmap: start plumbing delta netmap updates</title>
<updated>2023-09-12T19:23:24Z</updated>
<author>
<name>Brad Fitzpatrick</name>
<email>bradfitz@tailscale.com</email>
</author>
<published>2023-09-02T02:28:00Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=3af051ea27a37acd1ffc73583d5ad2b19c60edd1'/>
<id>urn:sha1:3af051ea27a37acd1ffc73583d5ad2b19c60edd1</id>
<content type='text'>
Currently only the top four most popular changes: endpoints, DERP
home, online, and LastSeen.

Updates #1909

Change-Id: I03152da176b2b95232b56acabfb55dcdfaa16b79
Signed-off-by: Brad Fitzpatrick &lt;bradfitz@tailscale.com&gt;
</content>
</entry>
<entry>
<title>ipn/ipnlocal: fix missing controlknobs.Knobs plumbing</title>
<updated>2023-09-12T13:17:14Z</updated>
<author>
<name>Brad Fitzpatrick</name>
<email>bradfitz@tailscale.com</email>
</author>
<published>2023-09-12T04:44:38Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=7c1ed38ab399b82d7b5951e47491784ba0bf97c7'/>
<id>urn:sha1:7c1ed38ab399b82d7b5951e47491784ba0bf97c7</id>
<content type='text'>
I missed connecting some controlknobs.Knobs pieces in 4e91cf20a854
resulting in that breaking control knobs entirely.

Whoops.

The fix in ipn/ipnlocal (where it makes a new controlclient) but to
atone, I also added integration tests. Those integration tests use
a new "tailscale debug control-knobs" which by itself might be useful
for future debugging.

Updates #9351

Change-Id: Id9c89c8637746d879d5da67b9ac4e0d2367a3f0d
Signed-off-by: Brad Fitzpatrick &lt;bradfitz@tailscale.com&gt;
</content>
</entry>
<entry>
<title>control/controlknobs: move ForceBackgroundSTUN to controlknobs.Knobs</title>
<updated>2023-09-12T01:11:09Z</updated>
<author>
<name>Brad Fitzpatrick</name>
<email>bradfitz@tailscale.com</email>
</author>
<published>2023-09-12T00:53:21Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=42072683d662e0e098eb13690f56cf798e893843'/>
<id>urn:sha1:42072683d662e0e098eb13690f56cf798e893843</id>
<content type='text'>
This is both more efficient (because the knobs' bool is only updated
whenever Node is changed, rarely) and also gets us one step closer to
removing a case of storing a netmap.NetworkMap in
magicsock. (eventually we want to phase out much of the use of that
type internally)

Updates #1909

Change-Id: I37e81789f94133175064fdc09984e4f3a431f1a1
Signed-off-by: Brad Fitzpatrick &lt;bradfitz@tailscale.com&gt;
</content>
</entry>
<entry>
<title>control/controlknobs, all: add plumbed Knobs type, not global variables</title>
<updated>2023-09-11T19:44:03Z</updated>
<author>
<name>Brad Fitzpatrick</name>
<email>bradfitz@tailscale.com</email>
</author>
<published>2023-09-11T19:03:39Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=4e91cf20a854d19b4c3602a54297fcd23e88e351'/>
<id>urn:sha1:4e91cf20a854d19b4c3602a54297fcd23e88e351</id>
<content type='text'>
Previously two tsnet nodes in the same process couldn't have disjoint
sets of controlknob settings from control as both would overwrite each
other's global variables.

This plumbs a new controlknobs.Knobs type around everywhere and hangs
the knobs sent by control on that instead.

Updates #9351

Change-Id: I75338646d36813ed971b4ffad6f9a8b41ec91560
Signed-off-by: Brad Fitzpatrick &lt;bradfitz@tailscale.com&gt;
</content>
</entry>
<entry>
<title>all: update copyright and license headers</title>
<updated>2023-01-27T23:36:29Z</updated>
<author>
<name>Will Norris</name>
<email>will@tailscale.com</email>
</author>
<published>2023-01-27T21:37:20Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=71029cea2ddf82007b80f465b256d027eab0f02d'/>
<id>urn:sha1:71029cea2ddf82007b80f465b256d027eab0f02d</id>
<content type='text'>
This updates all source files to use a new standard header for copyright
and license declaration.  Notably, copyright no longer includes a date,
and we now use the standard SPDX-License-Identifier header.

This commit was done almost entirely mechanically with perl, and then
some minimal manual fixes.

Updates #6865

Signed-off-by: Will Norris &lt;will@tailscale.com&gt;
</content>
</entry>
<entry>
<title>envknob: support changing envknobs post-init</title>
<updated>2022-09-15T22:04:02Z</updated>
<author>
<name>Brad Fitzpatrick</name>
<email>bradfitz@tailscale.com</email>
</author>
<published>2022-09-14T19:49:39Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=74674b110daeb2cdda6f76ad3d69ef4cfba6e5b9'/>
<id>urn:sha1:74674b110daeb2cdda6f76ad3d69ef4cfba6e5b9</id>
<content type='text'>
Updates #5114

Change-Id: Ia423fc7486e1b3f3180a26308278be0086fae49b
Signed-off-by: Brad Fitzpatrick &lt;bradfitz@tailscale.com&gt;
</content>
</entry>
<entry>
<title>syncs, all: move to using Go's new atomic types instead of ours</title>
<updated>2022-08-04T14:47:59Z</updated>
<author>
<name>Brad Fitzpatrick</name>
<email>bradfitz@tailscale.com</email>
</author>
<published>2022-08-04T04:51:02Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=4950fe60bd48ea6cba46ff6c2002a85a9c1ae8b8'/>
<id>urn:sha1:4950fe60bd48ea6cba46ff6c2002a85a9c1ae8b8</id>
<content type='text'>
Fixes #5185

Change-Id: I850dd532559af78c3895e2924f8237ccc328449d
Signed-off-by: Brad Fitzpatrick &lt;bradfitz@tailscale.com&gt;
</content>
</entry>
<entry>
<title>envknob: add new package for all the strconv.ParseBool(os.Getenv(..))</title>
<updated>2022-01-24T19:51:23Z</updated>
<author>
<name>Brad Fitzpatrick</name>
<email>bradfitz@tailscale.com</email>
</author>
<published>2022-01-24T18:52:57Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=41fd4eab5c13b12dbafc16a4496af63f20432d03'/>
<id>urn:sha1:41fd4eab5c13b12dbafc16a4496af63f20432d03</id>
<content type='text'>
A new package can also later record/report which knobs are checked and
set. It also makes the code cleaner &amp; easier to grep for env knobs.

Change-Id: Id8a123ab7539f1fadbd27e0cbeac79c2e4f09751
Signed-off-by: Brad Fitzpatrick &lt;bradfitz@tailscale.com&gt;
</content>
</entry>
<entry>
<title>control/{controlknobs,controlclient}: simplify knobs API, fix controlclient crash</title>
<updated>2021-07-16T05:34:50Z</updated>
<author>
<name>Brad Fitzpatrick</name>
<email>bradfitz@tailscale.com</email>
</author>
<published>2021-07-16T05:34:50Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/tailscale/commit/?id=171ec9f8f4e4b4751b5f07dbed6f01514597c1a0'/>
<id>urn:sha1:171ec9f8f4e4b4751b5f07dbed6f01514597c1a0</id>
<content type='text'>
From integration tests elsewhere:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x70 pc=0x845c9b]

goroutine 226 [running]:
tailscale.com/control/controlclient.(*Direct).sendMapRequest(0xc00053e1e0, 0x16670f0, 0xc000353780, 0xffffffffffffffff, 0xc0003e5f10, 0x0, 0x0)
   /home/runner/go/pkg/mod/tailscale.com@v1.1.1-0.20210715222212-1bb6abc604c1/control/controlclient/direct.go:803 +0x19bb
tailscale.com/control/controlclient.(*Direct).PollNetMap(...)
   /home/runner/go/pkg/mod/tailscale.com@v1.1.1-0.20210715222212-1bb6abc604c1/control/controlclient/direct.go:574
tailscale.com/control/controlclient.(*Auto).mapRoutine(0xc00052a1e0)
   /home/runner/go/pkg/mod/tailscale.com@v1.1.1-0.20210715222212-1bb6abc604c1/control/controlclient/auto.go:464 +0x571
created by tailscale.com/control/controlclient.(*Auto).Start
   /home/runner/go/pkg/mod/tailscale.com@v1.1.1-0.20210715222212-1bb6abc604c1/control/controlclient/auto.go:151 +0x65
exit status 2

Also remove types/opt.Bool API addition which is now unnecessary.

Signed-off-by: Brad Fitzpatrick &lt;bradfitz@tailscale.com&gt;
</content>
</entry>
</feed>
