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.
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.
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!
Hello Sir
i Read Readme File And I install it on Apache 2
but i it not work
can you said full install guide ..
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
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