I use firewall-cmd to manage the firewall on Bullseye. On some servers, I get sometimes (no specific time) these error messages in syslog:
Code: Select all
May 12 13:26:35 server01 firewalld[437]: ERROR: '/usr/sbin/iptables-restore -w -n' failed: iptables-restore v1.8.7 (nf_tables): invalid port/service `0-65535' specified#012Error occurred at line: 2#012Try `iptables-restore -h' or 'iptables-restore --help' for more information.
May 12 13:26:35 server01 firewalld[437]: ERROR: COMMAND_FAILED: '/usr/sbin/iptables-restore -w -n' failed: iptables-restore v1.8.7 (nf_tables): invalid port/service `0-65535' specified#012Error occurred at line: 2#012Try `iptables-restore -h' or 'iptables-restore --help' for more information.
It causes firewalld.service to stop working and leaving it in a stopped state.
When it happens, I can just start the firewalld proces again and everything seems fine. But after a few weeks, this error returns.
What can be the cause? What can I check?
Thanks