[PR #737] [MERGED] Send remote agents updates when peer re-authenticates #12938

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

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/737
Author: @braginini
Created: 3/10/2023
Status: Merged
Merged: 3/10/2023
Merged by: @braginini

Base: mainHead: fix/update_remote_peers_after_reauth


📝 Commits (6)

📊 Changes

2 files changed (+55 additions, -94 deletions)

View changed files

📝 management/server/account.go (+1 -1)
📝 management/server/peer.go (+54 -93)

📄 Description

Describe your changes

When peer login expires, all remote peers are updated to exclude the peer from connecting.
Once a peer re-authenticates, the remote peers are not updated.
This peer fixes the behavior.

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/737 **Author:** [@braginini](https://github.com/braginini) **Created:** 3/10/2023 **Status:** ✅ Merged **Merged:** 3/10/2023 **Merged by:** [@braginini](https://github.com/braginini) **Base:** `main` ← **Head:** `fix/update_remote_peers_after_reauth` --- ### 📝 Commits (6) - [`8487bb8`](https://github.com/netbirdio/netbird/commit/8487bb89c84867b832a833bbb2204f0560226943) Send remote agents updates when peer re-authenticates - [`0a14950`](https://github.com/netbirdio/netbird/commit/0a1495080280a1ec5a6afa6745d71f498dfc3314) Simplify peer login flow - [`4ade24c`](https://github.com/netbirdio/netbird/commit/4ade24cc61b551cfdf19be3d4515dd0e248951a9) Simplify auth check - [`af3dd7b`](https://github.com/netbirdio/netbird/commit/af3dd7b37aa442854670cd404e107444f15ff883) remove unused method - [`dcde1fe`](https://github.com/netbirdio/netbird/commit/dcde1fe85c9fcdfe6884acc2f27118f8a40d7343) Fix lint issues - [`4faa7b5`](https://github.com/netbirdio/netbird/commit/4faa7b520e4d039fbd8fc24c499776b40a0613eb) Remove unused methods ### 📊 Changes **2 files changed** (+55 additions, -94 deletions) <details> <summary>View changed files</summary> 📝 `management/server/account.go` (+1 -1) 📝 `management/server/peer.go` (+54 -93) </details> ### 📄 Description ## Describe your changes When peer login expires, all remote peers are updated to exclude the peer from connecting. Once a peer re-authenticates, the remote peers are not updated. This peer fixes the behavior. ## 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 02:07:03 -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#12938