Article View: news.software.nntp
Article #87952Re: INN 2.6.3 with Debian 10 "Buster"
From: Michael Bäuerle
Date: Mon, 29 Apr 2019 10:00
Date: Mon, 29 Apr 2019 10:00
68 lines
4057 bytes
4057 bytes
Julien ÉLIE wrote:
> Michael Bäuerle:
> > Julien ÉLIE wrote:
> > >
> > > Another possibility for INN would be to get the security level (for
> > > OpenSSL 1.1.0 and above) and select:
> > > - 2048-bit for levels 0, 1 and 2,
> > > - 4096-bit for level 3.
> > > I bet two stronger 8192-bit and 16384-bit pre-computed DH parameters
> > > should be added for levels 4 and 5?
> > >
> > > If an older version of OpenSSL is in use, select 2048-bit.
> > >
> > > Does it sound good to you?
> > >
> > > (Otherwise, everyone would only have 4096-bit DH parameters, be they on
> > > Debian or not.)
> >
> > The "right" way to do this should be negotiation as defined in RFC 7919:
> > <https://tools.ietf.org/html/rfc7919>
> > But AFAIK this is not supported by OpenSSL yet.
> >
> > If you prefer autoselection over user-provided group, then I think
> > the algorithm you proposed is good (maybe based on the groups from
> > RFC 7919, except for Level 5).
>
> When you say user-provided group, is it a /etc/inn2/dhparam.pem (path
> configurable via inn.conf) file that would apply to all connections?
Yes. Other server software currently uses similar mechanisms (e.g.
postfix [1]).
> It would contain by default 2048-bit DH parameters.
> If the file does not exist, INN would use its currently hard-coded
> 4096-bit DH parameters.
> Is that what you had in mind?
I think the default should be "no file" (compiled in groups, the
autoselect algorithm based on the security level would be nice to have).
And the file only for manual intervention (if the autoselected group is
not what is desired by the admin -- for whatever reason).
> As for DH parameters to take, is RFC 7919 preferable over RFC 3526?
Quoted from RFC 7919 [2]:
|
| [...]
| These additions to the "Supported Groups Registry" are described in
| detail in Appendix A. They are all safe primes derived from the base
| of the natural logarithm ("e"), with the high and low 64 bits set to
| 1 for efficient Montgomery or Barrett reduction.
|
| The use of the base of the natural logarithm here is as a "nothing-
| up-my-sleeve" number. The goal is to guarantee that the bits in the
| middle of the modulus are effectively random, while avoiding any
| suspicion that the primes have secretly been selected to be weak
| according to some secret criteria. [RFC3526] used pi for this value.
| See Section 8.5 for reasons that this document does not reuse pi.
This means not reusing the groups from RFC 3526 for TLS is intended.
_____________
[1] <http://www.postfix.org/postconf.5.html#smtpd_tls_dh1024_param_file>
[2] <https://tools.ietf.org/html/rfc7919#section-2>
Technical Details
Message-ID:
<AABcxstP3hsAAAS5.A1.flnews@WStation5.stz-e.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mailReferences:
<AABcwybztOoAAACo.A1.flnews@WStation5.stz-e.de> <qa18h7$gma$1@news.trigofacile.com> <AABcxDoP360AAAxI.A1.flnews@Server4.micha.freeshell.org> <qa3m82$bmr$1@news.trigofacile.com> <AABcxXibpiEAAAtm.A1.flnews@Server4.micha.freeshell.org> <qa46k0$1tr$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <AABcxstP3hsAAAS5.A1.flnews@WStation5.stz-e.de> Subject: Re: INN 2.6.3 with Debian 10 "Buster" Date: Mon, 29 Apr 2019 10:00:47 +0000 From: Michael Bäuerle <michael.baeuerle@stz-e.de> References: <AABcwybztOoAAACo.A1.flnews@WStation5.stz-e.de> <qa18h7$gma$1@news.trigofacile.com> <AABcxDoP360AAAxI.A1.flnews@Server4.micha.freeshell.org> <qa3m82$bmr$1@news.trigofacile.com> <AABcxXibpiEAAAtm.A1.flnews@Server4.micha.freeshell.org> <qa46k0$1tr$1@news.trigofacile.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail Newsgroups: news.software.nntp Lines: 66 Reply-To: Michael Bäuerle <michael.baeuerle@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=fixed Content-Transfer-Encoding: 8bit X-Trace: individual.net 1IY6rxhM7TS9B7wi1ixs2QEujD8BBcWTJQciUD68bUnpBsAapZ X-Orig-Path: not-for-mail Cancel-Lock: sha1:fSiAI0G6y/L2P8OSewIwbg+Oo1o= sha256:Tt8suUhQYN57G2f/tdrD/phpJh7fhQNMTS+9VhEKjFo= sha1:fxwpuaLd/wzuQhwazRTWN5AtIwI= Injection-Date: Mon, 29 Apr 2019 10:00:47 -0000 User-Agent: flnews/0.17pre3 (for NetBSD) X-Received-Bytes: 3955 X-Received-Body-CRC: 4015135207