rate limit max connections per host?
am 19.12.2007 20:32:56 von alazarevich
Hi,
In apache on RHEL3-AS (rpm httpd-2.0.46-68.ent), is there a way to
rate limit the maximum number of connections PER CLIENT? I don't mean
maxclients, which limits the total number of connections. We want to
limit the number of connections PER IP that connects to our webserver.
Isn't there a module that does that? Any idea what it's called?
Thanks!
Alex
Re: rate limit max connections per host?
am 19.12.2007 20:56:50 von alazarevich
On Dec 19, 1:41 pm, Davide Bianchi
wrote:
> On 2007-12-19, alazarev...@gmail.com wrote:
>
> > limit the number of connections PER IP that connects to our webserver.
>
> You either do that in the firewall, or in your application, I don't
> think that there is a _functional_ way to do it in Apache.
>
> Davide
>
Hmm, I was hoping you wouldn't say that. We can't do it in the
firewall because parts of the server need to be open to more
connections. It's just one of our virtual servers that needs to be
rate limited per IP that connects to it. Firewall would cover all
traffic to httpd and cause other problems if we rate limited per IP. I
suppose I could move the virtual server to another host, and that
firewall could limit per IP.
Fixing the application won't work. The application people say it's my
problem.
Are you sure there isn't an apache module that can do it? Anyone?
Thanks,
Alex
Re: rate limit max connections per host?
am 21.12.2007 04:28:01 von Jim Hayter
alazarevich@gmail.com wrote:
> On Dec 19, 1:41 pm, Davide Bianchi
> wrote:
>> On 2007-12-19, alazarev...@gmail.com wrote:
>>
>>> limit the number of connections PER IP that connects to our webserver.
>> You either do that in the firewall, or in your application, I don't
>> think that there is a _functional_ way to do it in Apache.
>>
>> Davide
>>
>
> Hmm, I was hoping you wouldn't say that. We can't do it in the
> firewall because parts of the server need to be open to more
> connections. It's just one of our virtual servers that needs to be
> rate limited per IP that connects to it. Firewall would cover all
> traffic to httpd and cause other problems if we rate limited per IP. I
> suppose I could move the virtual server to another host, and that
> firewall could limit per IP.
>
> Fixing the application won't work. The application people say it's my
> problem.
>
> Are you sure there isn't an apache module that can do it? Anyone?
>
> Thanks,
>
> Alex
>
I'm looking at moving from Apache 1.3 to 2.2. I've been testing
mod_cband and mod_bandwidth. Mod_bandwidth has the ability to limit the
number of connections within ....
Jim