Asterisk 20.6 on Ubuntu 24.04: Fail2Ban not working

Similar topic: Asterisk 20.7 fail2ban ubuntu 22.04

Good day all!

I am not so familiar with Fail2Ban but is seems like they changes something on the new versions.
It looks like it is not using the .log files of asterisk anymore, but rather journal entries.

Status for the jail: asterisk-iptables
|- Filter
| |- Currently failed: 0
| |- Total failed: 0
| - Journal matches: _SYSTEMD_UNIT=asterisk.service - Actions
|- Currently banned: 0
|- Total banned: 0
- Banned IP list: ````Preformatted text

However it is not catching anything…
Where do I start?

Thank you!

Solution found here: Asterisk 20.6 on Ubuntu 24.04: Fail2Ban not working · fail2ban/fail2ban · Discussion #3836 · GitHub

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.