1
1
Fork 0
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-05-08 12:06:03 +02:00
infrastructure/roles/fail2ban
Kristian Klausen 95e19506ff
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
2024-02-18 22:57:42 +01:00
..
defaults fail2ban: remove redundant fail2ban_jails overrides 2022-10-04 06:18:57 +03:00
files fail2ban: Use a managed firewalld ipset 2024-02-18 22:57:42 +01:00
handlers ansible-lint: address no-changed-when fatal errors 2023-03-26 16:57:00 +03:00
tasks fail2ban: Use a managed firewalld ipset 2024-02-18 22:57:42 +01:00
templates fail2ban: Use a managed firewalld ipset 2024-02-18 22:57:42 +01:00