headscale icon indicating copy to clipboard operation
headscale copied to clipboard

policy: reduce routes sent to peers based on packetfilter

Open kradalby opened this issue 7 months ago • 1 comments

Fixes #2365

kradalby avatar May 03 '25 08:05 kradalby

Pull Request Revisions

RevisionDescription
r4
Route accessibility filtering implementedNew feature limits route distribution to only routes accessible to specific nodes
r3
Updated routing and ACL filtering logicRefactored policy management to improve route and node filtering based on ACL rules, adding more granular route access control and introducing a new ReduceRoutes function to filter routes for specific nodes
r2
Enhanced ACL and route filtering mechanismAdded new route reduction method in policy package with comprehensive ACL filtering for subnet routes, including support for granular access control based on source IPs and destination networks
r1
Policy route and node filtering updatedIntroduced ReduceNodes and ReduceRoutes methods to handle policy-based filtering of nodes and routes more flexibly, with accompanying test cases and implementation changes.

✅ AI review completed for r4
Help React with emojis to give feedback on AI-generated reviews:
  • 👍 means the feedback was helpful and actionable
  • 👎 means the feedback was incorrect or unhelpful
💬 Replying to feedback with a comment helps us improve the system. Your input also contributes to shaping future interactions with the AI reviewer.

We'd love to hear from you—reach out anytime at [email protected].

ghost avatar May 03 '25 08:05 ghost