-
-
Notifications
You must be signed in to change notification settings - Fork 938
fix(networkmonitor): false engine restarts #3355
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(networkmonitor): false engine restarts #3355
Conversation
|
Please do not merge until go-netroute gets updated and merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With this change RTM_CHANGE could also make sense. Would you mind testing that with route change ...?
Can you also add some comments why we're doing this differently on bsd (multiple 0.0.0.0/0 etc)
a238f3e to
91dd571
Compare
|
With the newest changes, this is the log when I pull out my usb-c wired connection |
|
Once the go-netroute PR is merge I can update the go.mod file |
Currently, check_change registers a change whenever an unspecified address is removed or added on any interface. It should only register a change when it is the default route that is affected by route changes.
973363f to
0190ed4
Compare
|
|
@pappz @lixmal I have updated the PR to resolve any conflicts. Can you please review. This patch still needs this PR: netbirdio/go-netroute#5 |
…false_enginerestarts * upstream/main: (228 commits) [management] add breakdown of network map calculation metrics (netbirdio#4020) [client] Don't open cmd.exe during MSI actions (netbirdio#4041) [misc] Specify netbird binary location in Dockerfiles (netbirdio#4024) [management] check and log on new management version (netbirdio#4029) [misc] add additional metrics (netbirdio#4028) [client] close windows when process needs to exit (netbirdio#4027) [client] Refactor showLoginURL to improve error handling and connection status checks (netbirdio#4026) [client] Handle lazy routing peers that are part of HA groups (netbirdio#3943) [management] add transaction for integrated validator groups update and primary account update (netbirdio#4014) [management] export ephemeral peer flag on api (netbirdio#4004) [management] Add backward compatibility for older clients without firewall rules port range support (netbirdio#4003) [client] Fix port range squashing (netbirdio#4007) [client] Add more Android advanced settings (netbirdio#4001) Fix route notification [management] Refactor routes to use store methods (netbirdio#2928) [client] fix connection state handling (netbirdio#3995) [client] Fix logic in updateStatus to correctly handle connection state (netbirdio#3994) [management] Avoid recalculating next peer expiration (netbirdio#3991) [client] Fix DNS Interceptor Build Error (netbirdio#3993) [client] Tighten allowed domains for dns forwarder (netbirdio#3978) ...
b8eff53 to
96cd3e0
Compare
|



Describe your changes
Network monitor should only trigger engine restarts when
route getactually changes. There are many other instances when unspecified address get added to the system without actually affecting the real default route.** change depends on **
netbirdio/go-netroute#5
Issue ticket number and link
fixes #3352
Checklist