[PR #2398] [MERGED] [management] Consolidate network map firewall rules into summaries #19446

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

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/2398
Author: @bcmmbaga
Created: 8/6/2024
Status: Merged
Merged: 8/13/2024
Merged by: @bcmmbaga

Base: feature/network-route-access-controlHead: mod-netmap-fw-sum


📝 Commits (9)

  • 65ea678 Add route ACLs
  • a9793f0 Simplify createContainers
  • 54c920d Fix test
  • 0a8bc87 Fix mgmt test
  • 3040e49 Fix cycle
  • 138fc56 Fix lints and remove obsolete code
  • e54a4cd Fix typo
  • 81448bb Merge branch 'refs/heads/feature/network-route-access-control' into mod-netmap-fw-sum
  • 9f3fc12 Update firewall rules to support multiple source ranges

📊 Changes

4 files changed (+151 additions, -208 deletions)

View changed files

📝 management/proto/management.pb.go (+73 -73)
📝 management/proto/management.proto (+2 -2)
📝 management/server/route.go (+41 -43)
📝 management/server/route_test.go (+35 -90)

📄 Description

Describe your changes

Optimizes the network map firewall routing rules by consolidating individual peer rules into summarized rule sets.

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/2398 **Author:** [@bcmmbaga](https://github.com/bcmmbaga) **Created:** 8/6/2024 **Status:** ✅ Merged **Merged:** 8/13/2024 **Merged by:** [@bcmmbaga](https://github.com/bcmmbaga) **Base:** `feature/network-route-access-control` ← **Head:** `mod-netmap-fw-sum` --- ### 📝 Commits (9) - [`65ea678`](https://github.com/netbirdio/netbird/commit/65ea678ec5b494546d385b3e8a22887aa228db7d) Add route ACLs - [`a9793f0`](https://github.com/netbirdio/netbird/commit/a9793f0325202fc6b4151997b5069fc10e0cbea5) Simplify createContainers - [`54c920d`](https://github.com/netbirdio/netbird/commit/54c920d2b0442ed6c44e125a20f1e83d1a0c1ec5) Fix test - [`0a8bc87`](https://github.com/netbirdio/netbird/commit/0a8bc8735606a5f6a3a1b53eb9f0f28bcf8edd38) Fix mgmt test - [`3040e49`](https://github.com/netbirdio/netbird/commit/3040e490f72da9c3d5390336965e8788e5436f04) Fix cycle - [`138fc56`](https://github.com/netbirdio/netbird/commit/138fc56f7d232673e130d4a6177bcb53aafc6172) Fix lints and remove obsolete code - [`e54a4cd`](https://github.com/netbirdio/netbird/commit/e54a4cdc74134891576a8be3aa2f468890b1d19a) Fix typo - [`81448bb`](https://github.com/netbirdio/netbird/commit/81448bb81f0452d28ef1781cf4e31ba94f69fe6d) Merge branch 'refs/heads/feature/network-route-access-control' into mod-netmap-fw-sum - [`9f3fc12`](https://github.com/netbirdio/netbird/commit/9f3fc127e7ec17472125dc7ee698ff76fdb9ec35) Update firewall rules to support multiple source ranges ### 📊 Changes **4 files changed** (+151 additions, -208 deletions) <details> <summary>View changed files</summary> 📝 `management/proto/management.pb.go` (+73 -73) 📝 `management/proto/management.proto` (+2 -2) 📝 `management/server/route.go` (+41 -43) 📝 `management/server/route_test.go` (+35 -90) </details> ### 📄 Description ## Describe your changes Optimizes the network map firewall routing rules by consolidating individual peer rules into summarized rule sets. ## Issue ticket number and link ### Checklist - [ ] 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 05:06:01 -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#19446