[PR #3355] [CLOSED] fix(networkmonitor): false engine restarts #20140

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

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/3355
Author: @hurricanehrndz
Created: 2/20/2025
Status: Closed

Base: mainHead: fix_networkmonitor_false_enginerestarts


📝 Commits (3)

  • 0190ed4 Confirm routechanges on Unix OSes
  • 8c8afe2 Merge remote-tracking branch 'upstream/main' into fix_networkmonitor_false_enginerestarts
  • 96cd3e0 Do not replace go-netroute, use latest commit

📊 Changes

3 files changed (+61 additions, -49 deletions)

View changed files

📝 client/internal/networkmonitor/check_change_bsd.go (+34 -20)
📝 go.mod (+9 -11)
📝 go.sum (+18 -18)

📄 Description

Describe your changes

Network monitor should only trigger engine restarts when route get actually changes. There are many other instances when unspecified address get added to the system without actually affecting the real default route.

** change depends on **
https://github.com/netbirdio/go-netroute/pull/5

fixes #3352

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/3355 **Author:** [@hurricanehrndz](https://github.com/hurricanehrndz) **Created:** 2/20/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix_networkmonitor_false_enginerestarts` --- ### 📝 Commits (3) - [`0190ed4`](https://github.com/netbirdio/netbird/commit/0190ed423452f487c7d99531c0d72efc1b690ce7) Confirm routechanges on Unix OSes - [`8c8afe2`](https://github.com/netbirdio/netbird/commit/8c8afe24ebd430471b056e5df1611bf3ac6a52f4) Merge remote-tracking branch 'upstream/main' into fix_networkmonitor_false_enginerestarts - [`96cd3e0`](https://github.com/netbirdio/netbird/commit/96cd3e0c0d2d0208b04acc7eddcd1a500c717e6e) Do not replace go-netroute, use latest commit ### 📊 Changes **3 files changed** (+61 additions, -49 deletions) <details> <summary>View changed files</summary> 📝 `client/internal/networkmonitor/check_change_bsd.go` (+34 -20) 📝 `go.mod` (+9 -11) 📝 `go.sum` (+18 -18) </details> ### 📄 Description ## Describe your changes Network monitor should only trigger engine restarts when `route get` actually changes. There are many other instances when unspecified address get added to the system without actually affecting the real default route. ** change depends on ** https://github.com/netbirdio/go-netroute/pull/5 ## Issue ticket number and link fixes #3352 ### 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 05:06:53 -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#20140