From owner-freebsd-apache@FreeBSD.ORG Wed Jun 10 07:11:50 2015 Return-Path: Delivered-To: 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 682B5AD5 for ; Wed, 10 Jun 2015 07:11:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 3824A122E for ; Wed, 10 Jun 2015 07:11:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5A7BoB2040398 for ; Wed, 10 Jun 2015 07:11:50 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: apache@FreeBSD.org Subject: [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 07:11:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: winni@insecure.so X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: apache@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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 07:11:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200756 Bug ID: 200756 Summary: [patch] www/apache22: Logjam DH params workaround for Apache 2.2.x due to lack of "SSLOpenSSLConfCmd" directive Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: patch Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: apache@FreeBSD.org Reporter: winni@insecure.so Assignee: apache@FreeBSD.org Keywords: patch Flags: maintainer-feedback?(apache@FreeBSD.org) 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/9ce0ecd2a060d734a87a8ce63524bbcbe67c4a7c/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/9ce0ecd2a060d734a87a8ce63524bbcbe67c4a7c/files/ssl_engine_dh_c.patch Hope that helps, Winni -- You are receiving this mail because: You are the assignee for the bug.