You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jefferson Midei <jm...@wmweb.com.br> on 2003/09/02 19:34:19 UTC
[users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
Dear Sirs,
My name is Jefferson Midei, and I'm in Brasil.
I'm using a Linux Server, Conectiva (RedHat) 9.0, kernel 2.4.21, and
WebServer Apache 2.0.44.
I have about 150 virtual domains in my Apache Server, and I'm using a
"namebased" configuration (sharing one IP)...
I need to limit the usage of my bandwidth per virtual domain, and I don't
know how to do that, or what I need to do that...
I looked for "limit bandwidth" in the hystory of this maillist, but I just
found solutions for Apache 1.3 (mod_bandwidth)...
Please, help me...
Thanks,
Jefferson Midei
jmidei@wmweb.com.br
---------------------------------------------------------------------
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
SV: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
Posted by Tomas Larsson <la...@telia.com>.
The source for the V1.3 modules are available. Maybee it's possible to port
it to V2044.
With best regards
Tomas Larsson
Verus amicus est tamquam alter idem
All messages originating from me are scanned with the latest updates of
Norton Antivirus 2K3.
-----Ursprungligt meddelande-----
Från: mgarriss [mailto:mgarriss@earthlink.net]
Skickat: den 6 september 2003 17:35
Till: users@httpd.apache.org
Ämne: Re: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
I agree completely with Leif's comments. I would love to help in this
endeavor. I am a very experienced C/C++ programmer but have only
recently joined the Apache world. After reading a few chapters on
module writing I would say that it is complex but it is also
understandable. Having said that I would never undertake such a project
unless a few more people were willing to jump on with it. I'll leave it
at that.....
Michael Garriss
Leif W wrote:
>>----- Original Message -----
>>From: "Eric" <ef...@kwinternet.com>
>>To: <us...@httpd.apache.org>; <us...@httpd.apache.org>
>>Sent: Thursday, September 04, 2003 4:21 PM
>>Subject: Re: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
>>
>>Hi,
>>
>>It might be better handled by a firewall, see OpenBSD, pf.
>>
>>
>
>Agreed, partly. In one sense, it might be desireable to leave such
>things to to a separate box specialized and suited to a specific task,
>to share the work load. When I mention a "solution" for Apache, I did
>not intend to restrict the solution domain to the range of Apache
>alone, but to the more flexible interpretation of the range of Apache,
>and the operating system and environment it runs on (either single
>system or chained with firewalls then the web server). As such, some
>solution examples might be to drop in a specialized "bandwidth shaper"
>(box running your favorite Linux or FreeBSD, etc.), or to have the
>bandwidth solution run on the same server as the web server, but a 3rd
>party software package, or to have some Apache module, as others have
>mentioned.
>
>But think of the added complexity of having to maintain two sets of
>"host configs" just to limit bandwidth (one VirtualHost, and one
>host-pased bandwidth limiting). And someone suggested even
>finer-grained per-directory control. And I can imagine even finer
>grained per-user bandwidth, and ACL style directory/user combinations
>of bandwidth management. This would seem exceedingly difficult to
>separate from Apache, either with dual configs or packet filtering
>(across boxes) or some such mechanism for doing all this bandwidth
>shaping.
>
>
>
>>Apache has enough to do!
>>
>>
>
>It's been a long time since I looked at IIS or any other web server, so
>I don't know what features they have (like bandwidth shaping) -- and it
>may just be a little healthy paranoia trying to anticipate what the
>competition might do and try to get there as well -- but since people
>are starting to ask bandwidth shaping questions, (and not brand new,
>some were looking for some months now), it indicates to me that there
>is an evolution taking place as the need is clearly arising. Apache
>does so much, and does it so well, agreed wholeheartedly, that's why
>I'm here, that's why something like 60% on the web servers are Apache.
>:-) But the fear in my mind is that Apache Group sits on the laurels
>of their success, smugly shrugging off new ideas -- assuming that
>because they have been the best, and are the best now, they will also
>be in the future -- while other companies go after these otherwise
>discarded ideas, implement them, and thus steal market share. So I am
>only using this "bandwidth" (haha, pun) here to point out that this may
>be an opportunity for growth to meet an emerging need. In the past,
>when people needed the rewrite capability, or the *Match capability,
>(or any of the other nifty features of Apache I have yet to learn), how
>often were they answered with "Apache does enough already!". Probably
>quite a lot and eventually over time the need grew and time was found
>to introduce and implement some hacks.
>
>If I knew C and the Apache internals well enough, or even enough to
>write modules, I'd gladly put some time into a solution to this
>question. I will probably get a book on Apache module writing and
>check out the other module sources for Apache 1.3.
>
>Thanks,
>
>Leif
>
>P.S. And I only expound upon this topic as I felt a discussion needed
>to start somewhere.
>
>
>
>>Thanks,
>>Eric
>>
>>At 12:59 PM 2003-09-04, Leif W wrote:
>>
>>
>>>Note, this reply may be off topic.
>>>
>>>This is a good question I think, as other web servers may already
>>>have
>>>
>>>
>some
>
>
>>>feature like this, so there should be some focus on systems running
>>>
>>>
>Apache
>
>
>>>to find equivalent solutions, in order to continue to compete.
>>>
>>>I've done some searching with Google for "Linux host based bandwith
>>>management shaping" (and variations), but it's hard to find anything
>>>specific.
>>>
>>>First, I found the Apache mod_bandwidth page (
>>>http://www.cohprog.com/v3/bandwidth/intro-en.html ), but the latest
>>>
>>>
>release
>
>
>>>was 2003-01-12, and there's no mention of Apache 1.3.x or 2.0.x
>>>anywhere
>>>
>>>
>in
>
>
>>>the sparse documentation, so I am leery of this seemingly stale
>>>software project.
>>>
>>>The only relelvent stuff I found was the ADSL Bandwidth Management
>>>HOWTO
>>>
>>>
>(
>
>
>>>http://www.linux.org/docs/ldp/howto/ADSL-Bandwidth-Management-HOWTO/
>>>)
>>>
>>>
>and
>
>
>>>the HTB queue patch (included with kernel 2.4.20 and higher,
>>>http://luxik.cdi.cz/~devik/qos/htb/ ).
>>>
>>>Linux Advanced Routing & Traffic Control ( http://www.lartc.org/ ).
>>>
>>>Unfortunately the only bandwidth management I could see were
>>>IP-based.
>>>
>>>I did come across various commercial hardware products claiming to do
>>>host-based bandwidth management, but I did not spend much time
>>>looking at those, as I do not have such money to throw away, when
>>>there's bound to
>>>
>>>
>be
>
>
>>>some way to do it better, for free (eventually).
>>>
>>>Leif
>>>
>>>
>>>
>>>>----- Original Message -----
>>>>From: "Tomas Larsson" <la...@telia.com>
>>>>To: <us...@httpd.apache.org>; "'Jefferson Midei'"
>>>>
>>>>
><jm...@wmweb.com.br>
>
>
>>>>Sent: Thursday, September 04, 2003 1:28 PM
>>>>Subject: SV: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
>>>>
>>>>
>>>>
>>>>Hi Jefferson.
>>>>Have you got any solutions yet, I'm allso looking for the same,
>>>>
>>>>
>haven't
>
>
>>>>found anything yet, and no reply from the group either.
>>>>
>>>>With best regards
>>>>
>>>>Tomas Larsson
>>>>
>>>>Verus amicus est tamquam alter idem
>>>>
>>>>
>>>>All messages originating from me are scanned with the latest updates
>>>>
>>>>
>of
>
>
>>>>Norton Antivirus 2K3.
>>>>
>>>>
>>>>
>>>>>-----Ursprungligt meddelande-----
>>>>>Från: Jefferson Midei [mailto:jmidei@wmweb.com.br]
>>>>>Skickat: den 2 september 2003 19:34
>>>>>Till: users@httpd.apache.org
>>>>>Kopia: Luiz Eduardo
>>>>>Ämne: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
>>>>>Prioritet: Hög
>>>>>
>>>>>
>>>>> Dear Sirs,
>>>>>
>>>>>My name is Jefferson Midei, and I'm in Brasil.
>>>>>
>>>>>I'm using a Linux Server, Conectiva (RedHat) 9.0, kernel 2.4.21,
>>>>>and WebServer Apache 2.0.44.
>>>>>
>>>>>I have about 150 virtual domains in my Apache Server, and I'm using
>>>>>
>>>>>
>a
>
>
>>>>>"namebased" configuration (sharing one IP)...
>>>>>
>>>>>I need to limit the usage of my bandwidth per virtual domain, and I
>>>>>don't know how to do that, or what I need to do that...
>>>>>
>>>>>I looked for "limit bandwidth" in the hystory of this maillist, but
>>>>>
>>>>>
>I
>
>
>>>>>just
>>>>>found solutions for Apache 1.3 (mod_bandwidth)...
>>>>>
>>>>>Please, help me...
>>>>>
>>>>>Thanks,
>>>>>
>>>>>Jefferson Midei
>>>>>jmidei@wmweb.com.br
>>>>>
>>>>>
>>>>>
>
>
>
>---------------------------------------------------------------------
>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
---------------------------------------------------------------------
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
Re: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
Posted by mgarriss <mg...@earthlink.net>.
I agree completely with Leif's comments. I would love to help in this
endeavor. I am a very experienced C/C++ programmer but have only
recently joined the Apache world. After reading a few chapters on
module writing I would say that it is complex but it is also
understandable. Having said that I would never undertake such a project
unless a few more people were willing to jump on with it. I'll leave it
at that.....
Michael Garriss
Leif W wrote:
>>----- Original Message -----
>>From: "Eric" <ef...@kwinternet.com>
>>To: <us...@httpd.apache.org>; <us...@httpd.apache.org>
>>Sent: Thursday, September 04, 2003 4:21 PM
>>Subject: Re: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
>>
>>Hi,
>>
>>It might be better handled by a firewall, see OpenBSD, pf.
>>
>>
>
>Agreed, partly. In one sense, it might be desireable to leave such things
>to to a separate box specialized and suited to a specific task, to share the
>work load. When I mention a "solution" for Apache, I did not intend to
>restrict the solution domain to the range of Apache alone, but to the more
>flexible interpretation of the range of Apache, and the operating system and
>environment it runs on (either single system or chained with firewalls then
>the web server). As such, some solution examples might be to drop in a
>specialized "bandwidth shaper" (box running your favorite Linux or FreeBSD,
>etc.), or to have the bandwidth solution run on the same server as the web
>server, but a 3rd party software package, or to have some Apache module, as
>others have mentioned.
>
>But think of the added complexity of having to maintain two sets of "host
>configs" just to limit bandwidth (one VirtualHost, and one host-pased
>bandwidth limiting). And someone suggested even finer-grained per-directory
>control. And I can imagine even finer grained per-user bandwidth, and ACL
>style directory/user combinations of bandwidth management. This would seem
>exceedingly difficult to separate from Apache, either with dual configs or
>packet filtering (across boxes) or some such mechanism for doing all this
>bandwidth shaping.
>
>
>
>>Apache has enough to do!
>>
>>
>
>It's been a long time since I looked at IIS or any other web server, so I
>don't know what features they have (like bandwidth shaping) -- and it may
>just be a little healthy paranoia trying to anticipate what the competition
>might do and try to get there as well -- but since people are starting to
>ask bandwidth shaping questions, (and not brand new, some were looking for
>some months now), it indicates to me that there is an evolution taking place
>as the need is clearly arising. Apache does so much, and does it so well,
>agreed wholeheartedly, that's why I'm here, that's why something like 60% on
>the web servers are Apache. :-) But the fear in my mind is that Apache
>Group sits on the laurels of their success, smugly shrugging off new
>ideas -- assuming that because they have been the best, and are the best
>now, they will also be in the future -- while other companies go after these
>otherwise discarded ideas, implement them, and thus steal market share. So
>I am only using this "bandwidth" (haha, pun) here to point out that this may
>be an opportunity for growth to meet an emerging need. In the past, when
>people needed the rewrite capability, or the *Match capability, (or any of
>the other nifty features of Apache I have yet to learn), how often were they
>answered with "Apache does enough already!". Probably quite a lot and
>eventually over time the need grew and time was found to introduce and
>implement some hacks.
>
>If I knew C and the Apache internals well enough, or even enough to write
>modules, I'd gladly put some time into a solution to this question. I will
>probably get a book on Apache module writing and check out the other module
>sources for Apache 1.3.
>
>Thanks,
>
>Leif
>
>P.S. And I only expound upon this topic as I felt a discussion needed to
>start somewhere.
>
>
>
>>Thanks,
>>Eric
>>
>>At 12:59 PM 2003-09-04, Leif W wrote:
>>
>>
>>>Note, this reply may be off topic.
>>>
>>>This is a good question I think, as other web servers may already have
>>>
>>>
>some
>
>
>>>feature like this, so there should be some focus on systems running
>>>
>>>
>Apache
>
>
>>>to find equivalent solutions, in order to continue to compete.
>>>
>>>I've done some searching with Google for "Linux host based bandwith
>>>management shaping" (and variations), but it's hard to find anything
>>>specific.
>>>
>>>First, I found the Apache mod_bandwidth page (
>>>http://www.cohprog.com/v3/bandwidth/intro-en.html ), but the latest
>>>
>>>
>release
>
>
>>>was 2003-01-12, and there's no mention of Apache 1.3.x or 2.0.x anywhere
>>>
>>>
>in
>
>
>>>the sparse documentation, so I am leery of this seemingly stale software
>>>project.
>>>
>>>The only relelvent stuff I found was the ADSL Bandwidth Management HOWTO
>>>
>>>
>(
>
>
>>>http://www.linux.org/docs/ldp/howto/ADSL-Bandwidth-Management-HOWTO/ )
>>>
>>>
>and
>
>
>>>the HTB queue patch (included with kernel 2.4.20 and higher,
>>>http://luxik.cdi.cz/~devik/qos/htb/ ).
>>>
>>>Linux Advanced Routing & Traffic Control ( http://www.lartc.org/ ).
>>>
>>>Unfortunately the only bandwidth management I could see were IP-based.
>>>
>>>I did come across various commercial hardware products claiming to do
>>>host-based bandwidth management, but I did not spend much time looking at
>>>those, as I do not have such money to throw away, when there's bound to
>>>
>>>
>be
>
>
>>>some way to do it better, for free (eventually).
>>>
>>>Leif
>>>
>>>
>>>
>>>>----- Original Message -----
>>>>From: "Tomas Larsson" <la...@telia.com>
>>>>To: <us...@httpd.apache.org>; "'Jefferson Midei'"
>>>>
>>>>
><jm...@wmweb.com.br>
>
>
>>>>Sent: Thursday, September 04, 2003 1:28 PM
>>>>Subject: SV: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
>>>>
>>>>
>>>>
>>>>Hi Jefferson.
>>>>Have you got any solutions yet, I'm allso looking for the same,
>>>>
>>>>
>haven't
>
>
>>>>found anything yet, and no reply from the group either.
>>>>
>>>>With best regards
>>>>
>>>>Tomas Larsson
>>>>
>>>>Verus amicus est tamquam alter idem
>>>>
>>>>
>>>>All messages originating from me are scanned with the latest updates
>>>>
>>>>
>of
>
>
>>>>Norton Antivirus 2K3.
>>>>
>>>>
>>>>
>>>>>-----Ursprungligt meddelande-----
>>>>>Från: Jefferson Midei [mailto:jmidei@wmweb.com.br]
>>>>>Skickat: den 2 september 2003 19:34
>>>>>Till: users@httpd.apache.org
>>>>>Kopia: Luiz Eduardo
>>>>>Ämne: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
>>>>>Prioritet: Hög
>>>>>
>>>>>
>>>>> Dear Sirs,
>>>>>
>>>>>My name is Jefferson Midei, and I'm in Brasil.
>>>>>
>>>>>I'm using a Linux Server, Conectiva (RedHat) 9.0, kernel 2.4.21, and
>>>>>WebServer Apache 2.0.44.
>>>>>
>>>>>I have about 150 virtual domains in my Apache Server, and I'm using
>>>>>
>>>>>
>a
>
>
>>>>>"namebased" configuration (sharing one IP)...
>>>>>
>>>>>I need to limit the usage of my bandwidth per virtual domain, and I
>>>>>don't
>>>>>know how to do that, or what I need to do that...
>>>>>
>>>>>I looked for "limit bandwidth" in the hystory of this maillist, but
>>>>>
>>>>>
>I
>
>
>>>>>just
>>>>>found solutions for Apache 1.3 (mod_bandwidth)...
>>>>>
>>>>>Please, help me...
>>>>>
>>>>>Thanks,
>>>>>
>>>>>Jefferson Midei
>>>>>jmidei@wmweb.com.br
>>>>>
>>>>>
>>>>>
>
>
>
>---------------------------------------------------------------------
>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
Re: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
Posted by Leif W <wa...@usa.net>.
> ----- Original Message -----
> From: "Eric" <ef...@kwinternet.com>
> To: <us...@httpd.apache.org>; <us...@httpd.apache.org>
> Sent: Thursday, September 04, 2003 4:21 PM
> Subject: Re: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
>
> Hi,
>
> It might be better handled by a firewall, see OpenBSD, pf.
Agreed, partly. In one sense, it might be desireable to leave such things
to to a separate box specialized and suited to a specific task, to share the
work load. When I mention a "solution" for Apache, I did not intend to
restrict the solution domain to the range of Apache alone, but to the more
flexible interpretation of the range of Apache, and the operating system and
environment it runs on (either single system or chained with firewalls then
the web server). As such, some solution examples might be to drop in a
specialized "bandwidth shaper" (box running your favorite Linux or FreeBSD,
etc.), or to have the bandwidth solution run on the same server as the web
server, but a 3rd party software package, or to have some Apache module, as
others have mentioned.
But think of the added complexity of having to maintain two sets of "host
configs" just to limit bandwidth (one VirtualHost, and one host-pased
bandwidth limiting). And someone suggested even finer-grained per-directory
control. And I can imagine even finer grained per-user bandwidth, and ACL
style directory/user combinations of bandwidth management. This would seem
exceedingly difficult to separate from Apache, either with dual configs or
packet filtering (across boxes) or some such mechanism for doing all this
bandwidth shaping.
> Apache has enough to do!
It's been a long time since I looked at IIS or any other web server, so I
don't know what features they have (like bandwidth shaping) -- and it may
just be a little healthy paranoia trying to anticipate what the competition
might do and try to get there as well -- but since people are starting to
ask bandwidth shaping questions, (and not brand new, some were looking for
some months now), it indicates to me that there is an evolution taking place
as the need is clearly arising. Apache does so much, and does it so well,
agreed wholeheartedly, that's why I'm here, that's why something like 60% on
the web servers are Apache. :-) But the fear in my mind is that Apache
Group sits on the laurels of their success, smugly shrugging off new
ideas -- assuming that because they have been the best, and are the best
now, they will also be in the future -- while other companies go after these
otherwise discarded ideas, implement them, and thus steal market share. So
I am only using this "bandwidth" (haha, pun) here to point out that this may
be an opportunity for growth to meet an emerging need. In the past, when
people needed the rewrite capability, or the *Match capability, (or any of
the other nifty features of Apache I have yet to learn), how often were they
answered with "Apache does enough already!". Probably quite a lot and
eventually over time the need grew and time was found to introduce and
implement some hacks.
If I knew C and the Apache internals well enough, or even enough to write
modules, I'd gladly put some time into a solution to this question. I will
probably get a book on Apache module writing and check out the other module
sources for Apache 1.3.
Thanks,
Leif
P.S. And I only expound upon this topic as I felt a discussion needed to
start somewhere.
> Thanks,
> Eric
>
> At 12:59 PM 2003-09-04, Leif W wrote:
> > Note, this reply may be off topic.
> >
> >This is a good question I think, as other web servers may already have
some
> >feature like this, so there should be some focus on systems running
Apache
> >to find equivalent solutions, in order to continue to compete.
> >
> >I've done some searching with Google for "Linux host based bandwith
> >management shaping" (and variations), but it's hard to find anything
> >specific.
> >
> >First, I found the Apache mod_bandwidth page (
> >http://www.cohprog.com/v3/bandwidth/intro-en.html ), but the latest
release
> >was 2003-01-12, and there's no mention of Apache 1.3.x or 2.0.x anywhere
in
> >the sparse documentation, so I am leery of this seemingly stale software
> >project.
> >
> >The only relelvent stuff I found was the ADSL Bandwidth Management HOWTO
(
> >http://www.linux.org/docs/ldp/howto/ADSL-Bandwidth-Management-HOWTO/ )
and
> >the HTB queue patch (included with kernel 2.4.20 and higher,
> >http://luxik.cdi.cz/~devik/qos/htb/ ).
> >
> >Linux Advanced Routing & Traffic Control ( http://www.lartc.org/ ).
> >
> >Unfortunately the only bandwidth management I could see were IP-based.
> >
> >I did come across various commercial hardware products claiming to do
> >host-based bandwidth management, but I did not spend much time looking at
> >those, as I do not have such money to throw away, when there's bound to
be
> >some way to do it better, for free (eventually).
> >
> >Leif
> >
> > > ----- Original Message -----
> > > From: "Tomas Larsson" <la...@telia.com>
> > > To: <us...@httpd.apache.org>; "'Jefferson Midei'"
<jm...@wmweb.com.br>
> > > Sent: Thursday, September 04, 2003 1:28 PM
> > > Subject: SV: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
> >>
> >
> > > Hi Jefferson.
> > > Have you got any solutions yet, I'm allso looking for the same,
haven't
> > > found anything yet, and no reply from the group either.
> > >
> > > With best regards
> > >
> > > Tomas Larsson
> >>
> > > Verus amicus est tamquam alter idem
> > >
> > >
> > > All messages originating from me are scanned with the latest updates
of
> > > Norton Antivirus 2K3.
> > >
> > > > -----Ursprungligt meddelande-----
> > > > Från: Jefferson Midei [mailto:jmidei@wmweb.com.br]
> > > > Skickat: den 2 september 2003 19:34
> > > > Till: users@httpd.apache.org
> > > > Kopia: Luiz Eduardo
> > > > Ämne: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
> > > > Prioritet: Hög
> > > >
> > > >
> > > > Dear Sirs,
> > > >
> > > > My name is Jefferson Midei, and I'm in Brasil.
> > > >
> > > > I'm using a Linux Server, Conectiva (RedHat) 9.0, kernel 2.4.21, and
> > > > WebServer Apache 2.0.44.
> > > >
> > > > I have about 150 virtual domains in my Apache Server, and I'm using
a
> > > > "namebased" configuration (sharing one IP)...
> > > >
> > > > I need to limit the usage of my bandwidth per virtual domain, and I
> > > >don't
> > > > know how to do that, or what I need to do that...
> > > >
> > > > I looked for "limit bandwidth" in the hystory of this maillist, but
I
> > > >just
> > > > found solutions for Apache 1.3 (mod_bandwidth)...
> > > >
> > > > Please, help me...
> > > >
> > > > Thanks,
> > > >
> > > > Jefferson Midei
> > > > jmidei@wmweb.com.br
> > > >
---------------------------------------------------------------------
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
SV: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
Posted by Tomas Larsson <la...@telia.com>.
The firewall can not limit bandwidth per directory and number of users per
directory. It will limit everything passing the eth-card.
With best regards
Tomas Larsson
Verus amicus est tamquam alter idem
All messages originating from me are scanned with the latest updates of
Norton Antivirus 2K3.
-----Ursprungligt meddelande-----
Från: Eric [mailto:ef@kwinternet.com]
Skickat: den 4 september 2003 22:21
Till: users@httpd.apache.org; users@httpd.apache.org
Ämne: Re: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
Hi,
It might be better handled by a firewall, see OpenBSD, pf. Apache has
enough to do!
Thanks,
Eric
At 12:59 PM 2003-09-04, Leif W wrote:
>Note, this reply may be off topic.
>
>This is a good question I think, as other web servers may already have
>some feature like this, so there should be some focus on systems
>running Apache to find equivalent solutions, in order to continue to
>compete.
>
>I've done some searching with Google for "Linux host based bandwith
>management shaping" (and variations), but it's hard to find anything
>specific.
>
>First, I found the Apache mod_bandwidth page (
>http://www.cohprog.com/v3/bandwidth/intro-en.html ), but the latest
>release was 2003-01-12, and there's no mention of Apache 1.3.x or 2.0.x
>anywhere in the sparse documentation, so I am leery of this seemingly
>stale software project.
>
>The only relelvent stuff I found was the ADSL Bandwidth Management
>HOWTO (
>http://www.linux.org/docs/ldp/howto/ADSL-Bandwidth-Management-HOWTO/ )
>and the HTB queue patch (included with kernel 2.4.20 and higher,
>http://luxik.cdi.cz/~devik/qos/htb/ ).
>
>Linux Advanced Routing & Traffic Control ( http://www.lartc.org/ ).
>
>Unfortunately the only bandwidth management I could see were IP-based.
>
>I did come across various commercial hardware products claiming to do
>host-based bandwidth management, but I did not spend much time looking
>at those, as I do not have such money to throw away, when there's bound
>to be some way to do it better, for free (eventually).
>
>Leif
>
> > ----- Original Message -----
> > From: "Tomas Larsson" <la...@telia.com>
> > To: <us...@httpd.apache.org>; "'Jefferson Midei'"
> > <jm...@wmweb.com.br>
> > Sent: Thursday, September 04, 2003 1:28 PM
> > Subject: SV: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
> >
>
> > Hi Jefferson.
> > Have you got any solutions yet, I'm allso looking for the same,
> > haven't found anything yet, and no reply from the group either.
> >
> > With best regards
> >
> > Tomas Larsson
> >
> > Verus amicus est tamquam alter idem
> >
> >
> > All messages originating from me are scanned with the latest updates
> > of Norton Antivirus 2K3.
> >
> > > -----Ursprungligt meddelande-----
> > > Från: Jefferson Midei [mailto:jmidei@wmweb.com.br]
> > > Skickat: den 2 september 2003 19:34
> > > Till: users@httpd.apache.org
> > > Kopia: Luiz Eduardo
> > > Ämne: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
> > > Prioritet: Hög
> > >
> > >
> > > Dear Sirs,
> > >
> > > My name is Jefferson Midei, and I'm in Brasil.
> > >
> > > I'm using a Linux Server, Conectiva (RedHat) 9.0, kernel 2.4.21,
> > > and WebServer Apache 2.0.44.
> > >
> > > I have about 150 virtual domains in my Apache Server, and I'm
> > > using a "namebased" configuration (sharing one IP)...
> > >
> > > I need to limit the usage of my bandwidth per virtual domain, and
> > > I
>don't
> > > know how to do that, or what I need to do that...
> > >
> > > I looked for "limit bandwidth" in the hystory of this maillist,
> > > but I
>just
> > > found solutions for Apache 1.3 (mod_bandwidth)...
> > >
> > > Please, help me...
> > >
> > > Thanks,
> > >
> > > Jefferson Midei
> > > jmidei@wmweb.com.br
> > >
>
>
>
>---------------------------------------------------------------------
>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
Lead Programmer
D.M. Contact Management
250.383.0836
---------------------------------------------------------------------
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
Re: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
Posted by Eric <ef...@kwinternet.com>.
Hi,
It might be better handled by a firewall, see OpenBSD, pf. Apache has
enough to do!
Thanks,
Eric
At 12:59 PM 2003-09-04, Leif W wrote:
>Note, this reply may be off topic.
>
>This is a good question I think, as other web servers may already have some
>feature like this, so there should be some focus on systems running Apache
>to find equivalent solutions, in order to continue to compete.
>
>I've done some searching with Google for "Linux host based bandwith
>management shaping" (and variations), but it's hard to find anything
>specific.
>
>First, I found the Apache mod_bandwidth page (
>http://www.cohprog.com/v3/bandwidth/intro-en.html ), but the latest release
>was 2003-01-12, and there's no mention of Apache 1.3.x or 2.0.x anywhere in
>the sparse documentation, so I am leery of this seemingly stale software
>project.
>
>The only relelvent stuff I found was the ADSL Bandwidth Management HOWTO (
>http://www.linux.org/docs/ldp/howto/ADSL-Bandwidth-Management-HOWTO/ ) and
>the HTB queue patch (included with kernel 2.4.20 and higher,
>http://luxik.cdi.cz/~devik/qos/htb/ ).
>
>Linux Advanced Routing & Traffic Control ( http://www.lartc.org/ ).
>
>Unfortunately the only bandwidth management I could see were IP-based.
>
>I did come across various commercial hardware products claiming to do
>host-based bandwidth management, but I did not spend much time looking at
>those, as I do not have such money to throw away, when there's bound to be
>some way to do it better, for free (eventually).
>
>Leif
>
> > ----- Original Message -----
> > From: "Tomas Larsson" <la...@telia.com>
> > To: <us...@httpd.apache.org>; "'Jefferson Midei'" <jm...@wmweb.com.br>
> > Sent: Thursday, September 04, 2003 1:28 PM
> > Subject: SV: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
> >
>
> > Hi Jefferson.
> > Have you got any solutions yet, I'm allso looking for the same, haven't
> > found anything yet, and no reply from the group either.
> >
> > With best regards
> >
> > Tomas Larsson
> >
> > Verus amicus est tamquam alter idem
> >
> >
> > All messages originating from me are scanned with the latest updates of
> > Norton Antivirus 2K3.
> >
> > > -----Ursprungligt meddelande-----
> > > Från: Jefferson Midei [mailto:jmidei@wmweb.com.br]
> > > Skickat: den 2 september 2003 19:34
> > > Till: users@httpd.apache.org
> > > Kopia: Luiz Eduardo
> > > Ämne: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
> > > Prioritet: Hög
> > >
> > >
> > > Dear Sirs,
> > >
> > > My name is Jefferson Midei, and I'm in Brasil.
> > >
> > > I'm using a Linux Server, Conectiva (RedHat) 9.0, kernel 2.4.21, and
> > > WebServer Apache 2.0.44.
> > >
> > > I have about 150 virtual domains in my Apache Server, and I'm using a
> > > "namebased" configuration (sharing one IP)...
> > >
> > > I need to limit the usage of my bandwidth per virtual domain, and I
>don't
> > > know how to do that, or what I need to do that...
> > >
> > > I looked for "limit bandwidth" in the hystory of this maillist, but I
>just
> > > found solutions for Apache 1.3 (mod_bandwidth)...
> > >
> > > Please, help me...
> > >
> > > Thanks,
> > >
> > > Jefferson Midei
> > > jmidei@wmweb.com.br
> > >
>
>
>
>---------------------------------------------------------------------
>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
Lead Programmer
D.M. Contact Management
250.383.0836
---------------------------------------------------------------------
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
Re: SV: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
Posted by Brian Dessent <br...@dessent.net>.
Tomas Larsson wrote:
>
> Yes BUT it's not for 2.0.44
>
> With best regards
>
> Tomas Larsson
I guess there's a reason most large web hosts run 1.3.
You may also try mod_bwshare but it looks like it only supports a subset
of what mod_throttle does.
http://www.topology.org/src/bwshare/README.html
Brian
---------------------------------------------------------------------
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
SV: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
Posted by Tomas Larsson <la...@telia.com>.
Yes BUT it's not for 2.0.44
With best regards
Tomas Larsson
Verus amicus est tamquam alter idem
All messages originating from me are scanned with the latest updates of
Norton Antivirus 2K3.
-----Ursprungligt meddelande-----
Från: Brian Dessent [mailto:brian@dessent.net]
Skickat: den 4 september 2003 22:44
Till: users@httpd.apache.org
Ämne: Re: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
Leif W wrote:
>
> Note, this reply may be off topic.
>
> This is a good question I think, as other web servers may already have
> some feature like this, so there should be some focus on systems
> running Apache to find equivalent solutions, in order to continue to
> compete.
>
> I've done some searching with Google for "Linux host based bandwith
> management shaping" (and variations), but it's hard to find anything
> specific.
See also mod_throttle (v1.3 only)
http://www.snert.com/Software/mod_throttle/
Brian
---------------------------------------------------------------------
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
Re: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
Posted by Brian Dessent <br...@dessent.net>.
Leif W wrote:
>
> Note, this reply may be off topic.
>
> This is a good question I think, as other web servers may already have some
> feature like this, so there should be some focus on systems running Apache
> to find equivalent solutions, in order to continue to compete.
>
> I've done some searching with Google for "Linux host based bandwith
> management shaping" (and variations), but it's hard to find anything
> specific.
See also mod_throttle (v1.3 only)
http://www.snert.com/Software/mod_throttle/
Brian
---------------------------------------------------------------------
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
SV: [users@httpd] OTHER KIND OF LIMITATION
Posted by Tomas Larsson <la...@telia.com>.
Well, I'm perfectly happy if I can do "per directory".
With best regards
Tomas Larsson
Verus amicus est tamquam alter idem
All messages originating from me are scanned with the latest updates of
Norton Antivirus 2K3.
-----Ursprungligt meddelande-----
Från: Leif W [mailto:warp-9.9@usa.net]
Skickat: den 5 september 2003 20:24
Till: users@httpd.apache.org
Ämne: Re: [users@httpd] OTHER KIND OF LIMITATION
I'd probably say no (as a wild guess). Think about the "granularity" or the
tightness of control you want. Using an OS like Linux or FreeBSD, you can
control bandwidth per IP, or even per protocol (HTTP, FTP, SSH, etc.). If
you can't do host-based bandwidth limiting, nor user, nor directory,
certainly you won't be able to do file "types", which is at the "tight" end
of the bandwidth shaping spectrum.
What I'd probably do is go read the Linux ADSL-Bandwidth-Management-HOWTO,
as it better explains how to do these things, and put your "heavy" files
(AVI, MP3, ZIP) on an FTP server ( http://proftpd.org/ ), and as described
in the HOWTO, set up packet queues with varying priorities, give highest
priority to interactive sessions like ssh, middle priority to the stuff on
the web server, and lowest priority to stuff on the FTP server.
This is the probably the simplest, quickest, and right now the best way to
achieve what you're both trying to do.
Leif
----- Original Message -----
From: "Tomas Larsson" <la...@telia.com>
To: <us...@httpd.apache.org>; "'Jefferson Midei'" <jm...@wmweb.com.br>
Sent: Friday, September 05, 2003 7:51 AM
Subject: SV: [users@httpd] OTHER KIND OF LIMITATION
To be honest I'm looking for something similar, --se my earlier post. I
haven't found any solution yet.
With best regards
Tomas Larsson
Verus amicus est tamquam alter idem
All messages originating from me are scanned with the latest updates of
Norton Antivirus 2K3.
-----Ursprungligt meddelande-----
Från: Jefferson Midei [mailto:jmidei@wmweb.com.br]
Skickat: den 5 september 2003 13:09
Till: users@httpd.apache.org
Ämne: [users@httpd] OTHER KIND OF LIMITATION
Dear Sirs,
Seems to me that to limit the bandwidth using apache 2.0.44 is not so
easy... So, I'm thinking about to limit my bandwidth using another way...
My WebServer (Apache 2.0.44, in a linux box kernel 2.4.21) is connected to a
256 kbps link. And studing my weblogs (using webalizer), I discovered that
part (50%) of the use of my bandwidth are users downloading files like .EXE,
.MP3, .AVI, .PDF, .DOC, .ZIP, etc... The other part of the use of my
bandwidth are users downloading "www" files, like .HTM*, .PHP*, .GIF, .PNG,
.JPG, etc...
I would like to limit the bandwidth use for the first files types (.EXE,
.PDF, etc...) just to 15% of my bandwidth... These files are downloaded
through the Apache WebServer, so, I would like to know if Apache will limit
that for me, and how...
Thanks,
JM...
-----Mensagem Original-----
De: "Leif W" <wa...@usa.net>
Para: <us...@httpd.apache.org>
Enviada em: quinta-feira, 4 de setembro de 2003 16:59
Assunto: Re: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
> Note, this reply may be off topic.
>
> This is a good question I think, as other web servers may already have
some
> feature like this, so there should be some focus on systems running
> Apache to find equivalent solutions, in order to continue to compete.
>
> I've done some searching with Google for "Linux host based bandwith
> management shaping" (and variations), but it's hard to find anything
> specific.
>
> First, I found the Apache mod_bandwidth page (
> http://www.cohprog.com/v3/bandwidth/intro-en.html ), but the latest
release
> was 2003-01-12, and there's no mention of Apache 1.3.x or 2.0.x
> anywhere
in
> the sparse documentation, so I am leery of this seemingly stale
> software project.
>
> The only relelvent stuff I found was the ADSL Bandwidth Management
> HOWTO (
> http://www.linux.org/docs/ldp/howto/ADSL-Bandwidth-Management-HOWTO/ )
> and the HTB queue patch (included with kernel 2.4.20 and higher,
> http://luxik.cdi.cz/~devik/qos/htb/ ).
>
> Linux Advanced Routing & Traffic Control ( http://www.lartc.org/ ).
>
> Unfortunately the only bandwidth management I could see were IP-based.
>
> I did come across various commercial hardware products claiming to do
> host-based bandwidth management, but I did not spend much time looking
> at those, as I do not have such money to throw away, when there's
> bound to be some way to do it better, for free (eventually).
>
> Leif
>
> > ----- Original Message -----
> > From: "Tomas Larsson" <la...@telia.com>
> > To: <us...@httpd.apache.org>; "'Jefferson Midei'"
> > <jm...@wmweb.com.br>
> > Sent: Thursday, September 04, 2003 1:28 PM
> > Subject: SV: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
> >
>
> > Hi Jefferson.
> > Have you got any solutions yet, I'm allso looking for the same,
> > haven't found anything yet, and no reply from the group either.
> >
> > With best regards
> >
> > Tomas Larsson
> >
> > Verus amicus est tamquam alter idem
> >
> >
> > All messages originating from me are scanned with the latest updates
> > of Norton Antivirus 2K3.
> >
> > > -----Ursprungligt meddelande-----
> > > Från: Jefferson Midei [mailto:jmidei@wmweb.com.br]
> > > Skickat: den 2 september 2003 19:34
> > > Till: users@httpd.apache.org
> > > Kopia: Luiz Eduardo
> > > Ämne: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
> > > Prioritet: Hög
> > >
> > >
> > > Dear Sirs,
> > >
> > > My name is Jefferson Midei, and I'm in Brasil.
> > >
> > > I'm using a Linux Server, Conectiva (RedHat) 9.0, kernel 2.4.21,
> > > and WebServer Apache 2.0.44.
> > >
> > > I have about 150 virtual domains in my Apache Server, and I'm
> > > using a "namebased" configuration (sharing one IP)...
> > >
> > > I need to limit the usage of my bandwidth per virtual domain, and
> > > I
> don't
> > > know how to do that, or what I need to do that...
> > >
> > > I looked for "limit bandwidth" in the hystory of this maillist,
> > > but I
> just
> > > found solutions for Apache 1.3 (mod_bandwidth)...
> > >
> > > Please, help me...
> > >
> > > Thanks,
> > >
> > > Jefferson Midei
> > > jmidei@wmweb.com.br
> > >
>
>
>
> ---------------------------------------------------------------------
> 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
---------------------------------------------------------------------
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
---------------------------------------------------------------------
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
Re: [users@httpd] OTHER KIND OF LIMITATION
Posted by Leif W <wa...@usa.net>.
I'd probably say no (as a wild guess). Think about the "granularity" or the
tightness of control you want. Using an OS like Linux or FreeBSD, you can
control bandwidth per IP, or even per protocol (HTTP, FTP, SSH, etc.). If
you can't do host-based bandwidth limiting, nor user, nor directory,
certainly you won't be able to do file "types", which is at the "tight" end
of the bandwidth shaping spectrum.
What I'd probably do is go read the Linux ADSL-Bandwidth-Management-HOWTO,
as it better explains how to do these things, and put your "heavy" files
(AVI, MP3, ZIP) on an FTP server ( http://proftpd.org/ ), and as described
in the HOWTO, set up packet queues with varying priorities, give highest
priority to interactive sessions like ssh, middle priority to the stuff on
the web server, and lowest priority to stuff on the FTP server.
This is the probably the simplest, quickest, and right now the best way to
achieve what you're both trying to do.
Leif
----- Original Message -----
From: "Tomas Larsson" <la...@telia.com>
To: <us...@httpd.apache.org>; "'Jefferson Midei'" <jm...@wmweb.com.br>
Sent: Friday, September 05, 2003 7:51 AM
Subject: SV: [users@httpd] OTHER KIND OF LIMITATION
To be honest I'm looking for something similar, --se my earlier post.
I haven't found any solution yet.
With best regards
Tomas Larsson
Verus amicus est tamquam alter idem
All messages originating from me are scanned with the latest updates of
Norton Antivirus 2K3.
-----Ursprungligt meddelande-----
Från: Jefferson Midei [mailto:jmidei@wmweb.com.br]
Skickat: den 5 september 2003 13:09
Till: users@httpd.apache.org
Ämne: [users@httpd] OTHER KIND OF LIMITATION
Dear Sirs,
Seems to me that to limit the bandwidth using apache 2.0.44 is not so
easy... So, I'm thinking about to limit my bandwidth using another way...
My WebServer (Apache 2.0.44, in a linux box kernel 2.4.21) is connected to a
256 kbps link. And studing my weblogs (using webalizer), I discovered that
part (50%) of the use of my bandwidth are users downloading files like .EXE,
.MP3, .AVI, .PDF, .DOC, .ZIP, etc... The other part of the use of my
bandwidth are users downloading "www" files, like .HTM*, .PHP*, .GIF, .PNG,
.JPG, etc...
I would like to limit the bandwidth use for the first files types (.EXE,
.PDF, etc...) just to 15% of my bandwidth... These files are downloaded
through the Apache WebServer, so, I would like to know if Apache will limit
that for me, and how...
Thanks,
JM...
-----Mensagem Original-----
De: "Leif W" <wa...@usa.net>
Para: <us...@httpd.apache.org>
Enviada em: quinta-feira, 4 de setembro de 2003 16:59
Assunto: Re: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
> Note, this reply may be off topic.
>
> This is a good question I think, as other web servers may already have
some
> feature like this, so there should be some focus on systems running
> Apache to find equivalent solutions, in order to continue to compete.
>
> I've done some searching with Google for "Linux host based bandwith
> management shaping" (and variations), but it's hard to find anything
> specific.
>
> First, I found the Apache mod_bandwidth page (
> http://www.cohprog.com/v3/bandwidth/intro-en.html ), but the latest
release
> was 2003-01-12, and there's no mention of Apache 1.3.x or 2.0.x
> anywhere
in
> the sparse documentation, so I am leery of this seemingly stale
> software project.
>
> The only relelvent stuff I found was the ADSL Bandwidth Management
> HOWTO (
> http://www.linux.org/docs/ldp/howto/ADSL-Bandwidth-Management-HOWTO/ )
> and the HTB queue patch (included with kernel 2.4.20 and higher,
> http://luxik.cdi.cz/~devik/qos/htb/ ).
>
> Linux Advanced Routing & Traffic Control ( http://www.lartc.org/ ).
>
> Unfortunately the only bandwidth management I could see were IP-based.
>
> I did come across various commercial hardware products claiming to do
> host-based bandwidth management, but I did not spend much time looking
> at those, as I do not have such money to throw away, when there's
> bound to be some way to do it better, for free (eventually).
>
> Leif
>
> > ----- Original Message -----
> > From: "Tomas Larsson" <la...@telia.com>
> > To: <us...@httpd.apache.org>; "'Jefferson Midei'"
> > <jm...@wmweb.com.br>
> > Sent: Thursday, September 04, 2003 1:28 PM
> > Subject: SV: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
> >
>
> > Hi Jefferson.
> > Have you got any solutions yet, I'm allso looking for the same,
> > haven't found anything yet, and no reply from the group either.
> >
> > With best regards
> >
> > Tomas Larsson
> >
> > Verus amicus est tamquam alter idem
> >
> >
> > All messages originating from me are scanned with the latest updates
> > of Norton Antivirus 2K3.
> >
> > > -----Ursprungligt meddelande-----
> > > Från: Jefferson Midei [mailto:jmidei@wmweb.com.br]
> > > Skickat: den 2 september 2003 19:34
> > > Till: users@httpd.apache.org
> > > Kopia: Luiz Eduardo
> > > Ämne: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
> > > Prioritet: Hög
> > >
> > >
> > > Dear Sirs,
> > >
> > > My name is Jefferson Midei, and I'm in Brasil.
> > >
> > > I'm using a Linux Server, Conectiva (RedHat) 9.0, kernel 2.4.21,
> > > and WebServer Apache 2.0.44.
> > >
> > > I have about 150 virtual domains in my Apache Server, and I'm
> > > using a "namebased" configuration (sharing one IP)...
> > >
> > > I need to limit the usage of my bandwidth per virtual domain, and
> > > I
> don't
> > > know how to do that, or what I need to do that...
> > >
> > > I looked for "limit bandwidth" in the hystory of this maillist,
> > > but I
> just
> > > found solutions for Apache 1.3 (mod_bandwidth)...
> > >
> > > Please, help me...
> > >
> > > Thanks,
> > >
> > > Jefferson Midei
> > > jmidei@wmweb.com.br
> > >
>
>
>
> ---------------------------------------------------------------------
> 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
---------------------------------------------------------------------
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
Re: [users@httpd] JUST DENY SOME FILE TYPES
Posted by "Tom Ray [Lists]" <li...@blazestudios.com>.
While that is very sound advice, it's not an absolute solution. It could
be very possible he has other users using this webserver and he may not
have control of what they put up. The best answer is (mine is setup for
multiple extension blocks):
<FilesMatch "\.(exe|log|bak)$">
order deny,allow
deny from all
</FilesMatch>
Hope that helps.
Aaron Morris wrote:
>
>
> Jefferson Midei wrote:
>
>> Dear Friends,
>>
>> Seems to me that is very difficult to limit the use of my bandwidth
>> using
>> Apache... So, I decided to DENY the download of some file types by
>> Apache...
>>
>> I would like to deny ALL download of .EXE on my Apache WebServer...
>>
>> How can I do this?
>>
>> Bye,
>>
>> JM...
>
>
> Do not put any EXEs under your document root or anywhere that is
> accessible to the web server.
>
---------------------------------------------------------------------
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
Re: [users@httpd] JUST DENY SOME FILE TYPES
Posted by Aaron Morris <aa...@mindspring.com>.
Jefferson Midei wrote:
> Dear Friends,
>
> Seems to me that is very difficult to limit the use of my bandwidth using
> Apache... So, I decided to DENY the download of some file types by Apache...
>
> I would like to deny ALL download of .EXE on my Apache WebServer...
>
> How can I do this?
>
> Bye,
>
> JM...
Do not put any EXEs under your document root or anywhere that is
accessible to the web server.
--
Aaron W Morris <aa...@mindspring.com> (decep)
---------------------------------------------------------------------
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
Re: [users@httpd] JUST DENY SOME FILE TYPES
Posted by Leif W <wa...@usa.net>.
> ----- Original Message -----
> From: "Jefferson Midei" <jm...@wmweb.com.br>
> To: <us...@httpd.apache.org>
> Sent: Saturday, September 06, 2003 1:31 PM
> Subject: [users@httpd] JUST DENY SOME FILE TYPES
>
> Dear Friends,
>
> Seems to me that is very difficult to limit the use of my bandwidth using
> Apache... So, I decided to DENY the download of some file types by
Apache...
>
> I would like to deny ALL download of .EXE on my Apache WebServer...
>
> How can I do this?
I don't know if this is the /best/ way, but one possibility that pops into
mind is the Files directive which prevents the download of .ht* files
(namely .htaccess and .htpasswd). They won't show up in index listings, and
will be given a Forbidden error page if they try to get it. The only
downside I can see is that they can still find out if a file exists on your
server, and if they discover a way to circumvent that, they know right where
to look for the .exe.
<Files ~ "\.exe$">
Order allow,deny
Deny from all
</Files>
Another thought that comes to mind is to remove all exe files or move them
elsewhere.
rm -iv `find /path/to/web/ -name "*.[eE][xX][eE]"`
mv -iv `find /path/to/web/ -name "*.[eE][xX][eE]"` /some/other/place
Leif
>
> Bye,
>
> JM...
> -----Mensagem Original-----
> De: "Tomas Larsson" <la...@telia.com>
> Para: <us...@httpd.apache.org>; "'Jefferson Midei'" <jm...@wmweb.com.br>
> Enviada em: sexta-feira, 5 de setembro de 2003 08:51
> Assunto: SV: [users@httpd] OTHER KIND OF LIMITATION
>
>
> To be honest I'm looking for something similar, --se my earlier post.
> I haven't found any solution yet.
>
> With best regards
>
> Tomas Larsson
>
> Verus amicus est tamquam alter idem
>
>
> All messages originating from me are scanned with the latest updates of
> Norton Antivirus 2K3.
>
> -----Ursprungligt meddelande-----
> Från: Jefferson Midei [mailto:jmidei@wmweb.com.br]
> Skickat: den 5 september 2003 13:09
> Till: users@httpd.apache.org
> Ämne: [users@httpd] OTHER KIND OF LIMITATION
>
>
> Dear Sirs,
>
> Seems to me that to limit the bandwidth using apache 2.0.44 is not so
> easy... So, I'm thinking about to limit my bandwidth using another way...
>
> My WebServer (Apache 2.0.44, in a linux box kernel 2.4.21) is connected to
a
> 256 kbps link. And studing my weblogs (using webalizer), I discovered that
> part (50%) of the use of my bandwidth are users downloading files like
.EXE,
> .MP3, .AVI, .PDF, .DOC, .ZIP, etc... The other part of the use of my
> bandwidth are users downloading "www" files, like .HTM*, .PHP*, .GIF,
.PNG,
> .JPG, etc...
>
> I would like to limit the bandwidth use for the first files types (.EXE,
> .PDF, etc...) just to 15% of my bandwidth... These files are downloaded
> through the Apache WebServer, so, I would like to know if Apache will
limit
> that for me, and how...
>
> Thanks,
>
> JM...
>
>
> -----Mensagem Original-----
> De: "Leif W" <wa...@usa.net>
> Para: <us...@httpd.apache.org>
> Enviada em: quinta-feira, 4 de setembro de 2003 16:59
> Assunto: Re: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
>
>
> > Note, this reply may be off topic.
> >
> > This is a good question I think, as other web servers may already have
> some
> > feature like this, so there should be some focus on systems running
> > Apache to find equivalent solutions, in order to continue to compete.
> >
> > I've done some searching with Google for "Linux host based bandwith
> > management shaping" (and variations), but it's hard to find anything
> > specific.
> >
> > First, I found the Apache mod_bandwidth page (
> > http://www.cohprog.com/v3/bandwidth/intro-en.html ), but the latest
> release
> > was 2003-01-12, and there's no mention of Apache 1.3.x or 2.0.x
> > anywhere
> in
> > the sparse documentation, so I am leery of this seemingly stale
> > software project.
> >
> > The only relelvent stuff I found was the ADSL Bandwidth Management
> > HOWTO (
> > http://www.linux.org/docs/ldp/howto/ADSL-Bandwidth-Management-HOWTO/ )
> > and the HTB queue patch (included with kernel 2.4.20 and higher,
> > http://luxik.cdi.cz/~devik/qos/htb/ ).
> >
> > Linux Advanced Routing & Traffic Control ( http://www.lartc.org/ ).
> >
> > Unfortunately the only bandwidth management I could see were IP-based.
> >
> > I did come across various commercial hardware products claiming to do
> > host-based bandwidth management, but I did not spend much time looking
> > at those, as I do not have such money to throw away, when there's
> > bound to be some way to do it better, for free (eventually).
> >
> > Leif
> >
> > > ----- Original Message -----
> > > From: "Tomas Larsson" <la...@telia.com>
> > > To: <us...@httpd.apache.org>; "'Jefferson Midei'"
> > > <jm...@wmweb.com.br>
> > > Sent: Thursday, September 04, 2003 1:28 PM
> > > Subject: SV: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
> > >
> >
> > > Hi Jefferson.
> > > Have you got any solutions yet, I'm allso looking for the same,
> > > haven't found anything yet, and no reply from the group either.
> > >
> > > With best regards
> > >
> > > Tomas Larsson
> > >
> > > Verus amicus est tamquam alter idem
> > >
> > >
> > > All messages originating from me are scanned with the latest updates
> > > of Norton Antivirus 2K3.
> > >
> > > > -----Ursprungligt meddelande-----
> > > > Från: Jefferson Midei [mailto:jmidei@wmweb.com.br]
> > > > Skickat: den 2 september 2003 19:34
> > > > Till: users@httpd.apache.org
> > > > Kopia: Luiz Eduardo
> > > > Ämne: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
> > > > Prioritet: Hög
> > > >
> > > >
> > > > Dear Sirs,
> > > >
> > > > My name is Jefferson Midei, and I'm in Brasil.
> > > >
> > > > I'm using a Linux Server, Conectiva (RedHat) 9.0, kernel 2.4.21,
> > > > and WebServer Apache 2.0.44.
> > > >
> > > > I have about 150 virtual domains in my Apache Server, and I'm
> > > > using a "namebased" configuration (sharing one IP)...
> > > >
> > > > I need to limit the usage of my bandwidth per virtual domain, and
> > > > I
> > don't
> > > > know how to do that, or what I need to do that...
> > > >
> > > > I looked for "limit bandwidth" in the hystory of this maillist,
> > > > but I
> > just
> > > > found solutions for Apache 1.3 (mod_bandwidth)...
> > > >
> > > > Please, help me...
> > > >
> > > > Thanks,
> > > >
> > > > Jefferson Midei
> > > > jmidei@wmweb.com.br
> > > >
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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
>
>
>
>
>
>
> ---------------------------------------------------------------------
> 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
Re: [users@httpd] JUST DENY SOME FILE TYPES
Posted by Rich Bowen <rb...@rcbowen.com>.
On Sat, 6 Sep 2003, Jefferson Midei wrote:
> Dear Friends,
>
> Seems to me that is very difficult to limit the use of my bandwidth using
> Apache... So, I decided to DENY the download of some file types by Apache...
The modules mod_bandwidth and mod_throttle address this problem from
different perspectives.
> I would like to deny ALL download of .EXE on my Apache WebServer...
>
> How can I do this?
<FilesMatch \.exe$>
Order deny,allow
Deny from all
</FilesMatch>
--
Rich Bowen - rbowen@rcbowen.com
As we trace our own few circles around the sun
We get it backwards and our seven years go by like one
Dog Years (Rush - Test for Echo - 1999)
---------------------------------------------------------------------
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
[users@httpd] JUST DENY SOME FILE TYPES
Posted by Jefferson Midei <jm...@wmweb.com.br>.
Dear Friends,
Seems to me that is very difficult to limit the use of my bandwidth using
Apache... So, I decided to DENY the download of some file types by Apache...
I would like to deny ALL download of .EXE on my Apache WebServer...
How can I do this?
Bye,
JM...
-----Mensagem Original-----
De: "Tomas Larsson" <la...@telia.com>
Para: <us...@httpd.apache.org>; "'Jefferson Midei'" <jm...@wmweb.com.br>
Enviada em: sexta-feira, 5 de setembro de 2003 08:51
Assunto: SV: [users@httpd] OTHER KIND OF LIMITATION
To be honest I'm looking for something similar, --se my earlier post.
I haven't found any solution yet.
With best regards
Tomas Larsson
Verus amicus est tamquam alter idem
All messages originating from me are scanned with the latest updates of
Norton Antivirus 2K3.
-----Ursprungligt meddelande-----
Från: Jefferson Midei [mailto:jmidei@wmweb.com.br]
Skickat: den 5 september 2003 13:09
Till: users@httpd.apache.org
Ämne: [users@httpd] OTHER KIND OF LIMITATION
Dear Sirs,
Seems to me that to limit the bandwidth using apache 2.0.44 is not so
easy... So, I'm thinking about to limit my bandwidth using another way...
My WebServer (Apache 2.0.44, in a linux box kernel 2.4.21) is connected to a
256 kbps link. And studing my weblogs (using webalizer), I discovered that
part (50%) of the use of my bandwidth are users downloading files like .EXE,
.MP3, .AVI, .PDF, .DOC, .ZIP, etc... The other part of the use of my
bandwidth are users downloading "www" files, like .HTM*, .PHP*, .GIF, .PNG,
.JPG, etc...
I would like to limit the bandwidth use for the first files types (.EXE,
.PDF, etc...) just to 15% of my bandwidth... These files are downloaded
through the Apache WebServer, so, I would like to know if Apache will limit
that for me, and how...
Thanks,
JM...
-----Mensagem Original-----
De: "Leif W" <wa...@usa.net>
Para: <us...@httpd.apache.org>
Enviada em: quinta-feira, 4 de setembro de 2003 16:59
Assunto: Re: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
> Note, this reply may be off topic.
>
> This is a good question I think, as other web servers may already have
some
> feature like this, so there should be some focus on systems running
> Apache to find equivalent solutions, in order to continue to compete.
>
> I've done some searching with Google for "Linux host based bandwith
> management shaping" (and variations), but it's hard to find anything
> specific.
>
> First, I found the Apache mod_bandwidth page (
> http://www.cohprog.com/v3/bandwidth/intro-en.html ), but the latest
release
> was 2003-01-12, and there's no mention of Apache 1.3.x or 2.0.x
> anywhere
in
> the sparse documentation, so I am leery of this seemingly stale
> software project.
>
> The only relelvent stuff I found was the ADSL Bandwidth Management
> HOWTO (
> http://www.linux.org/docs/ldp/howto/ADSL-Bandwidth-Management-HOWTO/ )
> and the HTB queue patch (included with kernel 2.4.20 and higher,
> http://luxik.cdi.cz/~devik/qos/htb/ ).
>
> Linux Advanced Routing & Traffic Control ( http://www.lartc.org/ ).
>
> Unfortunately the only bandwidth management I could see were IP-based.
>
> I did come across various commercial hardware products claiming to do
> host-based bandwidth management, but I did not spend much time looking
> at those, as I do not have such money to throw away, when there's
> bound to be some way to do it better, for free (eventually).
>
> Leif
>
> > ----- Original Message -----
> > From: "Tomas Larsson" <la...@telia.com>
> > To: <us...@httpd.apache.org>; "'Jefferson Midei'"
> > <jm...@wmweb.com.br>
> > Sent: Thursday, September 04, 2003 1:28 PM
> > Subject: SV: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
> >
>
> > Hi Jefferson.
> > Have you got any solutions yet, I'm allso looking for the same,
> > haven't found anything yet, and no reply from the group either.
> >
> > With best regards
> >
> > Tomas Larsson
> >
> > Verus amicus est tamquam alter idem
> >
> >
> > All messages originating from me are scanned with the latest updates
> > of Norton Antivirus 2K3.
> >
> > > -----Ursprungligt meddelande-----
> > > Från: Jefferson Midei [mailto:jmidei@wmweb.com.br]
> > > Skickat: den 2 september 2003 19:34
> > > Till: users@httpd.apache.org
> > > Kopia: Luiz Eduardo
> > > Ämne: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
> > > Prioritet: Hög
> > >
> > >
> > > Dear Sirs,
> > >
> > > My name is Jefferson Midei, and I'm in Brasil.
> > >
> > > I'm using a Linux Server, Conectiva (RedHat) 9.0, kernel 2.4.21,
> > > and WebServer Apache 2.0.44.
> > >
> > > I have about 150 virtual domains in my Apache Server, and I'm
> > > using a "namebased" configuration (sharing one IP)...
> > >
> > > I need to limit the usage of my bandwidth per virtual domain, and
> > > I
> don't
> > > know how to do that, or what I need to do that...
> > >
> > > I looked for "limit bandwidth" in the hystory of this maillist,
> > > but I
> just
> > > found solutions for Apache 1.3 (mod_bandwidth)...
> > >
> > > Please, help me...
> > >
> > > Thanks,
> > >
> > > Jefferson Midei
> > > jmidei@wmweb.com.br
> > >
>
>
>
> ---------------------------------------------------------------------
> 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
---------------------------------------------------------------------
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
SV: [users@httpd] OTHER KIND OF LIMITATION
Posted by Tomas Larsson <la...@telia.com>.
To be honest I'm looking for something similar, --se my earlier post.
I haven't found any solution yet.
With best regards
Tomas Larsson
Verus amicus est tamquam alter idem
All messages originating from me are scanned with the latest updates of
Norton Antivirus 2K3.
-----Ursprungligt meddelande-----
Från: Jefferson Midei [mailto:jmidei@wmweb.com.br]
Skickat: den 5 september 2003 13:09
Till: users@httpd.apache.org
Ämne: [users@httpd] OTHER KIND OF LIMITATION
Dear Sirs,
Seems to me that to limit the bandwidth using apache 2.0.44 is not so
easy... So, I'm thinking about to limit my bandwidth using another way...
My WebServer (Apache 2.0.44, in a linux box kernel 2.4.21) is connected to a
256 kbps link. And studing my weblogs (using webalizer), I discovered that
part (50%) of the use of my bandwidth are users downloading files like .EXE,
.MP3, .AVI, .PDF, .DOC, .ZIP, etc... The other part of the use of my
bandwidth are users downloading "www" files, like .HTM*, .PHP*, .GIF, .PNG,
.JPG, etc...
I would like to limit the bandwidth use for the first files types (.EXE,
.PDF, etc...) just to 15% of my bandwidth... These files are downloaded
through the Apache WebServer, so, I would like to know if Apache will limit
that for me, and how...
Thanks,
JM...
-----Mensagem Original-----
De: "Leif W" <wa...@usa.net>
Para: <us...@httpd.apache.org>
Enviada em: quinta-feira, 4 de setembro de 2003 16:59
Assunto: Re: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
> Note, this reply may be off topic.
>
> This is a good question I think, as other web servers may already have
some
> feature like this, so there should be some focus on systems running
> Apache to find equivalent solutions, in order to continue to compete.
>
> I've done some searching with Google for "Linux host based bandwith
> management shaping" (and variations), but it's hard to find anything
> specific.
>
> First, I found the Apache mod_bandwidth page (
> http://www.cohprog.com/v3/bandwidth/intro-en.html ), but the latest
release
> was 2003-01-12, and there's no mention of Apache 1.3.x or 2.0.x
> anywhere
in
> the sparse documentation, so I am leery of this seemingly stale
> software project.
>
> The only relelvent stuff I found was the ADSL Bandwidth Management
> HOWTO (
> http://www.linux.org/docs/ldp/howto/ADSL-Bandwidth-Management-HOWTO/ )
> and the HTB queue patch (included with kernel 2.4.20 and higher,
> http://luxik.cdi.cz/~devik/qos/htb/ ).
>
> Linux Advanced Routing & Traffic Control ( http://www.lartc.org/ ).
>
> Unfortunately the only bandwidth management I could see were IP-based.
>
> I did come across various commercial hardware products claiming to do
> host-based bandwidth management, but I did not spend much time looking
> at those, as I do not have such money to throw away, when there's
> bound to be some way to do it better, for free (eventually).
>
> Leif
>
> > ----- Original Message -----
> > From: "Tomas Larsson" <la...@telia.com>
> > To: <us...@httpd.apache.org>; "'Jefferson Midei'"
> > <jm...@wmweb.com.br>
> > Sent: Thursday, September 04, 2003 1:28 PM
> > Subject: SV: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
> >
>
> > Hi Jefferson.
> > Have you got any solutions yet, I'm allso looking for the same,
> > haven't found anything yet, and no reply from the group either.
> >
> > With best regards
> >
> > Tomas Larsson
> >
> > Verus amicus est tamquam alter idem
> >
> >
> > All messages originating from me are scanned with the latest updates
> > of Norton Antivirus 2K3.
> >
> > > -----Ursprungligt meddelande-----
> > > Från: Jefferson Midei [mailto:jmidei@wmweb.com.br]
> > > Skickat: den 2 september 2003 19:34
> > > Till: users@httpd.apache.org
> > > Kopia: Luiz Eduardo
> > > Ämne: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
> > > Prioritet: Hög
> > >
> > >
> > > Dear Sirs,
> > >
> > > My name is Jefferson Midei, and I'm in Brasil.
> > >
> > > I'm using a Linux Server, Conectiva (RedHat) 9.0, kernel 2.4.21,
> > > and WebServer Apache 2.0.44.
> > >
> > > I have about 150 virtual domains in my Apache Server, and I'm
> > > using a "namebased" configuration (sharing one IP)...
> > >
> > > I need to limit the usage of my bandwidth per virtual domain, and
> > > I
> don't
> > > know how to do that, or what I need to do that...
> > >
> > > I looked for "limit bandwidth" in the hystory of this maillist,
> > > but I
> just
> > > found solutions for Apache 1.3 (mod_bandwidth)...
> > >
> > > Please, help me...
> > >
> > > Thanks,
> > >
> > > Jefferson Midei
> > > jmidei@wmweb.com.br
> > >
>
>
>
> ---------------------------------------------------------------------
> 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
---------------------------------------------------------------------
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
[users@httpd] OTHER KIND OF LIMITATION
Posted by Jefferson Midei <jm...@wmweb.com.br>.
Dear Sirs,
Seems to me that to limit the bandwidth using apache 2.0.44 is not so
easy... So, I'm thinking about to limit my bandwidth using another way...
My WebServer (Apache 2.0.44, in a linux box kernel 2.4.21) is connected to a
256 kbps link. And studing my weblogs (using webalizer), I discovered that
part (50%) of the use of my bandwidth are users downloading files like .EXE,
.MP3, .AVI, .PDF, .DOC, .ZIP, etc... The other part of the use of my
bandwidth are users downloading "www" files, like .HTM*, .PHP*, .GIF, .PNG,
.JPG, etc...
I would like to limit the bandwidth use for the first files types (.EXE,
.PDF, etc...) just to 15% of my bandwidth... These files are downloaded
through the Apache WebServer, so, I would like to know if Apache will limit
that for me, and how...
Thanks,
JM...
-----Mensagem Original-----
De: "Leif W" <wa...@usa.net>
Para: <us...@httpd.apache.org>
Enviada em: quinta-feira, 4 de setembro de 2003 16:59
Assunto: Re: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
> Note, this reply may be off topic.
>
> This is a good question I think, as other web servers may already have
some
> feature like this, so there should be some focus on systems running Apache
> to find equivalent solutions, in order to continue to compete.
>
> I've done some searching with Google for "Linux host based bandwith
> management shaping" (and variations), but it's hard to find anything
> specific.
>
> First, I found the Apache mod_bandwidth page (
> http://www.cohprog.com/v3/bandwidth/intro-en.html ), but the latest
release
> was 2003-01-12, and there's no mention of Apache 1.3.x or 2.0.x anywhere
in
> the sparse documentation, so I am leery of this seemingly stale software
> project.
>
> The only relelvent stuff I found was the ADSL Bandwidth Management HOWTO (
> http://www.linux.org/docs/ldp/howto/ADSL-Bandwidth-Management-HOWTO/ ) and
> the HTB queue patch (included with kernel 2.4.20 and higher,
> http://luxik.cdi.cz/~devik/qos/htb/ ).
>
> Linux Advanced Routing & Traffic Control ( http://www.lartc.org/ ).
>
> Unfortunately the only bandwidth management I could see were IP-based.
>
> I did come across various commercial hardware products claiming to do
> host-based bandwidth management, but I did not spend much time looking at
> those, as I do not have such money to throw away, when there's bound to be
> some way to do it better, for free (eventually).
>
> Leif
>
> > ----- Original Message -----
> > From: "Tomas Larsson" <la...@telia.com>
> > To: <us...@httpd.apache.org>; "'Jefferson Midei'" <jm...@wmweb.com.br>
> > Sent: Thursday, September 04, 2003 1:28 PM
> > Subject: SV: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
> >
>
> > Hi Jefferson.
> > Have you got any solutions yet, I'm allso looking for the same, haven't
> > found anything yet, and no reply from the group either.
> >
> > With best regards
> >
> > Tomas Larsson
> >
> > Verus amicus est tamquam alter idem
> >
> >
> > All messages originating from me are scanned with the latest updates of
> > Norton Antivirus 2K3.
> >
> > > -----Ursprungligt meddelande-----
> > > Från: Jefferson Midei [mailto:jmidei@wmweb.com.br]
> > > Skickat: den 2 september 2003 19:34
> > > Till: users@httpd.apache.org
> > > Kopia: Luiz Eduardo
> > > Ämne: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
> > > Prioritet: Hög
> > >
> > >
> > > Dear Sirs,
> > >
> > > My name is Jefferson Midei, and I'm in Brasil.
> > >
> > > I'm using a Linux Server, Conectiva (RedHat) 9.0, kernel 2.4.21, and
> > > WebServer Apache 2.0.44.
> > >
> > > I have about 150 virtual domains in my Apache Server, and I'm using a
> > > "namebased" configuration (sharing one IP)...
> > >
> > > I need to limit the usage of my bandwidth per virtual domain, and I
> don't
> > > know how to do that, or what I need to do that...
> > >
> > > I looked for "limit bandwidth" in the hystory of this maillist, but I
> just
> > > found solutions for Apache 1.3 (mod_bandwidth)...
> > >
> > > Please, help me...
> > >
> > > Thanks,
> > >
> > > Jefferson Midei
> > > jmidei@wmweb.com.br
> > >
>
>
>
> ---------------------------------------------------------------------
> 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
SV: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
Posted by Tomas Larsson <la...@telia.com>.
Hi.
The only bandwidht modding I've found is for Apache 1.3 and there is only 2
different mod's ,, the "cohoprog" one, and another one, forgot the name. Its
strange I think that there isn't anything for 2.0.44, there must be plenty
of demands for controlling how much the server is sending.
The apperantly only thing avaible is ADSL-QOS using Iptables to filter and
"dropping" packets, well sort of, but it seems to be very difficult to
implement.
My needs are as follows, I'm running a server from my 500kps connection, I
need to limit the bandwidth and number of users per directory, allow certain
users unlimited access. ADSL-QOS is either nothing or everything.
The only solution is obviously migrate back to 1.3 or something similar and
then use one of the existing mod's.
With best regards
Tomas Larsson
Verus amicus est tamquam alter idem
All messages originating from me are scanned with the latest updates of
Norton Antivirus 2K3.
-----Ursprungligt meddelande-----
Från: Leif W [mailto:warp-9.9@usa.net]
Skickat: den 4 september 2003 21:59
Till: users@httpd.apache.org
Ämne: Re: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
Note, this reply may be off topic.
This is a good question I think, as other web servers may already have some
feature like this, so there should be some focus on systems running Apache
to find equivalent solutions, in order to continue to compete.
I've done some searching with Google for "Linux host based bandwith
management shaping" (and variations), but it's hard to find anything
specific.
First, I found the Apache mod_bandwidth page (
http://www.cohprog.com/v3/bandwidth/intro-en.html ), but the latest release
was 2003-01-12, and there's no mention of Apache 1.3.x or 2.0.x anywhere in
the sparse documentation, so I am leery of this seemingly stale software
project.
The only relelvent stuff I found was the ADSL Bandwidth Management HOWTO (
http://www.linux.org/docs/ldp/howto/ADSL-Bandwidth-Management-HOWTO/ ) and
the HTB queue patch (included with kernel 2.4.20 and higher,
http://luxik.cdi.cz/~devik/qos/htb/ ).
Linux Advanced Routing & Traffic Control ( http://www.lartc.org/ ).
Unfortunately the only bandwidth management I could see were IP-based.
I did come across various commercial hardware products claiming to do
host-based bandwidth management, but I did not spend much time looking at
those, as I do not have such money to throw away, when there's bound to be
some way to do it better, for free (eventually).
Leif
> ----- Original Message -----
> From: "Tomas Larsson" <la...@telia.com>
> To: <us...@httpd.apache.org>; "'Jefferson Midei'" <jm...@wmweb.com.br>
> Sent: Thursday, September 04, 2003 1:28 PM
> Subject: SV: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
>
> Hi Jefferson.
> Have you got any solutions yet, I'm allso looking for the same, haven't
> found anything yet, and no reply from the group either.
>
> With best regards
>
> Tomas Larsson
>
> Verus amicus est tamquam alter idem
>
>
> All messages originating from me are scanned with the latest updates of
> Norton Antivirus 2K3.
>
> > -----Ursprungligt meddelande-----
> > Från: Jefferson Midei [mailto:jmidei@wmweb.com.br]
> > Skickat: den 2 september 2003 19:34
> > Till: users@httpd.apache.org
> > Kopia: Luiz Eduardo
> > Ämne: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
> > Prioritet: Hög
> >
> >
> > Dear Sirs,
> >
> > My name is Jefferson Midei, and I'm in Brasil.
> >
> > I'm using a Linux Server, Conectiva (RedHat) 9.0, kernel 2.4.21, and
> > WebServer Apache 2.0.44.
> >
> > I have about 150 virtual domains in my Apache Server, and I'm using a
> > "namebased" configuration (sharing one IP)...
> >
> > I need to limit the usage of my bandwidth per virtual domain, and I
don't
> > know how to do that, or what I need to do that...
> >
> > I looked for "limit bandwidth" in the hystory of this maillist, but I
just
> > found solutions for Apache 1.3 (mod_bandwidth)...
> >
> > Please, help me...
> >
> > Thanks,
> >
> > Jefferson Midei
> > jmidei@wmweb.com.br
> >
---------------------------------------------------------------------
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
Re: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
Posted by Leif W <wa...@usa.net>.
Note, this reply may be off topic.
This is a good question I think, as other web servers may already have some
feature like this, so there should be some focus on systems running Apache
to find equivalent solutions, in order to continue to compete.
I've done some searching with Google for "Linux host based bandwith
management shaping" (and variations), but it's hard to find anything
specific.
First, I found the Apache mod_bandwidth page (
http://www.cohprog.com/v3/bandwidth/intro-en.html ), but the latest release
was 2003-01-12, and there's no mention of Apache 1.3.x or 2.0.x anywhere in
the sparse documentation, so I am leery of this seemingly stale software
project.
The only relelvent stuff I found was the ADSL Bandwidth Management HOWTO (
http://www.linux.org/docs/ldp/howto/ADSL-Bandwidth-Management-HOWTO/ ) and
the HTB queue patch (included with kernel 2.4.20 and higher,
http://luxik.cdi.cz/~devik/qos/htb/ ).
Linux Advanced Routing & Traffic Control ( http://www.lartc.org/ ).
Unfortunately the only bandwidth management I could see were IP-based.
I did come across various commercial hardware products claiming to do
host-based bandwidth management, but I did not spend much time looking at
those, as I do not have such money to throw away, when there's bound to be
some way to do it better, for free (eventually).
Leif
> ----- Original Message -----
> From: "Tomas Larsson" <la...@telia.com>
> To: <us...@httpd.apache.org>; "'Jefferson Midei'" <jm...@wmweb.com.br>
> Sent: Thursday, September 04, 2003 1:28 PM
> Subject: SV: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
>
> Hi Jefferson.
> Have you got any solutions yet, I'm allso looking for the same, haven't
> found anything yet, and no reply from the group either.
>
> With best regards
>
> Tomas Larsson
>
> Verus amicus est tamquam alter idem
>
>
> All messages originating from me are scanned with the latest updates of
> Norton Antivirus 2K3.
>
> > -----Ursprungligt meddelande-----
> > Från: Jefferson Midei [mailto:jmidei@wmweb.com.br]
> > Skickat: den 2 september 2003 19:34
> > Till: users@httpd.apache.org
> > Kopia: Luiz Eduardo
> > Ämne: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
> > Prioritet: Hög
> >
> >
> > Dear Sirs,
> >
> > My name is Jefferson Midei, and I'm in Brasil.
> >
> > I'm using a Linux Server, Conectiva (RedHat) 9.0, kernel 2.4.21, and
> > WebServer Apache 2.0.44.
> >
> > I have about 150 virtual domains in my Apache Server, and I'm using a
> > "namebased" configuration (sharing one IP)...
> >
> > I need to limit the usage of my bandwidth per virtual domain, and I
don't
> > know how to do that, or what I need to do that...
> >
> > I looked for "limit bandwidth" in the hystory of this maillist, but I
just
> > found solutions for Apache 1.3 (mod_bandwidth)...
> >
> > Please, help me...
> >
> > Thanks,
> >
> > Jefferson Midei
> > jmidei@wmweb.com.br
> >
---------------------------------------------------------------------
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
SV: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
Posted by Tomas Larsson <la...@telia.com>.
Hi Jefferson.
Have you got any solutions yet, I'm allso looking for the same, haven't
found anything yet, and no reply from the group either.
With best regards
Tomas Larsson
Verus amicus est tamquam alter idem
All messages originating from me are scanned with the latest updates of
Norton Antivirus 2K3.
-----Ursprungligt meddelande-----
Från: Jefferson Midei [mailto:jmidei@wmweb.com.br]
Skickat: den 2 september 2003 19:34
Till: users@httpd.apache.org
Kopia: Luiz Eduardo
Ämne: [users@httpd] LIMIT BANDWIDHT USING APACHE 2.0.44
Prioritet: Hög
Dear Sirs,
My name is Jefferson Midei, and I'm in Brasil.
I'm using a Linux Server, Conectiva (RedHat) 9.0, kernel 2.4.21, and
WebServer Apache 2.0.44.
I have about 150 virtual domains in my Apache Server, and I'm using a
"namebased" configuration (sharing one IP)...
I need to limit the usage of my bandwidth per virtual domain, and I don't
know how to do that, or what I need to do that...
I looked for "limit bandwidth" in the hystory of this maillist, but I just
found solutions for Apache 1.3 (mod_bandwidth)...
Please, help me...
Thanks,
Jefferson Midei
jmidei@wmweb.com.br
---------------------------------------------------------------------
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