Article View: news.software.nntp
Article #87969Re: INN 2.6.3 with Debian 10 "Buster"
From: Julien ÉLIE
Date: Fri, 31 May 2019 22:55
Date: Fri, 31 May 2019 22:55
65 lines
3539 bytes
3539 bytes
Hi Michael,
>>> 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).
>
>> 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).
First step done!
Auto-selection with 2048-bit DH parameter for levels 0, 1 and 2;
4096-bit for level 3; 8192-bit for level 4.
The pre-computed DH parameters are taken from RFC 7919.
Unfortunately, there is no suitable DH parameter for level 5 (but I
doubt it will be set by a news admin).
I've just submitted the patch to Marco so that it could be integrated
into Debian Buster:
https://inn.eyrie.org/trac/changeset/10344
The new feature of user-provided group will come later.
FWIW, the DH modulus can be shown with the following command:
openssl s_client -msg -cipher 'DHE-RSA-AES256-SHA256' -connect
localhost:563
<<< TLS 1.2 Handshake [length 030f], ServerKeyExchange
0c 00 03 0b 01 00 ff ff ff ff ff ff ff ff ad f8
^^^^^
(with a 2048-bit DH key => modulus is an integer encoded over 0x0100 =
256 bytes)
<<< TLS 1.2 Handshake [length 050f], ServerKeyExchange
0c 00 05 0b 02 00 ff ff ff ff ff ff ff ff ad f8
^^^^^
(with a 4096-bit DH key => modulus is an integer encoded over 0x0200 =
512 bytes)
<<< TLS 1.2 Handshake [length 090f], ServerKeyExchange
0c 00 09 0b 04 00 ff ff ff ff ff ff ff ff ad f8
^^^^^
(with a 8192-bit DH key => modulus is an integer encoded over 0x0400 =
1024 bytes)
It permits to check that the patch works fine with all the pre-computed
DH parameters.
--
Julien ÉLIE
« Internet restera toujours un joujou pour les universitaires. »
(1991)
Technical Details
Message-ID:
<qcsbd6$l5t$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-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> <AABcxstP3hsAAAS5.A1.flnews@WStation5.stz-e.de>Show Full Headers
Complete Article Headers
Message-ID: <qcsbd6$l5t$1@news.trigofacile.com> Subject: Re: INN 2.6.3 with Debian 10 "Buster" Date: Sat, 1 Jun 2019 00:55:34 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> 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> <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-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Fri, 31 May 2019 22:55:34 -0000 (UTC) Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="lfbn-1-2766-249.w86-252.abo.wanadoo.fr:86.252.110.249"; logging-data="21693"; mail-complaints-to="abuse@trigofacile.com" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 In-Reply-To: <AABcxstP3hsAAAS5.A1.flnews@WStation5.stz-e.de> Content-Language: fr X-Received-Bytes: 3544 X-Received-Body-CRC: 3498754859