Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Jul 2008
    Posts
    7

    Default how to limit connections per IP

    Help me to solve my problem.

    how to limit connection per IP.

    Ex: 3 connections per IP. so if users download file using any download accelerator they can use only 3 simulations maximum.

  2. #2
    Member
    Join Date
    Nov 2007
    Posts
    9

    Default

    Get mod_limitipconn installed with apache in your server, you can set the max number of connections from a perticular IP in apache config file.

    http://dominia.org/djao/limitipconn.html

    Regards!

  3. #3
    Registered User
    Join Date
    Jun 2009
    Posts
    1

    Default

    Hello Sir
    i Read Readme File And I install it on Apache 2
    but i it not work

    can you said full install guide ..

  4. #4
    BANNED
    Join Date
    Jun 2005
    Location
    Wild Wild West
    Posts
    2,025

    Lightbulb

    Your example of '3' connections is a bit limiting as opening any given
    web page, most browsers will pull 12 to 15 connections even without
    using any kind of accelerators or optimized enhancements just simply
    getting the graphics and supporting files for the page.

    This given though, there is a very nice module for Apache available
    that will briefly block visitors who make too many requests in a
    given amount of time (fully customizable) and reset the blocking
    clock if they make any additional requests while being blocked which
    is extremely useful against flood attacks.

    The module is called mod_evasive from Nuclear Elephant

    You can see the author's page and download mod_evasive here

  5. #5
    Member
    Join Date
    Jun 2007
    Posts
    138

    Default Mod limitipconn

    You can use the limitipconn apache module to limit the number of simultaneous downloads permitted from a single IP address

    You can try the following steps to configure this module ( for Apache 2.X )

    1) Download and untar the latest version of mod_limitipconn.tar.gz

    2) compile and install the module using apxs as follows

    /usr/local/apache/bin/apxs -cia mod_limitipconn.c

    Add following line to /usr/local/apache/conf/httpd.conf , inside the virtual host of your domain

    <IfModule mod_limitipconn.c>
    <Location />

    MaxConnPerIP 3

    </Location>
    </IfModule>

    then restart apache

    Hope this helps
    LogicSupport.com - Support That Makes Sense!
    Quality Server Management & Web Hosting Support

Similar Threads & Tags
Similar threads

  1. Concurrent Connections Limit
    By scegg in forum Feature Requests for cPanel/WHM
    Replies: 1
    Last Post: 01-24-2011, 03:24 PM
  2. Concurrent Connections Limit
    By scegg in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-23-2011, 12:20 AM
  3. limit multiple simultaneous ip connections
    By ASTRAPI in forum New User Questions
    Replies: 2
    Last Post: 09-09-2008, 09:23 AM
  4. Limit connections per ip
    By surfweb in forum New User Questions
    Replies: 9
    Last Post: 03-01-2008, 11:40 AM
  5. Anyone know how to limit a amount of connections per i.p.?
    By DWHS.net in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 04-13-2005, 11:07 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube