• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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