Apache Server configuration support - rate limit max connections per host?

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > December 2007 > rate limit max connections per host?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author rate limit max connections per host?
alazarevich@gmail.com

2007-12-19, 7:30 pm

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
Davide Bianchi

2007-12-19, 7:30 pm

On 2007-12-19, alazarevich@gmail.com <alazarevich@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

--
Debating unix flavors in the context of anything Microsoft is like talking
about which ice cream flavor tastes least like sawdust with turpentine
sauce. --void
alazarevich@gmail.com

2007-12-19, 7:30 pm

On Dec 19, 1:41 pm, Davide Bianchi <davideyeahs...@onlyforfun.net>
wrote:
> On 2007-12-19, alazarev...@gmail.com <alazarev...@gmail.com> wrote:
>
>
> 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

Jim Hayter

2007-12-21, 1:56 am

alazarevich@gmail.com wrote:
> On Dec 19, 1:41 pm, Davide Bianchi <davideyeahs...@onlyforfun.net>
> wrote:
>
> 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 <Directory X>...</Directory>.

Jim
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com