1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

fail2ban to watch multiple access.log

Discussion in 'Server Configuration and Hosting' started by hellreturn, Jun 15, 2015.

  1. hellreturn

    hellreturn Active Member

    Does anyone how to configure fail2ban so that it watch multiple access.log for apache and ban any IP requesting more then xx times / xx seconds? Just trying to stop multiple request from offending IP's through refresh.
  2. Tracy Perry

    Tracy Perry Well-Known Member

  3. hellreturn

    hellreturn Active Member

  4. WSWD

    WSWD Well-Known Member

    You can try SecConnReadStateLimit with Apache and ModSecurity. I don't use fail2ban personally. It is based on concurrent connections and not xx times / xx seconds, but I think it will do what you are looking for. I use it with great success.

Share This Page