[PR #4777] [MERGED] [client] Replace ipset lib #26269

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

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/4777
Author: @lixmal
Created: 11/12/2025
Status: Merged
Merged: 11/13/2025
Merged by: @mlsmaycon

Base: mainHead: replace-ipset


📝 Commits (7)

  • 370a7b4 Replace ipset lib
  • d1767fc Update .github/workflows/check-license-dependencies.yml
  • d886e4b Ignore internal licenses
  • 4de35ca Ignore dependencies from AGPL code
  • 895050d Use exported errors
  • 3f1f244 Use fixed version
  • 50aadce Merge branch 'main' into replace-ipset

📊 Changes

5 files changed (+225 additions, -51 deletions)

View changed files

📝 .github/workflows/check-license-dependencies.yml (+70 -3)
📝 client/firewall/iptables/acl_linux.go (+106 -29)
📝 client/firewall/iptables/router_linux.go (+40 -10)
📝 go.mod (+3 -3)
📝 go.sum (+6 -6)

📄 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)

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

Documentation

Select exactly one:

  • I added/updated documentation for this change
  • Documentation is not needed for this change (explain why)

Docs PR URL (required if "docs added" is checked)

Paste the PR link from https://github.com/netbirdio/docs here:

https://github.com/netbirdio/docs/pull/__

Summary by CodeRabbit

  • New Features

    • CI splits internal vs external license checks, adds path-triggered runs, clearer messages, and an external GPL/AGPL compatibility scan that fails on incompatible licenses.
  • Bug Fixes

    • Firewall/ipset handling hardened: safer lifecycle management, lazy creation, tolerant cleanup, and improved diagnostics.
  • Chores

    • Updated dependency versions and migrated to a different ipset library.

🔄 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/4777 **Author:** [@lixmal](https://github.com/lixmal) **Created:** 11/12/2025 **Status:** ✅ Merged **Merged:** 11/13/2025 **Merged by:** [@mlsmaycon](https://github.com/mlsmaycon) **Base:** `main` ← **Head:** `replace-ipset` --- ### 📝 Commits (7) - [`370a7b4`](https://github.com/netbirdio/netbird/commit/370a7b4c17080a8f2fb6214bd4885bf3373ae5c3) Replace ipset lib - [`d1767fc`](https://github.com/netbirdio/netbird/commit/d1767fc32a29d0406d65d2c0b64ac7884cda90dc) Update .github/workflows/check-license-dependencies.yml - [`d886e4b`](https://github.com/netbirdio/netbird/commit/d886e4bf06905e8863986d73d985a4047dbe61ba) Ignore internal licenses - [`4de35ca`](https://github.com/netbirdio/netbird/commit/4de35cabe53441de06d852db45d39787ecfaab4b) Ignore dependencies from AGPL code - [`895050d`](https://github.com/netbirdio/netbird/commit/895050d536807398cd3da050f28badb52fbf36b7) Use exported errors - [`3f1f244`](https://github.com/netbirdio/netbird/commit/3f1f2444badc242d55c2b0eb05bc4fca7a889dfb) Use fixed version - [`50aadce`](https://github.com/netbirdio/netbird/commit/50aadce29951b31bd23a1a4d35cbcd20b7a011a1) Merge branch 'main' into replace-ipset ### 📊 Changes **5 files changed** (+225 additions, -51 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/check-license-dependencies.yml` (+70 -3) 📝 `client/firewall/iptables/acl_linux.go` (+106 -29) 📝 `client/firewall/iptables/router_linux.go` (+40 -10) 📝 `go.mod` (+3 -3) 📝 `go.sum` (+6 -6) </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) > 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). ## Documentation Select exactly one: - [ ] I added/updated documentation for this change - [x] Documentation is **not needed** for this change (explain why) ### Docs PR URL (required if "docs added" is checked) Paste the PR link from https://github.com/netbirdio/docs here: https://github.com/netbirdio/docs/pull/__ <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * CI splits internal vs external license checks, adds path-triggered runs, clearer messages, and an external GPL/AGPL compatibility scan that fails on incompatible licenses. * **Bug Fixes** * Firewall/ipset handling hardened: safer lifecycle management, lazy creation, tolerant cleanup, and improved diagnostics. * **Chores** * Updated dependency versions and migrated to a different ipset library. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <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 07:07:06 -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#26269