Kristoffer Dalby and Kristoffer Dalby
0e0e53d3b3
util/usermetrics: make usermetrics non-global
...
this commit changes usermetrics to be non-global, this is a building
block for correct metrics if a go process runs multiple tsnets or
in tests.
Updates #13420
Updates tailscale/corp#22075
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com >
2024-09-25 15:57:00 +02:00
Kristoffer Dalby and Kristoffer Dalby
e93c160a39
nix: update nix and use go 1.23
...
Updates #12912
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com >
2024-08-29 17:25:13 +02:00
a2c42d3cd4
usermetric: add initial user-facing metrics
...
This commit adds a new usermetric package and wires
up metrics across the tailscale client.
Updates tailscale/corp#22075
Co-authored-by: Anton Tolchanov <anton@tailscale.com >
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com >
2024-08-27 11:21:35 +02:00
Kristoffer Dalby and Kristoffer Dalby
06c31f4e91
tsweb/varz: remove pprof
...
Updates tailscale/corp#22075
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com >
2024-08-27 11:21:35 +02:00
Kristoffer Dalby and Kristoffer Dalby
01aa01f310
ipn/ipnlocal: network-lock, error if no pubkey instead of panic
...
Updates tailscale/corp#20931
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com >
2024-08-20 09:12:52 +02:00
Kristoffer Dalby and Kristoffer Dalby
dcb0f189cc
cmd/proxy-to-grafana: add flag for alternative control server
...
Fixes #12571
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com >
2024-06-21 12:17:39 +02:00
Kristoffer Dalby and Kristoffer Dalby
a1ab7f7c94
client/tailscale: add NodeID to device
...
Updates tailscale/corp#20514
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com >
2024-06-17 17:06:18 +02:00
95f266f1ce
tsweb: add optional on completion callback func
...
Updates corp#17075
Co-Authored-By: Anton Tolchanov <anton@tailscale.com >
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com >
2024-06-06 16:46:06 +02:00
Kristoffer Dalby and Kristoffer Dalby
1e6cdb7d86
api.md: fix missing links after move of device posture
...
Updates tailscale/corp#18572
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com >
2024-04-29 10:35:03 +02:00
Kristoffer Dalby and Kristoffer Dalby
9779eb6dba
api.md: move device posture api to api.md
...
Updates tailscale/corp#18572
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com >
2024-04-23 10:51:39 +02:00
Kristoffer Dalby and Kristoffer Dalby
65255b060b
client/tailscale: add postures to UserRuleMatch
...
Updates tailscale/corp#17770
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com >
2024-03-06 15:36:17 +01:00
Kristoffer Dalby and Kristoffer Dalby
fe7f7bff4f
posture: ignore not found serial errors
...
Updates #5902
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com >
2023-11-13 18:22:08 +01:00
Kristoffer Dalby and Kristoffer Dalby
e06f2f1873
ipn/ipnlocal: change serial number policy to be PreferenceOption
...
This commit changes the PostureChecking syspolicy key to be a
PreferenceOption(user-defined, always, never) instead of Bool.
This aligns better with the defaults implementation on macOS allowing
CLI arguments to be read when user-defined or no defaults is set.
Updates #tailscale/tailscale/5902
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com >
2023-10-16 16:01:54 +02:00
Kristoffer Dalby and Kristoffer Dalby
7f540042d5
ipn/ipnlocal: use syspolicy to determine collection of posture data
...
Updates #5902
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com >
2023-10-10 12:04:34 +02:00
Kristoffer Dalby and Kristoffer Dalby
d0b8bdf8f7
posture: add get serial support for macOS
...
Updates #5902
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com >
2023-10-09 14:46:59 +02:00
Kristoffer Dalby and Kristoffer Dalby
9eedf86563
posture: add get serial support for Windows/Linux
...
This commit adds support for getting serial numbers from SMBIOS
on Windows/Linux (and BSD) using go-smbios.
Updates #5902
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com >
2023-10-09 13:50:34 +02:00
Kristoffer Dalby and Kristoffer Dalby
b4e587c3bd
tailcfg,ipn: add c2n endpoint for posture identity
...
Updates #5902
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com >
2023-10-09 08:15:38 +02:00
Kristoffer Dalby and Kristoffer Dalby
9593cd3871
posture: add get serial stub for all platforms
...
Updates #5902
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com >
2023-10-09 08:15:38 +02:00
Kristoffer Dalby and Kristoffer Dalby
623926a25d
cmd/tailscale: add --posture-checking flag to set
...
Updates #5902
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com >
2023-10-09 08:15:38 +02:00
Kristoffer Dalby and Kristoffer Dalby
886917c42b
ipn: add PostureChecks to Prefs
...
Updates #5902
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com >
2023-10-09 08:15:38 +02:00
c4e262a0fc
ipn/profiles: set default prefs based on Windows registry ( #6803 )
...
Co-authored-by: Maisem Ali maisem@tailscale.com
2023-01-04 18:34:31 +01:00
Kristoffer Dalby and GitHub
01ebef0f4f
tailcfg: add views for ControlDialPlan ( #5843 )
2022-10-05 16:18:26 +02:00