From: "Peter Müller" <peter.mueller@link38.eu>
To: development@lists.ipfire.org
Subject: Re: Apache Patches
Date: Wed, 04 Oct 2017 21:06:50 +0200 [thread overview]
Message-ID: <20171004210650.4cc6d67f.peter.mueller@link38.eu> (raw)
In-Reply-To: <000b01d33c4a$4aa12e80$dfe38b80$@googlemail.com>
[-- Attachment #1: Type: text/plain, Size: 3613 bytes --]
Hello Wolfgang,
thanks for your feedback.
> Hi everyone,
>
> regarding the latest apache patches (sorry, I will discuss several patches in one mail):
>
> "disable obsolete and unused ciphers in Apache SSL configuration"
> This looks good to me, but why don't we use a standard configuration, like the one that the Mozilla SSL Configuration Generator outputs (or maybe build on that)?
> https://mozilla.github.io/server-side-tls/ssl-config-generator/
Well, this is mainly because of the DH issue (see below). Further, I am not a big fan
of standardised SSL cipher configurations, since most people tend to do just copy & paste
- sometimes even including some security issues.
If you build your cipherlist from scratch, there is more "brainware" in it. But actually,
this is a matter of opinion.
>
> It could make sense to still support DHE parameters, since they provide PFS - in contrast to the "normal" AES128-GCM-SHA256 parameters. We could pre-generate a 2048 bit DH param and use that, if the user is not re-generating it. This is still a lot better than using the standard Apache DH params. I also discovered while searching for standard DH params that there exist other firewall distributions that do it exactly this way.
I disagree with you.
First, it is a crutch and not a fix - every installation would use the same DH parameter,
which is exactly what Apache does. In both cases, you just search in the repository and
extract the file (or let it be hard-coded in source).
A standard DH parameter is simply not a solution, since this is what we actually have
right now - with 1024 bits, of course, but the issue stays the same.
Second, we actually do not need DH anymore. Every modern browser uses ECDHE because of
speed issues, and there are only a few (ancient) user agents which would fall back to
non-PFS ciphers.
Third, there is a difference between TLS on web sites and TLS on mail servers. If we
ran a MX, I'd agree with you (opportunistic TLS, I mentioned that somewhere else). But
on web sites, there are only two scenarios that make sense to me:
Either we use strong and reliable encryption - or we do not use any encryption at all.
Speaking about DH, I think solving the security vulnerabilities is too extensive. If we
use standardised DH params, the problem stays the same. If we generate it on each system,
we will experience users asking "Why is my load average hitting the roof for > 30 minutes?".
>
> "add ECDSA certificate and key files to Apache configuration"
> I think that if we add "SSLCertificateFile" twice to the configuration, the first one will just be overwritten. So in this case, the server.crt|key are not used at all.
According to Ivan Ristic, "Bulletproof SSL and TLS", p. 386, this is wrong. You can use
multiple keys by simply use a set of "SSLCertificateFile / SSLCertificateKeyFile" directives.
Only "SSLCertificateChainFile" cannot be defined multiple times - but we do not use it
on IPFire, anyway.
@All: Does anybody who tested see the same issue?
>
> Another word to the "Require" statements from Apache. As you already noticed, they are ORed, if they are not in a RequireAll|Any|None block. To make this behavior transparent, I would suggest to always use the RequireX block and don't rely on the default (RequireAny->OR), if possible. This is just a note to everyone that updates/creates access control within the Apache configuration.
ACKed.
(Using OR as a default is quite strange in my eyes, but what the hey!)
Best regards,
Peter Müller
>
> Best regards,
> Wolfgang
>
next prev parent reply other threads:[~2017-10-04 19:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-03 13:19 Wolfgang Apolinarski
2017-10-04 15:49 ` Michael Tremer
2017-10-04 19:06 ` Peter Müller [this message]
2017-10-04 19:59 ` AW: " Wolfgang Apolinarski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171004210650.4cc6d67f.peter.mueller@link38.eu \
--to=peter.mueller@link38.eu \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox