You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/control/controlclient
Brad Fitzpatrick ac0b15356d tailcfg, control/controlclient: start moving MapResponse.DefaultAutoUpdate to a nodeattr
And fix up the TestAutoUpdateDefaults integration tests as they
weren't testing reality: the DefaultAutoUpdate is supposed to only be
relevant on the first MapResponse in the stream, but the tests weren't
testing that. They were instead injecting a 2nd+ MapResponse.

This changes the test control server to add a hook to modify the first
map response, and then makes the test control when the node goes up
and down to make new map responses.

Also, the test now runs on macOS where the auto-update feature being
disabled would've previously t.Skipped the whole test.

Updates #11502

Change-Id: If2319bd1f71e108b57d79fe500b2acedbc76e1a6
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
1 week ago
..
auto.go types/key,wgengine/magicsock,control/controlclient,ipn: add debug disco key rotation 2 weeks ago
client.go types/key,wgengine/magicsock,control/controlclient,ipn: add debug disco key rotation 2 weeks ago
controlclient_test.go control/controlclient,ipn/ipnlocal: replace State enum with boolean flags 3 weeks ago
direct.go tailcfg, control/controlclient: start moving MapResponse.DefaultAutoUpdate to a nodeattr 1 week ago
direct_test.go types/key,wgengine/magicsock,control/controlclient,ipn: add debug disco key rotation 2 weeks ago
errors.go control/controlclient, ipn: add client audit logging (#14950) 9 months ago
map.go types/netmap,*: remove some redundant fields from NetMap 2 weeks ago
map_test.go control/controlclient: optimize zstd decode of KeepAlive messages 2 months ago
sign.go all: update copyright and license headers 3 years ago
sign_supported.go util/syspolicy/policyclient: add policyclient.Client interface, start plumbing 3 months ago
sign_supported_test.go all: update copyright and license headers 3 years ago
sign_unsupported.go util/syspolicy/policyclient: add policyclient.Client interface, start plumbing 3 months ago
status.go control/controlclient,ipn/ipnlocal: replace State enum with boolean flags 3 weeks ago