Server Administration Help - Stop people from making multiple connections to the Web Serverr
This procedure is for Linux Redhat, Fedora Core or CentOS systems. But should be roughly the same for all Linux or Unix based systems.
Excute the following in italics
wget http://dominia.org/djao/limit/mod_limitipconn-0.04.tar.gz
(or if unavailable "wget http://www.galacnet.com/faq/downloads/mod_limitipconn-0.04.tar.gz")
tar xzvf mod_limitipconn-0.04.tar.gz
cd mod_limitipconn-0.04
edit the file : Makefile
Look for a line that has APXS= and then insert in your APXS location.
eg.
APXS=/usr/local/apache/bin/apxs
Save and continue to install the program.
make
make install
/ec/rc.d/init.d/httpd restart
Installation could fail if you do not have the GCC compilers for apache. please refer to our other help files for how to install those.
Configuration of Mod Limitipconn
edit this file /etc/httpd/conf/httpd.conf and look for the following :
MaxConnPerIP 2
MaxConnPerIP means the max number of connections an IP can make to the server. If set to 2 he can only at most make 2 connections at one time.
Back to FaQ Section
|
|