#1 (permalink)  
Old 10-10-2008, 03:19 AM
Registered User
 
Join Date: Jul 2008
Posts: 7
Batmunkh is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 10-14-2008, 06:52 AM
Registered User
 
Join Date: Nov 2007
Posts: 9
peacemaker is on a distinguished road
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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 06-24-2009, 11:37 AM
Registered User
 
Join Date: Jun 2009
Posts: 1
mohammad is on a distinguished road
Hello Sir
i Read Readme File And I install it on Apache 2
but i it not work

can you said full install guide ..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 06-25-2009, 03:40 AM
Spiral's Avatar
Registered User
 
Join Date: Jun 2005
Location: Area 51
Posts: 1,501
Spiral is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 06-27-2009, 05:26 AM
Registered User
 
Join Date: Jun 2007
Posts: 135
logicsupport is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
limit connections per ip

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 11:43 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc