I assume the permanent ban doesn't use a timeout value. So that's an
exception, but if you set a bantime, that is apparently the limit,
around 4 weeks max.
At 10:21 PM 10/12/2020, Patrick Shanahan wrote:
* Mike <[email protected]> [10-12-20 23:17]:
>
> >
> > F2B does support permanant. Set bantime to -1 and it's "forever".
>
> I did not know that. But I do believe there is a limit imposed by ipset
> regarding maximum expire time? I seem to remember it's somewhere
around 3-4
> weeks or so? It has to do with the value exceeding the size of a 32 bit
> integer on most systems.
>
> Let me check for sure.. the max timeout is supposedly 2147483
which is about
> 24.8 days.
that would be odd as I do have permanent ipset bans and quite a few of
them.
--
(paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri
http://en.opensuse.org openSUSE Community Member facebook/ptilopteri
Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode
_______________________________________________
Fail2ban-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fail2ban-users
_______________________________________________
Fail2ban-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fail2ban-users