Batmunkh

Member
Jul 19, 2008
8
0
51
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.
 

mohammad

Registered
Jun 24, 2009
1
0
51
Hello Sir
i Read Readme File And I install it on Apache 2
but i it not work

can you said full install guide ..
 

Spiral

BANNED
Jun 24, 2005
2,018
8
193
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
 

logicsupport

Well-Known Member
Jun 5, 2007
138
0
166
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