#1011054 fail2ban: Multiport invalid port/service `0-65535' specified

#1011054#5
Date:
2022-05-16 08:28:01 UTC
From:
To:
Dear Maintainer,

I'm having an issue with fail2ban in combination with firewalld.

Syslog:
--
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.
--

This causes firewalld.service to stop working and leaving it in a stopped state; what opens the gates.
I'm using firwall-cmd v0.9.3 to manage the Debian firewall.

This seems to be a known, fixed, issue: https://github.com/fail2ban/fail2ban/issues/3047