[PR #1792] [MERGED] Don't return errors on disallowed routes #15831

Closed
opened 2026-08-05 03:08:30 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/1792
Author: @lixmal
Created: 4/3/2024
Status: Merged
Merged: 4/3/2024
Merged by: @lixmal

Base: mainHead: make-disallowed-routes-debug


📝 Commits (8)

  • fc124c8 Add Linux legacy routing if ip rule functionality is not available
  • 07c747e Ignore exclusion route errors if host has no route
  • 521e57d Exclude iOS from route manager
  • a7b517e Also retrieve IPv6 routes
  • 97551a1 Ignore loopback addresses not being in the main table
  • 1e32dc1 Ignore "not supported" errors on cleanup
  • afa7f65 Don't return errors on disallowed routes
  • c94f7b7 Merge branch 'main' into make-disallowed-routes-debug

📊 Changes

3 files changed (+24 additions, -24 deletions)

View changed files

📝 client/internal/routemanager/routemanager.go (+4 -1)
📝 client/internal/routemanager/systemops.go (+18 -21)
📝 client/internal/routemanager/systemops_linux_test.go (+2 -2)

📄 Description

Describe your changes

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

🔄 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/netbirdio/netbird/pull/1792 **Author:** [@lixmal](https://github.com/lixmal) **Created:** 4/3/2024 **Status:** ✅ Merged **Merged:** 4/3/2024 **Merged by:** [@lixmal](https://github.com/lixmal) **Base:** `main` ← **Head:** `make-disallowed-routes-debug` --- ### 📝 Commits (8) - [`fc124c8`](https://github.com/netbirdio/netbird/commit/fc124c8b8cef3e6f8c558db9d8cbf4c3ac13f2df) Add Linux legacy routing if ip rule functionality is not available - [`07c747e`](https://github.com/netbirdio/netbird/commit/07c747e8574e235d8d788fe3770f12538c943d27) Ignore exclusion route errors if host has no route - [`521e57d`](https://github.com/netbirdio/netbird/commit/521e57db39dbb5b98d2fce78c40f8a0060f12a43) Exclude iOS from route manager - [`a7b517e`](https://github.com/netbirdio/netbird/commit/a7b517e2c5f3292f4086be1135c66a961169298b) Also retrieve IPv6 routes - [`97551a1`](https://github.com/netbirdio/netbird/commit/97551a15cabf92e70fa2dc856f17578167a4360a) Ignore loopback addresses not being in the main table - [`1e32dc1`](https://github.com/netbirdio/netbird/commit/1e32dc159e021ecabc1ffcbcf49cff015d99d263) Ignore "not supported" errors on cleanup - [`afa7f65`](https://github.com/netbirdio/netbird/commit/afa7f6583adf6e3d3e51c8e0974c6160094dad53) Don't return errors on disallowed routes - [`c94f7b7`](https://github.com/netbirdio/netbird/commit/c94f7b7fd48ba2a763b25cd2b16b890e3a5218f9) Merge branch 'main' into make-disallowed-routes-debug ### 📊 Changes **3 files changed** (+24 additions, -24 deletions) <details> <summary>View changed files</summary> 📝 `client/internal/routemanager/routemanager.go` (+4 -1) 📝 `client/internal/routemanager/systemops.go` (+18 -21) 📝 `client/internal/routemanager/systemops_linux_test.go` (+2 -2) </details> ### 📄 Description ## Describe your changes ## Issue ticket number and link ### Checklist - [x] Is it a bug fix - [ ] Is a typo/documentation fix - [ ] Is a feature enhancement - [ ] It is a refactor - [ ] Created tests that fail without the change (if possible) - [ ] Extended the README / documentation, if necessary --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 03:08:30 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#15831