I need to limit a server to only letting 4 concurrent connections per i.p. at once.
Thank you very much for any help on this.
-Charles
I need to limit a server to only letting 4 concurrent connections per i.p. at once.
Thank you very much for any help on this.
-Charles
Hi Charles,
To any service in particular, or just to the server as a whole?
Jonathan Michaelson
Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com
I would be for apache or port 80. It's for his website so something in htaccess would be ideal.
I don't believe that you can do it in standard apache. However, you can do it using mod_throttle I believe by using its ThrottlePolicy directive within a VirtualHost container in httpd.conf like this:
A Request here is an IP address and we're limited 4 connections per 1 second:Code:<IfModule mod_throttle.c> ThrottlePolicy Request 4 1 </IfModule>
http://www.snert.com/Software/mod_throttle/
Jonathan Michaelson
Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com
Thanks Chirpy but I am a big fan of that mod. I will just have to make due.Originally Posted by chirpy
Thanks again.