mirror of
https://github.com/juanfont/headscale.git
synced 2025-11-26 20:28:00 -05:00
Added TestExitNodeVisibilityWithACL to verify that exit nodes are only visible to nodes that have permission according to ACL policy. The test: - Creates 3 nodes: mobile, server, and exit-owner - Sets up ACL allowing only mobile->server:80 (no autogroup:internet) - Advertises and approves exit routes on exit-owner node - Verifies mobile and server do NOT see exit node in peer list This is a regression test for issue #2788 where exit nodes were visible to all nodes regardless of ACL policy. Co-authored-by: kradalby <98431+kradalby@users.noreply.github.com>
116 KiB
116 KiB