-
- Downloads
fail2ban: Use a managed firewalld ipset
The firewalld direct interface is deprecated and will be removed in a future release[1]. Recently IPv4 connectivity inside docker containers on our runners broke and after some troubleshooting, the issue was pinpointed to the start of the fail2ban service. We also had issues in the past where sometimes firewalld had to be restarted after boot before network connectivity worked in libvirt on our runners. The issuse may be due to a bug in the way fail2ban use the direct interface, a bug in firewalld or a combination thereof. Let's just avoid the direct interface altogether and create a clean separation, with firewalld handling the blocking and fail2ban maintaining the ipset. [1] https://firewalld.org/documentation/man-pages/firewalld.direct.html
parent
c370c9d0
No related branches found
No related tags found
Showing
- roles/fail2ban/files/fail2ban.xml 3 additions, 0 deletionsroles/fail2ban/files/fail2ban.xml
- roles/fail2ban/tasks/main.yml 13 additions, 2 deletionsroles/fail2ban/tasks/main.yml
- roles/fail2ban/templates/firewallcmd-allports.local.j2 0 additions, 8 deletionsroles/fail2ban/templates/firewallcmd-allports.local.j2
- roles/fail2ban/templates/firewallcmd-ipset-allports.conf.j2 8 additions, 0 deletionsroles/fail2ban/templates/firewallcmd-ipset-allports.conf.j2
- roles/fail2ban/templates/jail.local.j2 1 addition, 1 deletionroles/fail2ban/templates/jail.local.j2
roles/fail2ban/files/fail2ban.xml
0 → 100644
Please register or sign in to comment