mirror of
https://github.com/juanfont/headscale.git
synced 2026-10-29 09:44:08 +09:00
policy/v2: revoke stale SSH access and recheck authentication
Updates #3517, #3508
(cherry picked from commit 4fd4da75f2)
This commit is contained in:
1 parent
00f670213a
commit
5fb2d4e089
21 files changed
+1202
-121
No files matched your search
@@ -322,7 +322,8 @@ func (m *mapper) selfMapResponse(
|
||||
// [handleNodeChange]. It sends:
|
||||
// - PeersChanged for remaining peers (their AllowedIPs may have changed due to policy)
|
||||
// - Updated PacketFilters
|
||||
// - Updated SSHPolicy (SSH rules may reference users/groups that changed)
|
||||
// - Updated SSHPolicy, dropped per connection when unchanged;
|
||||
// see [connectionEntry.withSSHPolicyDelta]
|
||||
// - Optionally, the node's own self info (when includeSelf is true)
|
||||
//
|
||||
// DNSConfig is left out: it forces clients into a full netmap rebuild, and
|
||||
|
||||
Reference in new issue
Block a user