Update links to Tailscale documentation
This commit is contained in:
parent
7e6c7924ad
commit
f1494a32ce
21 changed files with 98 additions and 91 deletions
|
|
@ -53,7 +53,7 @@ var (
|
|||
)
|
||||
|
||||
// SSH check period constants per Tailscale docs:
|
||||
// https://tailscale.com/kb/1193/tailscale-ssh
|
||||
// https://tailscale.com/docs/features/tailscale-ssh#checkperiod
|
||||
const (
|
||||
SSHCheckPeriodDefault = 12 * time.Hour
|
||||
SSHCheckPeriodMin = time.Minute
|
||||
|
|
|
|||
|
|
@ -162,7 +162,7 @@ type State struct {
|
|||
// destination — keyed by (src, Dst=0) where 0 is a sentinel meaning "any".
|
||||
// Ref: "Once re-authenticated to a destination, the user can access the
|
||||
// device and any other device in the tailnet without re-verification
|
||||
// for the next 12 hours." — https://tailscale.com/kb/1193/tailscale-ssh
|
||||
// for the next 12 hours." — https://tailscale.com/docs/features/tailscale-ssh
|
||||
//
|
||||
// For rules with explicit checkPeriod, auth covers only that specific
|
||||
// destination — keyed by (src, dst).
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ func AuthSuccess(result AuthSuccessResult) *elem.Element {
|
|||
externalLink("https://headscale.net/stable/", "Headscale documentation"),
|
||||
),
|
||||
elem.Li(nil,
|
||||
externalLink("https://tailscale.com/kb/", "Tailscale knowledge base"),
|
||||
externalLink("https://tailscale.com/docs", "Tailscale docs"),
|
||||
),
|
||||
),
|
||||
pageFooter(),
|
||||
|
|
|
|||
|
|
@ -177,7 +177,7 @@ func TestTemplateExternalLinkSecurity(t *testing.T) {
|
|||
}).Render(),
|
||||
externalURLs: []string{
|
||||
"https://headscale.net/stable/",
|
||||
"https://tailscale.com/kb/",
|
||||
"https://tailscale.com/docs",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -193,7 +193,7 @@ func (node *Node) IsExpired() bool {
|
|||
}
|
||||
|
||||
// IsEphemeral returns if the node is registered as an Ephemeral node.
|
||||
// https://tailscale.com/kb/1111/ephemeral-nodes/
|
||||
// https://tailscale.com/docs/features/ephemeral-nodes
|
||||
func (node *Node) IsEphemeral() bool {
|
||||
return node.AuthKey != nil && node.AuthKey.Ephemeral
|
||||
}
|
||||
|
|
@ -968,7 +968,7 @@ func (nv NodeView) IsExpired() bool {
|
|||
}
|
||||
|
||||
// IsEphemeral returns if the node is registered as an Ephemeral node.
|
||||
// https://tailscale.com/kb/1111/ephemeral-nodes/
|
||||
// https://tailscale.com/docs/features/ephemeral-nodes
|
||||
func (nv NodeView) IsEphemeral() bool {
|
||||
if !nv.Valid() {
|
||||
return false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue