The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Automatically block IPs with too many requests?

Discussion in 'Security' started by dgiouz, Mar 4, 2017.

  1. dgiouz

    dgiouz Registered

    Joined:
    Apr 28, 2012
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    Root Administrator
    Currently, i am facing the following issues.
    My site get scaned several times every day from price comparison services.
    the point is that one of them, scan entire site (about 20k products) at once. this causing my server full load.

    Is there a way to automatic block those ips? eg automatic block ips with more than xxx requests per second?

    Has anybody face such an issue?
     
  2. vacancy

    vacancy Well-Known Member

    Joined:
    Sep 20, 2012
    Messages:
    122
    Likes Received:
    11
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    You can use csf.

    Connection tracking> IP addresses that send more requests than the number of connections you set with CT_LIMIT will be blocked.
     
  3. Eminds

    Eminds Well-Known Member

    Joined:
    Nov 10, 2016
    Messages:
    174
    Likes Received:
    10
    Trophy Points:
    18
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Well by blocking those IPs , your site will not be scanned and displayed on the sites where the products of your website are being compared and displayed.

    I believe this might be a set back for the website .. not sure how popular your website is ...

    what server configuration you are using at the moment.
     
  4. dgiouz

    dgiouz Registered

    Joined:
    Apr 28, 2012
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    Root Administrator
    In fact, those are competitors, scaning the site. Price comparison sites, using the xml we provide, and thats working well without any issue
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,037
    Likes Received:
    1,278
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    You can use CSF's connection tracking feature, as mentioned in the earlier post. Let us know if that helps.

    Thank you.
     
Loading...

Share This Page