-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
[BUG] nftables.build_rule breaks ipv6 rules by using the wrong syntax for source and destination addresses #66382
Labels
Comments
Merged
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Consider the following state:
This state would create a nftables rule that allows the box to connect to port 22 on every IPv6 address out there. However, nftables.build_rule creates the following nft call:
which leads to the following error:
Steps to Reproduce the behavior
Spin up an ipv6 enabled box and try to apply the above state.
Expected behavior
The correct command would read:
Versions Report
I observed this with 3007.0 (Chlorine)
The text was updated successfully, but these errors were encountered: