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.

Limiting connections from a single IP to port 80 per second

Discussion in 'Security' started by whm-expert, Apr 16, 2013.

  1. whm-expert

    whm-expert Active Member

    Joined:
    Nov 10, 2012
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    DataCenter Provider
    hello
    is there any way to Limiting connections from a single IP to port 80 per second?
    for example the maximum connection for ip "109.0.0.0" is 10 per 10 second.

    i try CSF, its not work, i try this link "http://www.cyberciti.biz/faq/iptables-connection-limits-howto/"

    its not work is there anther way?

    best regards
     
  2. arunsv84

    arunsv84 Well-Known Member

    Joined:
    Oct 20, 2008
    Messages:
    373
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    127.0.0.1
    cPanel Access Level:
    Root Administrator
    You may enable "mod_limitipconn" module to limit the number of connections. If you google it, you will find a lots of articles on how to enable this module.

    Cheers!!!
     
  3. caisc

    caisc Active Member

    Joined:
    Oct 5, 2011
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    India
    cPanel Access Level:
    Root Administrator
    If you have CSF firewall installed on your server then you can use it too to limit the connections per IP.

    The url you mentioned is about how to use iptables to block connection not CSF,

    CSF is an advanced tool and there is specific setting in the CSF configuration for this.
     
    #3 caisc, Apr 26, 2013
    Last edited: Apr 26, 2013
  4. whm-expert

    whm-expert Active Member

    Joined:
    Nov 10, 2012
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    DataCenter Provider
    Hello caisc

    yes, i have install CSF firewall, please can you explain how to limit the connections per IP?
     
  5. whm-expert

    whm-expert Active Member

    Joined:
    Nov 10, 2012
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    DataCenter Provider
    any update?
     
  6. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,471
    Likes Received:
    199
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:

    What sort of update are you hoping for? CSF is not a cPanel product.

    You might want to start at the beginning here I think:
    http://www.configserver.com/free/csf/readme.txt

    Search that page for the word: limit

    Understanding how to manage this sort of thing is very important. Asking for help on these forms cannot replace actually reading and understanding how the software you use for security, works.


    GL!
     
Loading...

Share This Page