On Wed, 28 Aug 2019 at 16:32, Mike <[email protected]> wrote:

> At 07:25 AM 8/28/2019, Wayne Sallee wrote:
> >-------- Original Message --------
> >*Subject:Â *Â Â Re: [Fail2ban-users] maxretry maxfailures What's the deal
> ??
> >*From:Â *Â Â Â Â Â Dominic Raferd <[email protected]>
> >*To:Â *Â Â Â Â Â Â Â Â Â Fail2ban-users
> >Distribution List <[email protected]>
> >*CC:Â *
> >*Date:Â *Â Â Â Â Â Â 2019-8-28Â Â 07:50Â AM
> >>man jail.conf
> >
> >Yes, if you read my first post in this thread,
> >you will see that I quoted the manual.
> >
> >So since you will not give a strait answer, I am
> >going to assume that fail2ban used "maxretry"
> >originally, then on 2005/09/08 fail2ban changed
> >it to "maxfailures", then at a later time
> >fail2ban changed it back to "maxretry".
> >
> >Thanks for not answering my simple question.
>
> How difficult is it to help people?  If the
> answer is in the manual, great, let us know, but
> in the time it takes to look that up, you can
> also answer the question rather than state the obvious that there's a
> manpage.
>
> Is there anybody here actually on the dev team?
>

My thinking was: 'Give a man a fish, and you feed him for a day. Teach a
man to fish, and you feed him for a lifetime.'

So, to spell it out: the man (or info) pages on a given Linux machine
should provide canonical information for the version of the same software
on that same machine - that is what they are there for. In general, not
just for fail2ban.

For those who would rather be given the fish: the correct setting to use is
maxretry - as stated in 'man jail.conf'. The contrary suggestion
(maxfailures) is found in a changelog entry for fail2ban ver. 0.5.3
(2005/09/08) beta (14 years ago!) - I presume that this never made it into
a final release. It is also possible that maxfailures works just like
maxretry (I haven't tested it) but even if it does I would not advise using
it - no one else does and it is undocumented for all recent versions of
fail2ban (and probably for all official releases ever). On my machine,
counting the number of times the respective words occur in /etc/fail2ban
(which mostly consists of the default files for debian/ubuntu installation
for fail2ban v0.10.2) shows:
# grep -r maxretry /etc/fail2ban|wc -l
36
# grep -r maxfailures /etc/fail2ban|wc -l
0
_______________________________________________
Fail2ban-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to