• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Question List based permanent bans with fail2ban

Hi AusWeb,

Quoted from another thread:
Hi UFHH01,

I'm facing a similar issue with all my Magento websites. Bot trying to hack. username/password using a common URL.

I pmed you about Fail2Ban, trying to ban few IPs. I only need a guidelines. Could you please have a look?
... and the ( previous ) additional private message ( :rolleyes: ) if I can help you here in your thread, is kinda strange and pushy, sorry. Pls. leave a decision up to me, if I would like to answer to a forum - thread.



Nevertheless, my recommendation is to use the "recidive" - jail, which bans previous banned intruders for a longer time ( i.e. 3/6 months, or even a year, depending on your unique settings ). If you start manual addings, you will have a never-ending-hobby and the effect is the same. ;)

if there is a way i can do it without restarting fail2ban everytime new IP added that would be great.
You have two options, to RELOAD the Fail2Ban - configuration, or a Fail2Ban - jail, without a Fail2Ban - restart:

Reload the Fail2Ban - configuration:

fail2ban-client reload

Reload a Fail2Ban - jail:

fail2ban-client reload JAIL-NAME
 
Back
Top