Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ipn,types/persist: store disallowed TKA's in prefs, lock local-disable #6546

Merged
merged 1 commit into from Nov 29, 2022

Conversation

twitchyliquid64
Copy link
Contributor

Implements tailscale lock local-disable, which shuts down tailnet lock on the local node. This can be done on all nodes if the disablement secrets are lost by the admin but they want to disable network lock.

/cc @maisem for changes to persist.Persist, and that I'm doing the right sequence to update that struct in (*LocalBackend).NetworkLockForceLocalDisable.

ipn/ipn_clone.go Outdated Show resolved Hide resolved
ipn/ipnlocal/network-lock.go Show resolved Hide resolved
tka/tka.go Outdated Show resolved Hide resolved
types/persist/persist.go Show resolved Hide resolved
Signed-off-by: Tom DNetto <tom@tailscale.com>
@twitchyliquid64 twitchyliquid64 merged commit f113042 into main Nov 29, 2022
@twitchyliquid64 twitchyliquid64 deleted the tom/tka branch November 29, 2022 18:31
bradfitz added a commit that referenced this pull request Nov 29, 2022
Broken by #6546

Change-Id: I61194dec13a5565628ad68f7bb19ba861348dfe2
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
bradfitz added a commit that referenced this pull request Nov 29, 2022
Broken by #6546

Change-Id: I61194dec13a5565628ad68f7bb19ba861348dfe2
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
twitchyliquid64 added a commit that referenced this pull request Nov 29, 2022
Supercedes #6557, precursor to trying #6546 again

Signed-off-by: Tom DNetto <tom@tailscale.com>
twitchyliquid64 added a commit that referenced this pull request Nov 29, 2022
Supercedes #6557, precursor to trying #6546 again

Signed-off-by: Tom DNetto <tom@tailscale.com>
twitchyliquid64 added a commit that referenced this pull request Nov 29, 2022
Supercedes #6557, precursor to trying #6546 again

Signed-off-by: Tom DNetto <tom@tailscale.com>
twitchyliquid64 added a commit that referenced this pull request Nov 29, 2022
Supercedes #6557, precursor to trying #6546 again

Signed-off-by: Tom DNetto <tom@tailscale.com>
twitchyliquid64 added a commit that referenced this pull request Nov 29, 2022
Take 2 of #6546

Builds on #6560

Signed-off-by: Tom DNetto <tom@tailscale.com>
twitchyliquid64 added a commit that referenced this pull request Nov 29, 2022
Take 2 of #6546

Builds on #6560

Signed-off-by: Tom DNetto <tom@tailscale.com>
twitchyliquid64 added a commit that referenced this pull request Nov 29, 2022
Take 2 of #6546

Builds on #6560

Signed-off-by: Tom DNetto <tom@tailscale.com>
twitchyliquid64 added a commit that referenced this pull request Nov 29, 2022
Take 2 of #6546

Builds on #6560

Signed-off-by: Tom DNetto <tom@tailscale.com>
coadler pushed a commit to coder/tailscale that referenced this pull request Feb 2, 2023
Supercedes tailscale#6557, precursor to trying tailscale#6546 again

Signed-off-by: Tom DNetto <tom@tailscale.com>
coadler pushed a commit to coder/tailscale that referenced this pull request Feb 2, 2023
Take 2 of tailscale#6546

Builds on tailscale#6560

Signed-off-by: Tom DNetto <tom@tailscale.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants