• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

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