Skip to content

Commit

Permalink
ssh/tailssh: undo temp change
Browse files Browse the repository at this point in the history
Updates tailscale#6232
Signed-off-by: Samuel Corsi-House <chouse.samuel@gmail.com>
  • Loading branch information
Xenfo committed May 10, 2024
1 parent 3db0e28 commit 4539c98
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions ssh/tailssh/tailssh.go
Original file line number Diff line number Diff line change
Expand Up @@ -530,8 +530,7 @@ func (c *conn) mayReverseUnixForwardTo(ctx ssh.Context, socketPath string) bool
metricRemoteUnixForward.Add(1)
return true
}
// TODO(Xenfo): undo
return true
return false
}

// mayForwardLocalUnixTo reports whether the ctx should be allowed to unix forward
Expand All @@ -544,8 +543,7 @@ func (c *conn) mayForwardLocalUnixTo(ctx ssh.Context, socketPath string) bool {
metricLocalUnixForward.Add(1)
return true
}
// TODO(Xenfo): undo
return true
return false
}

// havePubKeyPolicy reports whether any policy rule may provide access by means
Expand Down

0 comments on commit 4539c98

Please sign in to comment.