Files
Junker der ProvinzandAndrew Cornford 4594bdf961 feat(fail2ban): add setup fail2ban ignore and consider (#4828)
* feat(fail2ban): add `setup fail2ban ignore` and `consider`

Adding an address to the Fail2Ban ignore list at runtime needed
fail2ban-client and a loop over every jail. This carries over #4504
and addresses its review.

Co-authored-by: Andrew Cornford <29998536+groupmsl@users.noreply.github.com>

* fix(fail2ban): reject invalid addresses and list ignores under `status`

fail2ban-client treats anything that is not an IP address as a hostname, so a typo like 192.0.2.300 was accepted silently. `ignore` and `consider` now check the argument and pass it on in the spelling F2B uses, which `delignoreip` needs to find a single IPv6 address again.

Plain `setup fail2ban` shows bans only again, as before this PR.

---------

Co-authored-by: Andrew Cornford <29998536+groupmsl@users.noreply.github.com>
2026-10-31 15:02:42 +01:00
..
2023-05-26 01:01:41 +02:00
2023-05-26 01:01:41 +02:00
2023-05-26 01:01:41 +02:00
2023-05-26 01:39:39 +02:00
2023-05-24 09:06:59 +02:00
2023-05-24 09:06:59 +02:00
2023-05-24 09:06:59 +02:00