Add 'Show ip log' to Fail2Ban or at least the service which last triggered the ban
When an address is banned by Fail2Ban, Plesk panel only shows as info somthing like this:
[recidive]
enabled = true
filter = recidive
action = iptables-allports[name=recidive]
logpath = /var/log/fail2ban.log
maxretry = 5
? could be possible to add another line like:
2024-05-03 23:22:27,997 fail2ban.actions [1120]: NOTICE [plesk-dovecot] Ban 82.61.142.122
? or a button to view all /var/log/fail2ban.log rows which mention the banned IP (82.61.142.122 in this case)
that will avoid the need to open a shell and using grep on the log files.
Andrea
Thank you for your suggestion. However more input is required to fully understand the scope of the request. What particular information is currently missing for you in the fail2ban log? And how would that benefit you and other users?
-- KvD