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

Use nftables instead of iptables where it is supported. #1178

Open
wintermu7e opened this issue Nov 27, 2023 · 0 comments
Open

Use nftables instead of iptables where it is supported. #1178

wintermu7e opened this issue Nov 27, 2023 · 0 comments

Comments

@wintermu7e
Copy link

Use Case

When doing CIS compliance, using iptables on rhel8 and rhel9 is problematic, as on both of these OS's iptables actually uses components of nftables in the backend. As nftables is the preferred method on these OS it makes sense to use it rather than iptables. In fact on rhel9 iptables is not even one of the alternatives in the CIS lockdown document.

Describe the Solution You Would Like

I would like to see the module use nftables rather than iptables when the OS is has nftables. nftables is the preferred method for rhel8 and up. See the rhel8 release notes https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/8.0_release_notes/index#networking

Describe Alternatives You've Considered

Can continue to use IPtables and just live with CIS audit failures, as the firewall is working, it just doesn't match the CIS compliance model.

Additional Context

At some point redhat is likely to drop support for iptables all together. It would make sense to be ahead of the curve and already be using the new method where available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants