From owner-freebsd-apache@FreeBSD.ORG Wed Jun 10 17:23:37 2015 Return-Path: Delivered-To: freebsd-apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1165975 for ; Wed, 10 Jun 2015 17:23:37 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D9B7716A3 for ; Wed, 10 Jun 2015 17:23:36 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id BF5D12166F for ; Wed, 10 Jun 2015 13:23:34 -0400 (EDT) Received: from web3 ([10.202.2.213]) by compute2.internal (MEProxy); Wed, 10 Jun 2015 13:23:34 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=XLmxGk1/oNZSbgH AeijZGv99kYQ=; b=Ejr8l42kzeAbeBkWWePL0FQsBa9JTj/60h+qN4qPu1jCUET 1eFx5yzEcY9PMMF4plOJlUijIqt/nmdN+7rrz7BVCzJsnjTh1Hvf8eGM7PfQVqDy r4KAB1w7KOy0PIb8KTkI2Ubpn4LjseyUbvgJ/nLcyAOjMPI6taWOjERZcpto= Received: by web3.nyi.internal (Postfix, from userid 99) id 95040108A35; Wed, 10 Jun 2015 13:23:34 -0400 (EDT) Message-Id: <1433957014.4120675.292074337.574268DE@webmail.messagingengine.com> X-Sasl-Enc: EIY3P/3xFEsWtP6LXkK4tv2X8P3h3KIkPMKMukdR5jHq 1433957014 From: Mark Felder To: freebsd-apache@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-ff004c4b In-Reply-To: References: Subject: Re: maintainer-feedback requested: [Bug 200756] [patch] www/apache22: Logjam DH params workaround for Apache 2.2.x due to lack of "SSLOpenSSLConfCmd" directive Date: Wed, 10 Jun 2015 12:23:34 -0500 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jun 2015 17:23:37 -0000 On Wed, Jun 10, 2015, at 02:11, bugzilla-noreply@freebsd.org wrote: > Winni Neessen has reassigned Bugzilla Automation > 's request for maintainer-feedback to > apache@FreeBSD.org: > Bug 200756: [patch] www/apache22: Logjam DH params workaround for Apache > 2.2.x > due to lack of "SSLOpenSSLConfCmd" directive > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200756 > > > > --- Description --- > Hi, > > As Apache 2.2.x is not providing a way to use a self-generated set of DH > params > via configuration directive (lack of the "SSLOpenSSLConfCmd" parameter), > I've > created a workaround, that generates a set of DH params during compile > time, so > that apache22 is still able to follow the recommendation of not using the > default set of 512/1024bit DH params, that is shipped with Apache per > default. > > I'd already published the workaround on > https://bitbucket.org/snippets/wneessen/grb8 where someone suggested to > submit > a PR for FreeBSD, so here it is. > > I wasn't able to figure, how to attach 2 files to this PR, so I am > following > the documentation at > https://www.freebsd.org/doc/en_US.ISO8859-1/articles/problem-reports/pr-writing > .html > and provide the URLs. > > Patch for www/apache2/Makefile: > https://bitbucket.org/api/2.0/snippets/wneessen/grb8/9ce0ecd2a060d734a87a8ce635 > 24bbcbe67c4a7c/files/Makefile.patch > Patch for Apache 2.2.x's modules/ssl/ssl_engine_dh.c: > https://bitbucket.org/api/2.0/snippets/wneessen/grb8/9ce0ecd2a060d734a87a8ce635 > 24bbcbe67c4a7c/files/ssl_engine_dh_c.patch > Hi Winni, Thanks for your patch! I was working on testing it and I noticed someone already added this to the build process with this commit: https://svnweb.freebsd.org/ports/head/www/apache22/Makefile?revision=386904&view=markup