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

Support for ACLs for bridge NIC device when using nftables driver. #1225

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

mikerobski
Copy link
Contributor

Allows "security.acls*" fields to be used to apply ACLs to bridge NIC device when the firewall driver is nftables.

Since the nftables do not support "reject" rules, the implementation converts the default rules from "reject" to "drop" when needed.

The ACL rules are applied together with the filtering rules, if specified. The filtering rules are applied before the ACL rules and are enforced even if the ACL definition contains allow rule that permits the traffic.

Support for ACLs for bridge NIC device when using nftables driver.

Signed-off-by: Mike Robski <[email protected]>
Support for security.acls* fields for bridge NIC device when using nftables driver.

Signed-off-by: Mike Robski <[email protected]>
Support for ACLs for bridge NIC device when using nftables driver.
Modified nftable template to allow combining fitering and ACL rules.
Updated ACL processing to detect bridge NIC devices with ACL applied and re-generate nftable if the instance is running.

Signed-off-by: Mike Robski <[email protected]>
Support for ACLs for bridge NIC device when using nftables driver.

Signed-off-by: Mike Robski <[email protected]>
@github-actions github-actions bot added the Documentation Documentation needs updating label Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Documentation needs updating
Development

Successfully merging this pull request may close these issues.

1 participant