tailscale/util
Nick Khyl 8d7033fe7f ipn/ipnlocal,util/syspolicy,docs/windows/policy: implement the ReconnectAfter policy setting
In this PR, we update the LocalBackend so that when the ReconnectAfter policy setting is configured
and a user disconnects Tailscale by setting WantRunning to false in the profile prefs, the LocalBackend
will now start a timer to set WantRunning back to true once the ReconnectAfter timer expires.

We also update the ADMX/ADML policy definitions to allow configuring this policy setting for Windows
via Group Policy and Intune.

Updates #14824

Signed-off-by: Nick Khyl <nickk@tailscale.com>
2025-02-24 17:07:19 -06:00
..
cache util/cache: fix missing interface methods (#11275) 2024-02-27 23:03:49 -05:00
cibuild
clientmetric util/clientmetric: use counter in aggcounter 2025-01-24 15:17:44 +01:00
cloudenv all: use math/rand/v2 more 2024-06-05 15:24:04 -07:00
cmpver util/cmpver: add Less/LessEq helper funcs 2024-03-05 16:57:04 +00:00
codegen util/codegen: treat unique.Handle as an opaque value type 2024-11-11 12:39:19 -08:00
cstruct all: use Go 1.21's binary.NativeEndian 2025-01-13 08:31:00 -08:00
ctxkey all: use reflect.TypeFor now available in Go 1.22 (#11078) 2024-02-08 17:34:22 -08:00
deephash util/deephash: fix test regression on 32-bit 2024-06-19 12:25:53 -07:00
dirwalk
dnsname tailcfg: adjust ServiceName.Validate to use vizerror 2025-01-24 10:57:46 -05:00
execqueue control/controlclient,util/execqueue: extract execqueue into a package 2024-01-18 12:08:13 -08:00
expvarx all: use Go 1.22 range-over-int 2024-04-16 15:32:38 -07:00
goroutines ipn/ipnlocal, util/goroutines: track goroutines for tests, shutdown 2025-01-06 12:35:44 -08:00
groupmember util/groupmember: fail earlier if group doesn't exist, use slices.Contains 2023-11-01 19:23:16 -07:00
hashx all: use Go 1.22 range-over-int 2024-04-16 15:32:38 -07:00
httphdr util/httphdr: add new package for parsing HTTP headers (#9797) 2023-10-13 15:38:22 -07:00
httpm util/httpm: don't run test if .git doesn't exist 2023-11-22 12:09:59 -05:00
jsonutil all: use Go 1.22 range-over-int 2024-04-16 15:32:38 -07:00
limiter all: add test for package comments, fix, add comments as needed 2024-07-10 09:57:00 -07:00
lineiter types/result, util/lineiter: add package for a result type, use it 2024-11-05 10:27:52 -08:00
lineread
linuxfw all: use Go 1.21's binary.NativeEndian 2025-01-13 08:31:00 -08:00
lru util/slicesx: add MapKeys and MapValues from golang.org/x/exp/maps 2025-01-03 10:48:31 -08:00
mak
multierr all: use Go 1.22 range-over-int 2024-04-16 15:32:38 -07:00
must
nocasemaps all: use Go 1.22 range-over-int 2024-04-16 15:32:38 -07:00
osdiag all: add test for package comments, fix, add comments as needed 2024-07-10 09:57:00 -07:00
osshare all: add test for package comments, fix, add comments as needed 2024-07-10 09:57:00 -07:00
osuser util/osuser: turn wasm check into a const expression 2024-07-29 19:39:55 -07:00
pidowner types/result, util/lineiter: add package for a result type, use it 2024-11-05 10:27:52 -08:00
pool util/pool: add package for storing and using a pool of items 2024-05-24 14:11:19 -04:00
precompress
progresstracking ipn/localapi: add support for multipart POST to file-put 2024-03-27 08:53:52 -05:00
quarantine
race all: use Go 1.22 range-over-int 2024-04-16 15:32:38 -07:00
racebuild
rands wgengine/magicsock: use math/rands/v2 2024-06-05 15:57:27 -07:00
reload all: use math/rand/v2 more 2024-06-05 15:24:04 -07:00
ringbuffer all: use Go 1.22 range-over-int 2024-04-16 15:32:38 -07:00
set all: use iterators over slice views more 2024-11-11 13:22:34 -08:00
singleflight util/singleflight: add DoChanContext 2024-06-10 18:38:27 -04:00
slicesx util/slicesx: add AppendNonzero 2025-01-22 10:20:56 -08:00
stringsx util/stringsx: add package for extra string functions, like CompareFold 2024-12-23 07:43:56 -08:00
syspolicy ipn/ipnlocal,util/syspolicy,docs/windows/policy: implement the ReconnectAfter policy setting 2025-02-24 17:07:19 -06:00
sysresources
systemd
testenv util/testenv: add new package to hold InTest 2023-08-08 19:51:44 -06:00
topk all: use Go 1.22 range-over-int 2024-04-16 15:32:38 -07:00
truncate util/truncate: support []byte as well (#11614) 2024-04-04 14:38:16 -07:00
usermetric wgengine/filter: add check for unknown proto 2025-01-24 12:20:44 +01:00
vizerror util/vizerror: add WrapWithMessage 2024-10-09 12:59:25 -05:00
winutil cmd/tailscaled,util/syspolicy/source,util/winutil/gp: disallow acquiring the GP lock during service startup 2025-01-23 15:06:47 -06:00
zstdframe all: use Go 1.22 range-over-int 2024-04-16 15:32:38 -07:00