puppetlabs-firewall icon indicating copy to clipboard operation
puppetlabs-firewall copied to clipboard

enable correct service for EL9 using legacy IPv4

Open kjetilho opened this issue 3 years ago • 5 comments

probably not many people still using IPv4 in their systems, after all IPv6 is soon 25 years old, but... we still want to support it.

nftables.service loads nft rules from /etc/sysconfig/nftables.conf, but this module generates classic iptables rules. The service to load these on boot is simply "iptables.service".

IPv6 rules are loaded correctly by ip6tables.service.

kjetilho avatar Dec 13 '22 21:12 kjetilho

firewall::params is a class

that may have no external impact to Forge modules.

This module is declared in 106 of 580 indexed public Puppetfiles.


These results were generated with Rangefinder, a tool that helps predict the downstream impact of breaking changes to elements used in Puppet modules. You can run this on the command line to get a full report.

Exact matches are those that we can positively identify via namespace and the declaring modules' metadata. Non-namespaced items, such as Puppet 3.x functions, will always be reported as near matches only.

Hi @kjetilho, sorry for the delay in feedback. While reviewing pending PRs for the module, we have merged a different PR that also seems to be addressing this issue, thus causing a conflict. https://github.com/puppetlabs/puppetlabs-firewall/pull/1103

LukasAud avatar Jan 09 '23 10:01 LukasAud

hmm. as I mentioned in my comment above, nftables.service uses files not managed by this module - so I think it is not correct to enable the service. who know what rules are left behind in /etc/sysconfig/nftables.conf. I prefer my patch, which only enables iptables.service.

kjetilho avatar Jan 09 '23 11:01 kjetilho

hmm, the "mend" tests failed due to missing api key. does this mean merge requests need to use project branches rather than external forks?

kjetilho avatar Feb 14 '23 14:02 kjetilho

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Apr 19 '23 21:04 CLAassistant