[PR #2767] [MERGED] {policy, node}: allow return paths in route reduction #2847

Closed
opened 2025-12-29 04:19:17 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/2767
Author: @kradalby
Created: 9/10/2025
Status: Merged
Merged: 9/12/2025
Merged by: @kradalby

Base: mainHead: kradalby/2608-reverse-routes


📝 Commits (2)

  • 59eb908 {policy, node}: allow return paths in route reduction
  • 4d201bf changelog: add entry about route reduction

📊 Changes

3 files changed (+177 additions, -15 deletions)

View changed files

📝 CHANGELOG.md (+2 -0)
📝 hscontrol/policy/policy_test.go (+171 -0)
📝 hscontrol/types/node.go (+4 -15)

📄 Description

this commit fixes and issue where the CanAccessRoute check ignored return paths so it would break a subset of connections.

Fixes #2608


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/juanfont/headscale/pull/2767 **Author:** [@kradalby](https://github.com/kradalby) **Created:** 9/10/2025 **Status:** ✅ Merged **Merged:** 9/12/2025 **Merged by:** [@kradalby](https://github.com/kradalby) **Base:** `main` ← **Head:** `kradalby/2608-reverse-routes` --- ### 📝 Commits (2) - [`59eb908`](https://github.com/juanfont/headscale/commit/59eb9086b7adfad0a1023462da449a656be27279) {policy, node}: allow return paths in route reduction - [`4d201bf`](https://github.com/juanfont/headscale/commit/4d201bfb659ed2360527194e30230fd0bfd6d6fb) changelog: add entry about route reduction ### 📊 Changes **3 files changed** (+177 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+2 -0) 📝 `hscontrol/policy/policy_test.go` (+171 -0) 📝 `hscontrol/types/node.go` (+4 -15) </details> ### 📄 Description this commit fixes and issue where the CanAccessRoute check ignored return paths so it would break a subset of connections. Fixes #2608 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 04:19:17 +01:00
adam closed this issue 2025-12-29 04:19:17 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#2847