tailscale/ipn/ipnlocal
Andrew Dunham 3a018e51bb ipn/ipnlocal: move handling of expired nodes to LocalBackend
In order to be able to synthesize a new NetMap when a node expires, have
LocalBackend start a timer when receiving a new NetMap that fires
slightly after the next node expires. Additionally, move the logic that
updates expired nodes into LocalBackend so it runs on every netmap
(whether received from controlclient or self-triggered).

Updates #6932

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: I833390e16ad188983eac29eb34cc7574f555f2f3
2023-01-14 16:35:02 -05:00
..
c2n.go ipn/ipnlocal: add c2n handler to flush logtail for support debugging 2023-01-05 12:06:07 -08:00
cert.go ipn/{ipnlocal,localapi}: move most of cert.go to ipnlocal 2022-11-07 21:50:04 -08:00
cert_js.go ipn/ipnlocal, wgengine/netstack: start handling ports for future serving 2022-11-08 19:39:07 -08:00
cert_test.go ipn/{ipnlocal,localapi}: move most of cert.go to ipnlocal 2022-11-07 21:50:04 -08:00
dnsconfig_test.go ipn/ipnlocal: use ipn.PrefsView 2022-10-24 15:57:00 -07:00
expiry.go ipn/ipnlocal: move handling of expired nodes to LocalBackend 2023-01-14 16:35:02 -05:00
expiry_test.go ipn/ipnlocal: move handling of expired nodes to LocalBackend 2023-01-14 16:35:02 -05:00
local.go ipn/ipnlocal: move handling of expired nodes to LocalBackend 2023-01-14 16:35:02 -05:00
local_test.go ipn/ipnlocal: fix StatusWithoutPeers not populating parts of Status 2022-12-19 13:15:28 -08:00
loglines_test.go ipn/ipnlocal: add support for multiple user profiles 2022-11-11 10:45:47 +05:00
network-lock.go health,ipn/ipnlocal: report the node being locked out as a health issue 2023-01-04 16:20:47 -08:00
network-lock_test.go cmd/tailscale,tka: make KeyID return an error instead of panicking 2023-01-04 09:51:31 -08:00
peerapi.go ipn/ipnlocal: disallow unsigned peers from WoL 2023-01-10 15:54:48 -08:00
peerapi_h2c.go all: remove old +build tags 2022-11-04 07:25:42 -07:00
peerapi_macios_ext.go all: remove old +build tags 2022-11-04 07:25:42 -07:00
peerapi_test.go ipn/ipnlocal: improve redactErr to handle more cases 2022-12-06 19:37:15 -05:00
profiles.go ipn/profiles: set default prefs based on Windows registry (#6803) 2023-01-04 18:34:31 +01:00
profiles_test.go ipn/profiles: set default prefs based on Windows registry (#6803) 2023-01-04 18:34:31 +01:00
serve.go ipn/ipnlocal: maintain a proxy handler per backend (#6804) 2022-12-21 18:36:58 +00:00
serve_test.go ipn/ipnlocal: support serving files/directories too 2022-11-10 18:09:35 -08:00
ssh.go ssh/tailssh: add OpenBSD support for Tailscale SSH 2023-01-09 12:58:15 -08:00
ssh_stub.go ssh/tailssh: add OpenBSD support for Tailscale SSH 2023-01-09 12:58:15 -08:00
ssh_test.go ipn/ipnlocal: add support for multiple user profiles 2022-11-11 10:45:47 +05:00
state_test.go ipn,types/persist: add DisallowedTKAStateIDs, refactor as view type 2022-11-29 12:29:42 -08:00