Use CapVer to offer Noise only to supported clients
This commit is contained in:
parent
865f1ffb3c
commit
b3cf5289f8
2 changed files with 20 additions and 6 deletions
6
api.go
6
api.go
|
@ -25,12 +25,6 @@ const (
|
|||
ErrRegisterMethodCLIDoesNotSupportExpire = Error(
|
||||
"machines registered with CLI does not support expire",
|
||||
)
|
||||
|
||||
// The CapabilityVersion is used by Tailscale clients to indicate
|
||||
// their codebase version. Tailscale clients can communicate over TS2021
|
||||
// from CapabilityVersion 28.
|
||||
// See https://github.com/tailscale/tailscale/blob/main/tailcfg/tailcfg.go
|
||||
NoiseCapabilityVersion = 28
|
||||
)
|
||||
|
||||
func (h *Headscale) HealthHandler(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue