🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87485

Re: Draft -00 for modernizing TLS usage with NNTP

#87485
From: Julien ÉLIE
Date: Mon, 25 Jul 2016 20:06
97 lines
5295 bytes
Hi Michael,

Glad you began MIME-encoding your name in Netnews articles :)


> | 2.2.  Protocol Versions and Cipher Suites
> |
> | NNTP implementations are encouraged to support options to configure
> | the minimal TLS protocol version to accept, and the cipher suites not
> | to accept.  Additional options can naturally also be supported.  The
> | goal is to enable news administrators to easily and quickly
> | strengthen security, if need be.
>
> First: Is this paragraph intended for the client side too?
> Often there is no administrator for clients and users create the
> configuration themselves. Most of them may not be able to decide which
> protocols and cipher suites are good or bad choices to offer to the
> server. If there is no client side administrator, who should decide for
> the users:
> - Nobody
> - The newsreader (by offering only options considered safe)
> - The server (by rejecting offered things considered unsafe)

With the current wording, this paragraph is also intended for the 
client.  Yet, I had not in mind configurable options in all cases. 
Maybe it should be reworded this way:

NNTP implementations of news servers are encouraged to support options 
to configure the minimal TLS protocol version to accept, and the cipher 
suites to accept.  Additional options can naturally also be supported. 
The goal is to enable administrators of news servers to easily and 
quickly strengthen security, if need be (for instance by rejecting 
cipher suites considered unsafe with regards to local policy).  News 
clients may also support similar options, either configurable by the 
user or enforced by the news reader.

Any better suggestion?



> The important point is that with current TLS, the client has more power,
> a server can not choose a cipher suite that the client has not offered.

Sure a server cannot choose an unoffered cipher suite.  The server can 
however decide not to use the first cipher suite it knows in the 
client's preferences.  It may as well choose another one.
I am speaking of the SSL_OP_CIPHER_SERVER_PREFERENCE option in OpenSSL. 
By default, INN does that (server's preferences are used).

Configuration TLS options in INN are tlsciphers, tlscompression, 
tlseccurve, tlspreferserverciphers and tlsprotocols, described here:
     https://www.eyrie.org/~eagle/software/inn/docs/inn.conf.html



> Following the principle of "least surprise", maybe to explicitly
> configure what to offer or accept (instead of what should not be
> offered or rejected respectively) is the better option.

It is indeed what INN does (configure what to accept).
In fact, when writing the draft, I wondered whether it wouldn't be 
better to prevent weak cipher suites from being accepted (because they 
will always be weak).
But in all cases, it will need a human intervention either to restrict 
"AAA" or to allow "DEFAULT,!AAA" (if a cipher suite named AAA is 
considered weak, and "DEFAULT" means the default cipher suites proposed 
by the underlying TLS implementation).
So your remark is adopted (and reflected in the above rewording of the 
paragraph).



> Otherwise new ciphers are automatically enabled. E.g. after updating
> OpenSSL from 1.0 to 1.1 the CCM mode for block ciphers become available
> and a stream cipher (ChaCha20) is there again - even if RC2 and RC4 were
> disabled before.

If we choose "DEFAULT", new ciphers will be automatically enabled (but I 
agree with you that the administrator explicitly wanted that when 
configuring the option to use "DEFAULT").



> In general neither the oldest nor the newest cipher suites may be the
> most secure.  But a ciphersite that use not too old, but mature
> algorithms should rarely be a bad choice.

Wise thought.

-- 
Julien ÉLIE

« Il était une fois un homme fidèle, c'est une belle histoire. Il
   était une fois une femme fidèle, c'est un conte de fées. »
   (Maurice Jeanneret)

Technical Details
Message-ID: <nn5rfs$as7$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
References: <nn0m6t$j5k$1@news.trigofacile.com> <AABXlKRk3K0AAAnJ.A1.flnews@Server4.micha.freeshell.org>

Show Full Headers
Complete Article Headers
Message-ID: <nn5rfs$as7$1@news.trigofacile.com>
Subject: Re: Draft -00 for modernizing TLS usage with NNTP
Date: Mon, 25 Jul 2016 22:06:31 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <nn0m6t$j5k$1@news.trigofacile.com> <AABXlKRk3K0AAAnJ.A1.flnews@Server4.micha.freeshell.org>
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=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 25 Jul 2016 20:06:20 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="2a01cb080103c80055a114fbfbe0ddbf.ipv6.abo.wanadoo.fr:2a01:cb08:103:c800:55a1:14fb:fbe0:ddbf";
 logging-data="11143"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0)
 Gecko/20100101 Thunderbird/45.2.0
In-Reply-To: <AABXlKRk3K0AAAnJ.A1.flnews@Server4.micha.freeshell.org>
X-Received-Bytes: 5185
X-Received-Body-CRC: 3890488862