-
Notifications
You must be signed in to change notification settings - Fork 334
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(images/kuma-init): use iptables-wrapper to use correct iptables …
…version (#9701) As of iptables 1.8, the iptables command line clients come in two different versions/modes: "legacy", which uses the kernel iptables API just like iptables 1.6 and earlier did, and "nft", which translates the iptables command-line API into the kernel nftables API. Because they connect to two different subsystems in the kernel, you cannot mix and match between them; in particular, if you are adding a new rule that needs to run either before or after some existing rules (such as the system firewall rules), then you need to create your rule with the same iptables mode as the other rules were created with, since otherwise the ordering may not be what you expect. (eg, if you prepend a rule using the nft-based client, it will still run after all rules that were added with the legacy iptables client.) Signed-off-by: Bart Smykla <bartek@smykla.com>
- Loading branch information
1 parent
2754b3f
commit a33eec8
Showing
5 changed files
with
40 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,16 @@ | ||
* | ||
!build/artifacts-linux-amd64/kumactl/kumactl | ||
!build/artifacts-linux-arm64/kumactl/kumactl | ||
!build/artifacts-linux-amd64/iptables-wrapper/iptables-wrapper | ||
!build/artifacts-linux-amd64/iptables-wrapper/iptables-wrapper-installer.sh | ||
!build/artifacts-linux-arm64/iptables-wrapper/iptables-wrapper | ||
!build/artifacts-linux-arm64/iptables-wrapper/iptables-wrapper-installer.sh | ||
!build/artifacts-darwin-amd64/kumactl/kumactl | ||
!build/artifacts-darwin-arm64/kumactl/kumactl | ||
!build/artifacts-darwin-amd64/iptables-wrapper/iptables-wrapper | ||
!build/artifacts-darwin-amd64/iptables-wrapper/iptables-wrapper-installer.sh | ||
!build/artifacts-darwin-arm64/iptables-wrapper/iptables-wrapper | ||
!build/artifacts-darwin-arm64/iptables-wrapper/iptables-wrapper-installer.sh | ||
!tools/releases/templates/LICENSE | ||
!tools/releases/templates/NOTICE | ||
!tools/releases/templates/README |