Fail2Ban takes a long time to stop

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
unixmit
Posts: 45
Joined: Wed Jun 13, 2018 7:37 pm

Fail2Ban takes a long time to stop

Post by unixmit »

When i perform an update for DietPi it goes through and stops my services, as expected. I noticed that Fail2Ban takes a long time to stop. Usually it takes a few minutes to complete. Is this normal? Can anything be done to improve the time it takes?
Thanks
User avatar
WarHawk
Posts: 610
Joined: Thu Jul 20, 2017 8:55 am

Re: Fail2Ban takes a long time to stop

Post by WarHawk »

ran across this....might be helpful for the devs

https://github.com/fail2ban/fail2ban/issues/1588
unixmit
Posts: 45
Joined: Wed Jun 13, 2018 7:37 pm

Re: Fail2Ban takes a long time to stop

Post by unixmit »

Yeah it seems to be fixed in newer versions. fail2ban doesn't seem to update with APT upgrade or a dietpi-update. My version is still:
Fail2Ban v0.9.6
User avatar
MichaIng
Site Admin
Posts: 2295
Joined: Sat Nov 18, 2017 6:21 pm

Re: Fail2Ban takes a long time to stop

Post by MichaIng »

@unixmit
DietPi-Software installs fail2ban via APT, but most current version on Debian Stretch is v0.9.6: https://packages.debian.org/de/stretch/fail2ban

You can manually install the deb package from Buster, which is v0.10.2: https://packages.debian.org/en/buster/a ... n/download
- There are no Buster only dependencies, so you can install it on Stretch without any further requirements.
Post Reply