Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Block IP on multiple errors

Discussion in 'Security' started by PCZero, Nov 26, 2013.

  1. PCZero

    PCZero Well-Known Member

    Joined:
    Dec 13, 2003
    Messages:
    592
    Likes Received:
    45
    Trophy Points:
    178
    Location:
    Earth
    I realize this is not necessarily a WHM/cPanel issue however I am asking for input here in case others may be interested in doing the same thing.

    I would like to be able to script/options/program that would allow me to automatically block an IP after it has reached X number of errors in Y amount of time (seconds). Preferably I should also be able to be able to flag what errors (400, 403, 500, etc) I want to count towards the X errors value.

    Example I might want to say if a given IP reaches a total of 10 total 404 and/or 500 errors within 5 seconds then that IP should be blocked.

    1) Can someone suggest how I might be able to do this please?
    2) Would anyone else be interested in using such a feature?
    3) Is this something that can or shoudl be offered in the WHM environment?

    Any input is welcome and invited.

    Thanks!
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,353
    Likes Received:
    404
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    CSF does this:

     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice