Fix Fail2Ban "Cannot add a custom filter to fail2ban"
There is a known issue in the fail2ban UI where filters don't show up if they are missing the "ignoreregex" property:
The form input on /admin/server-protection/add-filter should be validated either server-side and the user should be redirected to an error page, or the form could be checked client-side with JavaScript and show an error if there are no lines =~ "^[[:space:]]"ignoreregex" in the rule definition.
![](https://secure.gravatar.com/avatar/b3ec7c3cda6cbe7a6c354165296f91d6?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
Thank you for reporting this bug, we have confirmed it (bug ID for your reference: PPPM-7718). Note: only feature requests are allowed here, so we would appreciate if you post bugs and issues on our forum at https://talk.plesk.com. We are closing this request since it does not contain any feature suggestions.
—
IG