Hi Michael,
Please show your actual config, both .conf and .local.
The 'ignoreregex' is supposed to be a regular expression that ignores
log lines. When you want to ignore specific ip addresses, you should set
'ignoreip'.
Kind regards,
Tom
On 03-08-18 00:57, Michael Fox wrote:
> Any ideas?
>
> Michael
>
>
>> -----Original Message-----
>> From: Michael Fox <[email protected]>
>> Sent: Wednesday, August 1, 2018 7:14 PM
>> To: Fail2Ban-Users Distribution List <fail2ban-
>> [email protected]>
>> Subject: [Fail2ban-users] recidive filter ignores ignoreregex?
>>
>> I'm trying to configure an ignoreregex in the recidive.local filter to
>> ignore some IPs. But the ignoreregex in recidive seems to be ... ignored.
>>
>> When I try:
>> fail2ban-regex /var/log/fail2ban.log
>> /etc/fail2ban/filter.d/recidive.local
>> /etc/fail2ban/filter.d/recidive.local
>>
>> . it appears to work correctly. Namely, failregex = 0 and ignoreregex
>> shows
>> all of the matches that I configured.
>>
>> But, when I restart fail2ban, the ignored IPs are banned by recidive
>> anyway.
>>
>> ignoreregex works in other <filter>.local files. But I can't get it to
>> work
>> in recidive.local.
>>
>> Ideas?
>>
>> Thanks,
>> Michael
>>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Fail2ban-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fail2ban-users
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Fail2ban-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fail2ban-users