From owner-freebsd-apache@freebsd.org Fri Feb 23 14:49:57 2018 Return-Path: Delivered-To: freebsd-apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C8358F27F48 for ; Fri, 23 Feb 2018 14:49:57 +0000 (UTC) (envelope-from m@absolight.fr) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 64E2E83C7A for ; Fri, 23 Feb 2018 14:49:57 +0000 (UTC) (envelope-from m@absolight.fr) Received: by mailman.ysv.freebsd.org (Postfix) id 26236F27F47; Fri, 23 Feb 2018 14:49:57 +0000 (UTC) Delivered-To: apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DE3F2F27F46 for ; Fri, 23 Feb 2018 14:49:56 +0000 (UTC) (envelope-from m@absolight.fr) Received: from prod2.absolight.net (mx3.absolight.net [IPv6:2a01:678:2:100::25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "plouf.absolight.net", Issuer "CAcert Class 3 Root" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7CE6883C79 for ; Fri, 23 Feb 2018 14:49:56 +0000 (UTC) (envelope-from m@absolight.fr) Received: from prod2.absolight.net (localhost [127.0.0.1]) by prod2.absolight.net (Postfix) with ESMTP id 23746BDD31; Fri, 23 Feb 2018 15:49:55 +0100 (CET) Received: from gw.in.absolight.net (gw-ecl.in.absolight.net [79.143.241.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gw.in.absolight.net", Issuer "CA Cert Signing Authority" (not verified)) by prod2.absolight.net (Postfix) with ESMTPSA id D5DDBBDD25; Fri, 23 Feb 2018 15:49:54 +0100 (CET) Received: from ogg.in.absolight.net (ogg.in.absolight.net [79.143.241.239]) by gw.in.absolight.net (Postfix) with ESMTP id 63F7E612C; Fri, 23 Feb 2018 15:49:54 +0100 (CET) Received: by ogg.in.absolight.net (Postfix, from userid 501) id 267B25C954DE; Fri, 23 Feb 2018 15:49:54 +0100 (CET) Date: Fri, 23 Feb 2018 15:49:54 +0100 From: Mathieu Arnold To: Charles Sprickman Cc: apache@FreeBSD.org Subject: Re: FreeBSD Port: www/mod_cband Message-ID: <20180223144954.bvr3r5viqtvg3cfi@ogg.in.absolight.net> References: <760D90A5-E9AB-41D4-9E63-E32052DAAAB7@bway.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="fob5gqszxwtfsdeq" Content-Disposition: inline In-Reply-To: <760D90A5-E9AB-41D4-9E63-E32052DAAAB7@bway.net> User-Agent: NeoMutt/20171215 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Feb 2018 14:49:58 -0000 --fob5gqszxwtfsdeq Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 21, 2018 at 02:42:50AM -0500, Charles Sprickman via freebsd-apa= che wrote: > Hi, >=20 > I=E2=80=99m testing out one of the patches floating around to make mod_cb= and work on apache 2.4.x, is there any interest in including this small pa= tch (and one Makefile change) so that mod_cband can be used with a current = apache? After lots of looking, I=E2=80=99m not seeing anything else that r= eally compares to mod_cband, especially for web hosting where one needs to = enforce a quota on bytes transferred over a period of time (week, month). >=20 > Makefile change is just "USE_APACHE=3D 22=E2=80=9D to "USE_APACHE=3D = 22+=E2=80=9D. >=20 > The other changes are pretty small and are attached - dump them in the po= rt=E2=80=99s =E2=80=9Cfiles=E2=80=9D directory and it should build. The co= mpiler warnings are the same as those generated by the current port (strncm= p suggestions, unsigned int comparison warning). >=20 > I=E2=80=99m running this now on a 10.4 server with apache 2.4.29. I=E2= =80=99d like to let it cook for a few days, but at first glance this seems = to be working fine. A patch would be great, yes, please open a PR with it when you have the time :-) --=20 Mathieu Arnold --fob5gqszxwtfsdeq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAABCgBmBQJakCoRXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzQUI2OTc4OUQyRUQxMjEwNjQ0MEJBNUIz QTQ1MTZGMzUxODNDRTQ4AAoJEDpFFvNRg85IzuIP/iid3nES5OPEYaNhH9hH+z6P DV/JFQhnP5G2UXwD04I6dP0QBIWRFIF1kttU1gQFKE/KRbURSun/Nti5XblVSnML iF2Aoc30yCzfm0nAsgFUvKxYJuy2cEgeP3TQorKtpBaz0tZYg+3fkN5mr3zpgMFy 2JMTIQhSogVR82np4I6+oUmfeFTcgAZEhOtblSxUYrdxamZvNzYop/Yt+tu/H+0n ZrwGVNhVtLkbsVGJqeBuid5jPObmIHoCnqZZ5sOxQtWHr0W0EDwh/hiNHgP6jR5j VIy/Mnt9If84eSKgJMlSWhbJ2asHAk/YEAk5xzVAZfLFIo39yYEyIW1GWXjs43JJ +vuqq7VV9oepFPDbD7abmdLGL/uBAY3XPgCy/pOCfZuwYrKUibjeUBmx8y+nqzQY VvS+uuqXG1lAz1iT8Qw05alB9pcUaJ5hVd0L9spx9Rz+XpvV3JQytOI9sWFSc0cD 54siIxiCW56LPi41GbCI+WVEN804dLh+mOg8b5CqnwRCLh83wcLj+liNotbNVO7+ uYlwf1Aa//6/fBRcK6O4bxEK8hI9zISotWGntdAtVr95STm7wlUqcf1kECNw6mI5 H/iFL688uJum2UOWb7Ir4rg4TPwMahFQEe6T0dn4b+yTKK5TiOrF49+g5l1lcGS7 RJjYtf3CMs0R3RN/6Pd7 =yZEN -----END PGP SIGNATURE----- --fob5gqszxwtfsdeq--