2010-05-12 17:43:50 +02:00
|
|
|
mod_limitipconn is an Apache which allows web server administrators
|
|
|
|
to limit the number of simultaneous downloads permitted from a single
|
|
|
|
IP address.
|
2010-05-11 22:54:55 +02:00
|
|
|
|
|
|
|
The module can be loaded with the following in /etc/httpd/httpd.conf
|
|
|
|
|
|
|
|
LoadModule limitipconn_module lib/httpd/modules/mod_limitipconn.so
|
|
|
|
ExtendedStatus On
|
|
|
|
MaxConnPerIP 5
|
|
|
|
|
|
|
|
To test the 'test.pl' utility from mod_evasive is included in the doc dir.
|
2010-05-12 17:43:50 +02:00
|
|
|
Which when run multiple simultainus sessions of should similate accessive
|
|
|
|
connectivity; e.g. with MaxConnPerIP set to ``1''
|
2010-05-11 22:54:55 +02:00
|
|
|
|
2010-05-12 17:43:50 +02:00
|
|
|
while true; do (perl ./test.pl &); perl ./test.pl; done
|