1
0
mirror of https://github.com/juanfont/headscale.git synced 2025-11-10 01:20:58 +01:00
juanfont.headscale/hscontrol/mapper
copilot-swe-agent[bot] 31bf3a6637 Fix exit node visibility issue - filter based on autogroup:internet permission
- Modified tailNode/tailNodes functions to accept exitRouteFilterFunc parameter
- Added canUseExitRoutes helper to check for broad internet access permission
- Added DestsContainsPrefixes method to matcher for checking prefix containment
- Exit routes now only included in peer AllowedIPs when requesting node has internet access
- Added comprehensive unit tests for both scenarios (with and without autogroup:internet)

Fixes #2788

Co-authored-by: kradalby <98431+kradalby@users.noreply.github.com>
2025-11-01 08:53:35 +00:00
..
batcher_lockfree.go policy: fix autogroup:self propagation and optimize cache invalidation (#2807) 2025-10-23 17:57:41 +02:00
batcher_test.go mapper: send change instead of full update (#2775) 2025-09-17 14:23:21 +02:00
batcher.go mapper: send change instead of full update (#2775) 2025-09-17 14:23:21 +02:00
builder_test.go bunch of qol (#2748) 2025-08-27 17:09:13 +02:00
builder.go Fix exit node visibility issue - filter based on autogroup:internet permission 2025-11-01 08:53:35 +00:00
exit_node_visibility_test.go Fix exit node visibility issue - filter based on autogroup:internet permission 2025-11-01 08:53:35 +00:00
mapper_test.go state/nodestore: in memory representation of nodes 2025-09-09 09:40:00 +02:00
mapper.go mapper: send change instead of full update (#2775) 2025-09-17 14:23:21 +02:00
suite_test.go introduce mapper package 2023-06-08 16:34:15 +02:00
tail_test.go Fix exit node visibility issue - filter based on autogroup:internet permission 2025-11-01 08:53:35 +00:00
tail.go Fix exit node visibility issue - filter based on autogroup:internet permission 2025-11-01 08:53:35 +00:00
utils.go mapper: produce map before poll (#2628) 2025-07-28 11:15:53 +02:00