Return-Path: X-Original-To: apmail-httpd-dev-archive@www.apache.org Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C68C7F4C8 for ; Fri, 10 May 2013 21:11:55 +0000 (UTC) Received: (qmail 60750 invoked by uid 500); 10 May 2013 21:11:55 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 60663 invoked by uid 500); 10 May 2013 21:11:55 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 60652 invoked by uid 99); 10 May 2013 21:11:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 May 2013 21:11:54 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of h.reindl@thelounge.net designates 91.118.73.15 as permitted sender) Received: from [91.118.73.15] (HELO mail.thelounge.net) (91.118.73.15) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 May 2013 21:11:50 +0000 Received: from srv-rhsoft.rhsoft.net (openvpn-rh.thelounge.net [10.0.0.241]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.thelounge.net (THELOUNGE MTA) with ESMTPSA id 3b6kcd1ypzz2g for ; Fri, 10 May 2013 23:11:29 +0200 (CEST) Message-ID: <518D6280.6060503@thelounge.net> Date: Fri, 10 May 2013 23:11:28 +0200 From: Reindl Harald Organization: the lounge interactive design User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130402 Thunderbird/17.0.5 MIME-Version: 1.0 To: dev@httpd.apache.org Subject: Re: mod_ratelimit design mistake References: <518D545F.7070307@thelounge.net> In-Reply-To: X-Enigmail-Version: 1.5.1 OpenPGP: id=7F780279; url=http://arrakis.thelounge.net/gpg/h.reindl_thelounge.net.pub.txt Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="----enig2QHJWWPPOUDANXNDMQEKQ" X-Virus-Checked: Checked by ClamAV on apache.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2QHJWWPPOUDANXNDMQEKQ Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Am 10.05.2013 22:38, schrieb Eric Covener: > On Fri, May 10, 2013 at 4:11 PM, Reindl Harald = wrote: >> https://httpd.apache.org/docs/trunk/mod/mod_ratelimit.html >>> Provides a filter named RATE_LIMIT to limit client bandwidth. >>> The connection speed to be simulated is specified, in KiB/s >> >> compared with external "mod_bw.so" IMHO this is a design mistake >> >> * saying i have several virtual hosts >> * my line has a capacity of 512 KB/Sec >> * one of the virtual hosts starts to have high traffic and abuses my u= pstream >> * "SetEnv rate-limit 256" limits each client to 256 KB/sec at it's own= >> * two of them abuse my upstream completly >=20 > It sounds more useful, and far more complicated, to limit the overall > bandwdith. but possible and mod_bw did it at least 5 years ago > But mod_ratelimit does what it says=20 > It's not fair to say whoever wrote it should have instead scratched the= itch described above this was not meant as attack i only was wondering by try to replace as most 3rd party modules as possible with the capabilites of Apache 2.4 like mod_remoteip for mod_rpaf does perfectly that "mod_ratelimit" will not fit currently it's not hardly needed here because faster line but in the times with DSL lines mod_bw did save more than once ------enig2QHJWWPPOUDANXNDMQEKQ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlGNYoAACgkQhmBjz394AnnZdQCeNbPPX7Oy0hQ4Q35BeA3KBxz4 ps8AoJkpzlhO7TVQjtZJyCzsgjJJg6vm =yLa5 -----END PGP SIGNATURE----- ------enig2QHJWWPPOUDANXNDMQEKQ--