tailcfg: add start of SSH policy to be sent from control plane to nodes

Updates #3802

Change-Id: Iec58f35d445aaa267d0f7e7e2f30c049c1df4c0e
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2022-02-10 14:12:34 -08:00
committed by Brad Fitzpatrick
parent b486448ab9
commit 57115e923e
3 changed files with 88 additions and 0 deletions

View File

@@ -39,6 +39,7 @@ type NetworkMap struct {
DNS tailcfg.DNSConfig
Hostinfo tailcfg.Hostinfo
PacketFilter []filter.Match
SSHPolicy *tailcfg.SSHPolicy // or nil, if not enabled/allowed
// CollectServices reports whether this node's Tailnet has
// requested that info about services be included in HostInfo.