It is said that Fail2Ban has a maximum ban time that would be set to 604800 seconds.
But it is untrue, you can set it to -1 for unlimited ban time.
However, sometimes it may not work properly, you should remove Fail2Ban, update the package and install it again.
Note: Commissions may be earned from the links above.
This page contains references to products from one or more of our advertisers. We may receive compensation when you click on links to those products. For an explanation of our advertising policy, please visit this page.