diff --git a/config/filter.d/recidive.conf b/config/filter.d/recidive.conf index 273e383f..6d513116 100644 --- a/config/filter.d/recidive.conf +++ b/config/filter.d/recidive.conf @@ -21,16 +21,16 @@ before = common.conf [Definition] -_daemon = fail2ban\.actions +_daemon = fail2ban\.server\.actions # The name of the jail that this filter is used for. In jail.conf, name the # jail using this filter 'recidive', or change this line! _jailname = recidive -failregex = ^(%(__prefix_line)s|,\d{3} fail2ban.actions:\s+)WARNING\s+\[(?!%(_jailname)s\])(?:.*)\]\s+Ban\s+\s*$ +failregex = ^(%(__prefix_line)s|,\d{3} %(_daemon)s:\s+)WARNING\s+\[(?!%(_jailname)s\])(?:.*)\]\s+Ban\s+\s*$ [Init] -journalmatch = _SYSTEMD_UNIT=fail2ban.service +journalmatch = _SYSTEMD_UNIT=fail2ban.service PRIORITY=4 # Author: Tom Hendrikx, modifications by Amir Caspi