httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anton Krall" <akrall-li...@intruder.com.mx>
Subject RE: [users@httpd] limit max number of simultaneous connections from same ip
Date Thu, 27 Oct 2005 07:36:53 GMT
I found a mod that lets you set an IP limit on a per auth user basis, which
is exactly what I was looking for, it also let you set an IP limit on unauth
users but that's exactly what we wanted to avoid so it works great in this
form:


Dir1 which has all the images and html files
-> dir2 which has some files inside and its protected by .htaccess

So.. Anybody has any number of connections on the open dir but as soon as
they try to take something from dir2, the auth system asks for a user and
then limit the user to only on connection to that dir but no dir1.

Works like a charm...

If anybody needs to do something like this, the mod is called mod_choke and
can be found here:

http://os.cyberheatinc.com/mod_choke.php

Made by Nathan Shafer
Great work!

 

|-----Original Message-----
|From: Joshua Kugler [mailto:joshua.kugler@uaf.edu] 
|Sent: Tuesday, October 25, 2005 2:00 PM
|To: users@httpd.apache.org
|Subject: Re: [users@httpd] limit max number of simultaneous 
|connections from same ip
|
|On Sunday 23 October 2005 21:09, Anton Krall wrote:
|> Is there a way to limit the max number of httpd connections from a 
|> single ip?
|>
|> For example:
|>
|> tcp        0  30492 207.36.86.205:80        162.84.172.175:50784
|> ESTABLISHED 31208/httpd
|> tcp        0  33396 207.36.86.205:80        162.84.172.175:50785
|> ESTABLISHED 14245/httpd
|> tcp        0      0 207.36.86.205:80        162.84.172.175:50782
|> ESTABLISHED 19402/httpd
|>
|> Limit 162.84.172.175 to only make one connection?
|
|To add to the comments of others, you also have the situation 
|where several users (possibly hundreds, or thousands: see AOL) 
|are behind a single proxy, which has a single IP, so you would 
|limit all those users to one connection to your web server. 
|Not a good idea.
|
|j----- k-----
|
|--
|Joshua Kugler
|CDE System Administrator
|http://distance.uaf.edu/
|
|---------------------------------------------------------------------
|The official User-To-User support forum of the Apache HTTP 
|Server Project.
|See <URL:http://httpd.apache.org/userslist.html> for more info.
|To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
|   "   from the digest: users-digest-unsubscribe@httpd.apache.org
|For additional commands, e-mail: users-help@httpd.apache.org
|
|


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message