[PR #3997] [CLOSED] Test/multiple peer logging #24379

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

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/3997
Author: @crn4
Created: 6/17/2025
Status: Closed

Base: mainHead: test/multiple-peer-logging


📝 Commits (10+)

  • 5b09804 added login filter to filter different peers with the same pub key
  • 4619d39 updated approach to filtering - through sync
  • 3cd21cc Merge branch 'main' into fix/login-filter
  • 19835dc change grpc code to permission denied
  • 6cd77cc minor fix
  • c332ff0 fixed error wrap
  • cfdaa82 login filter check on login
  • b2a7a4c unrecoverable error for login
  • 0a5f751 removed unused test
  • 05733b0 test logging to asses number of peers with the same pub key

📊 Changes

7 files changed (+136 additions, -4 deletions)

View changed files

📝 management/server/account.go (+10 -1)
📝 management/server/account/manager.go (+1 -0)
📝 management/server/grpcserver.go (+2 -1)
management/server/loginfilter.go (+113 -0)
📝 management/server/mock_server/account_mock.go (+6 -0)
📝 management/server/peer_test.go (+0 -1)
📝 management/server/status/error.go (+4 -1)

📄 Description

Describe your changes

Stack

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

By submitting this pull request, you confirm that you have read and agree to the terms of the Contributor License Agreement.


🔄 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/3997 **Author:** [@crn4](https://github.com/crn4) **Created:** 6/17/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `test/multiple-peer-logging` --- ### 📝 Commits (10+) - [`5b09804`](https://github.com/netbirdio/netbird/commit/5b09804a17f41527decb3aba4ecb7d83cf79006f) added login filter to filter different peers with the same pub key - [`4619d39`](https://github.com/netbirdio/netbird/commit/4619d39e178889dd53e69cd8d68cdb648a219499) updated approach to filtering - through sync - [`3cd21cc`](https://github.com/netbirdio/netbird/commit/3cd21cc7e5b15e4100b610864bda59d2b73d79f8) Merge branch 'main' into fix/login-filter - [`19835dc`](https://github.com/netbirdio/netbird/commit/19835dc6d5199576811719f45844ed21b4b06c38) change grpc code to permission denied - [`6cd77cc`](https://github.com/netbirdio/netbird/commit/6cd77cc17c997181d641108a267f7d48dc327ff6) minor fix - [`c332ff0`](https://github.com/netbirdio/netbird/commit/c332ff0a4737bb7ed96b1ad1f3cc50c508d81998) fixed error wrap - [`cfdaa82`](https://github.com/netbirdio/netbird/commit/cfdaa82fea63f529df0b4a9d5ceea9237a263e48) login filter check on login - [`b2a7a4c`](https://github.com/netbirdio/netbird/commit/b2a7a4c6d46ebde1012d71e7e4a84b1122107819) unrecoverable error for login - [`0a5f751`](https://github.com/netbirdio/netbird/commit/0a5f7513435e1368f220021122aaac94daf9697b) removed unused test - [`05733b0`](https://github.com/netbirdio/netbird/commit/05733b00c152163622b215278f7861003f621135) test logging to asses number of peers with the same pub key ### 📊 Changes **7 files changed** (+136 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `management/server/account.go` (+10 -1) 📝 `management/server/account/manager.go` (+1 -0) 📝 `management/server/grpcserver.go` (+2 -1) ➕ `management/server/loginfilter.go` (+113 -0) 📝 `management/server/mock_server/account_mock.go` (+6 -0) 📝 `management/server/peer_test.go` (+0 -1) 📝 `management/server/status/error.go` (+4 -1) </details> ### 📄 Description ## Describe your changes ## Issue ticket number and link ## Stack <!-- branch-stack --> ### 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 > By submitting this pull request, you confirm that you have read and agree to the terms of the [Contributor License Agreement](https://github.com/netbirdio/netbird/blob/main/CONTRIBUTOR_LICENSE_AGREEMENT.md). --- <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 06:08:36 -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#24379