Skip to content
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

Optimize ACL performance #994

Merged
merged 13 commits into from
Jul 18, 2023
Merged

Optimize ACL performance #994

merged 13 commits into from
Jul 18, 2023

Conversation

gigovich
Copy link
Contributor

Describe your changes

Reduce rules count generated on the management side. Use sets on the client side for firewalls in kernel implementation

Issue ticket number and link

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

@gigovich gigovich marked this pull request as ready for review July 12, 2023 07:19
client/firewall/nftables/manager_linux.go Outdated Show resolved Hide resolved
client/firewall/nftables/manager_linux.go Outdated Show resolved Hide resolved
client/firewall/nftables/manager_linux.go Outdated Show resolved Hide resolved
client/firewall/nftables/manager_linux.go Outdated Show resolved Hide resolved
client/firewall/nftables/manager_linux.go Show resolved Hide resolved
client/internal/acl/manager_create.go Show resolved Hide resolved
client/firewall/nftables/manager_linux.go Outdated Show resolved Hide resolved
client/firewall/nftables/manager_linux.go Outdated Show resolved Hide resolved
client/firewall/nftables/manager_linux.go Outdated Show resolved Hide resolved
client/firewall/nftables/manager_linux.go Outdated Show resolved Hide resolved
@gigovich gigovich merged commit e69ec6a into main Jul 18, 2023
@gigovich gigovich deleted the feat-optimize-acl-performance branch July 18, 2023 09:12
surik pushed a commit to surik/netbird that referenced this pull request Aug 11, 2023
* Optimize rules with All groups

* Use IP sets in ACLs (nftables implementation)

* Fix squash rule when we receive optimized rules list from management
surik pushed a commit to surik/netbird that referenced this pull request Aug 14, 2023
* Optimize rules with All groups

* Use IP sets in ACLs (nftables implementation)

* Fix squash rule when we receive optimized rules list from management
pulsastrix pushed a commit to pulsastrix/netbird that referenced this pull request Dec 24, 2023
* Optimize rules with All groups

* Use IP sets in ACLs (nftables implementation)

* Fix squash rule when we receive optimized rules list from management
Foosec pushed a commit to Foosec/netbird that referenced this pull request May 8, 2024
* Optimize rules with All groups

* Use IP sets in ACLs (nftables implementation)

* Fix squash rule when we receive optimized rules list from management
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants