[PR #2097] [MERGED] Allow candidates on local routes if more specific than vpn routes #18676

Open
opened 2026-08-05 04:08:47 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/2097
Author: @lixmal
Created: 6/5/2024
Status: Merged
Merged: 6/17/2024
Merged by: @mlsmaycon

Base: mainHead: fix/ice-candidate-via-route


📝 Commits (8)

📊 Changes

12 files changed (+227 additions, -37 deletions)

View changed files

📝 client/internal/engine.go (+3 -2)
📝 client/internal/peer/conn.go (+11 -19)
📝 client/internal/routemanager/manager.go (+2 -2)
📝 client/internal/routemanager/mock.go (+2 -2)
📝 client/internal/routemanager/systemops/systemops_generic.go (+59 -3)
📝 client/internal/routemanager/systemops/systemops_generic_test.go (+122 -0)
📝 client/internal/routemanager/systemops/systemops_linux.go (+8 -2)
📝 client/internal/routemanager/systemops/systemops_mobile.go (+6 -2)
📝 client/internal/routemanager/systemops/systemops_nonlinux.go (+4 -0)
📝 client/internal/routemanager/systemops/systemops_unix.go (+2 -2)
📝 client/internal/routemanager/systemops/systemops_windows.go (+2 -2)
📝 util/net/net.go (+6 -1)

📄 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/2097 **Author:** [@lixmal](https://github.com/lixmal) **Created:** 6/5/2024 **Status:** ✅ Merged **Merged:** 6/17/2024 **Merged by:** [@mlsmaycon](https://github.com/mlsmaycon) **Base:** `main` ← **Head:** `fix/ice-candidate-via-route` --- ### 📝 Commits (8) - [`781853c`](https://github.com/netbirdio/netbird/commit/781853c0ccbaa39fc929e34fdb15349b9c5aae05) Allow candidates on local routes if more specific than vpn routes - [`2aa1d78`](https://github.com/netbirdio/netbird/commit/2aa1d78b4130db242a0e81243bc2ba79aa7756c2) Remove code duplication - [`ab7fad8`](https://github.com/netbirdio/netbird/commit/ab7fad8db72f44212b49351846da49f2e723b3f9) Remove unused import - [`fdf777e`](https://github.com/netbirdio/netbird/commit/fdf777e4407e84a43187373e62a07c7639d96f88) Fix lint - [`c79a05a`](https://github.com/netbirdio/netbird/commit/c79a05affc609280c204d26d173346b8b7d45d37) Fix mobile builds - [`accacbd`](https://github.com/netbirdio/netbird/commit/accacbdd14d8d5ffd199b7ff0b96c087e0aebe2c) Refactor sysops (#2014) - [`5528184`](https://github.com/netbirdio/netbird/commit/5528184c068a79af34ac3196b5396dadfca241da) Remove unused statement - [`562e398`](https://github.com/netbirdio/netbird/commit/562e3981e7da1449d8a29b67202b1dae6efaa353) Fix rebasing ### 📊 Changes **12 files changed** (+227 additions, -37 deletions) <details> <summary>View changed files</summary> 📝 `client/internal/engine.go` (+3 -2) 📝 `client/internal/peer/conn.go` (+11 -19) 📝 `client/internal/routemanager/manager.go` (+2 -2) 📝 `client/internal/routemanager/mock.go` (+2 -2) 📝 `client/internal/routemanager/systemops/systemops_generic.go` (+59 -3) 📝 `client/internal/routemanager/systemops/systemops_generic_test.go` (+122 -0) 📝 `client/internal/routemanager/systemops/systemops_linux.go` (+8 -2) 📝 `client/internal/routemanager/systemops/systemops_mobile.go` (+6 -2) 📝 `client/internal/routemanager/systemops/systemops_nonlinux.go` (+4 -0) 📝 `client/internal/routemanager/systemops/systemops_unix.go` (+2 -2) 📝 `client/internal/routemanager/systemops/systemops_windows.go` (+2 -2) 📝 `util/net/net.go` (+6 -1) </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 - [x] 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 04:08:47 -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#18676