[PR #2371] [MERGED] make it harder to insert invalid routes #2630

Closed
opened 2025-12-29 03:22:07 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/2371
Author: @kradalby
Created: 1/23/2025
Status: Merged
Merged: 1/23/2025
Merged by: @kradalby

Base: mainHead: kradalby/invalid-route-panic


📝 Commits (3)

  • 27bb120 make it harder to insert invalid routes
  • e10dfe0 dont panic if node is not available for route
  • 23a9cd0 update changelog

📊 Changes

4 files changed (+34 additions, -3 deletions)

View changed files

📝 CHANGELOG.md (+2 -0)
📝 cmd/headscale/cli/routes.go (+6 -1)
📝 hscontrol/db/db.go (+21 -0)
📝 hscontrol/types/routes.go (+5 -2)

📄 Description

Fixes #2359
Fixes #2352


🔄 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/2371 **Author:** [@kradalby](https://github.com/kradalby) **Created:** 1/23/2025 **Status:** ✅ Merged **Merged:** 1/23/2025 **Merged by:** [@kradalby](https://github.com/kradalby) **Base:** `main` ← **Head:** `kradalby/invalid-route-panic` --- ### 📝 Commits (3) - [`27bb120`](https://github.com/juanfont/headscale/commit/27bb1201f4a27b3c439eb8dc467cfd1887a33f49) make it harder to insert invalid routes - [`e10dfe0`](https://github.com/juanfont/headscale/commit/e10dfe08b92e6ea12495e211ce2064be075a8030) dont panic if node is not available for route - [`23a9cd0`](https://github.com/juanfont/headscale/commit/23a9cd083b08d4cefae101d2aa8555ae80867be8) update changelog ### 📊 Changes **4 files changed** (+34 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+2 -0) 📝 `cmd/headscale/cli/routes.go` (+6 -1) 📝 `hscontrol/db/db.go` (+21 -0) 📝 `hscontrol/types/routes.go` (+5 -2) </details> ### 📄 Description Fixes #2359 Fixes #2352 --- <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 03:22:07 +01:00
adam closed this issue 2025-12-29 03:22:07 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#2630