Article View: news.software.nntp
Article #87015Re: STARTTLS testing
From: Steve Crook
Date: Sun, 27 Sep 2015 13:37
Date: Sun, 27 Sep 2015 13:37
73 lines
4373 bytes
4373 bytes
On Sun, 27 Sep 2015 12:15:55 +0200, Julien ΓLIE wrote in Message-Id: <mu8fkr$jul$1@news.trigofacile.com>: > Hi Steve, > >> A related issue I can think of is a case where the server operator wants >> to match different auth groups for NNTPS and STARTTLS connections. > > When using NNTPS, a separate nnrpd is used (with the -S flag). If > needed, one can then also use a separate readers.conf file (with the -f > flag). Ah, that's more than sufficient. It's only an edge case and, as you say, it's unlikely anyone would want to distinguish between them. >> Perhaps having require_ssl for NNTPS and require_tls for STARTTLS would >> be better? > > Is there a real need for that? > I do not see why a server operator would like to treat the two cases > differently. (And if he wants, he could use a separate readers.conf file.) Yes, the seperate readers.conf already provides a solution so I'd be happy for require_ssl to match both NNTPS and STARTTLS. > Note that the preferred way (per RFC 4642) is to use STARTTLS: > > In some existing implementations, TCP port 563 has been dedicated to > NNTP over TLS. These implementations begin the TLS negotiation > immediately upon connection and then continue with the initial steps > of an NNTP session. This use of TLS on a separate port is > discouraged for the reasons documented in Section 7 of "Using TLS > with IMAP, POP3 and ACAP" [TLS-IMAPPOP]. > > This specification formalizes the STARTTLS command already in > occasional use by the installed base. The STARTTLS command rectifies > a number of the problems with using a separate port for a "secure" > protocol variant; it is the preferred way of using TLS with NNTP. I much prefer STARTTLS as it removes the need to run a dedicated nnrpd for NNTPS. It's also better aligned with smtp which has significantly shifted from SMTPS to STARTTLS. Pity Thunderbird (and others) support STARTTLS for mail but not for news. Hopefully they'll move to resolve that now inn-2.6.0 is released. >>> I also see that if AUTHINFO SASL is used and negotiates a security >>> layer, INN currently does not take that fact into account (that is to >>> say auth groups with require_ssl set to true still won't be matching >>> that connection). I believe it should. >> >> This is probably another instance of require_ssl being used to match >> multiple conditions in the auth group. The consequence is some >> ambiguity in exactly what connection states it should match. There >> appear to be three connection states, clear, NNTPS and STARTTLS. Any of >> those could be used with SASL. Do auth groups require sufficient >> granularity to be able to match these combinations of conditions? > > I don't think we really need to have different behaviours. > Aren't the "secure state" and the "unsecure state" enough? (the fact > that several means exist to reach a "secure state" should not transparent) > > I'm not much in favour of adding extra complexity to readers.conf (that > is already not that simple!) especially if there is no practical use case... I'm happy with that Julian. -- What shall we use To fill the empty spaces Where we used to talk?
Technical Details
Message-ID:
<slrnn0fs7u.tso.steve@snorky.mixmin.net>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:
<slrnn0aagq.tso.steve@snorky.mixmin.net> <mu4a0d$s4e$1@news.trigofacile.com> <slrnn0d4eu.tso.steve@snorky.mixmin.net> <mu6rbm$nir$1@news.trigofacile.com> <slrnn0fe7s.tso.steve@snorky.mixmin.net> <mu8fkr$jul$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <slrnn0fs7u.tso.steve@snorky.mixmin.net> Subject: Re: STARTTLS testing Date: Sun, 27 Sep 2015 13:37:02 +0000 From: Steve Crook <steve@mixmin.net> References: <slrnn0aagq.tso.steve@snorky.mixmin.net> <mu4a0d$s4e$1@news.trigofacile.com> <slrnn0d4eu.tso.steve@snorky.mixmin.net> <mu6rbm$nir$1@news.trigofacile.com> <slrnn0fe7s.tso.steve@snorky.mixmin.net> <mu8fkr$jul$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 Organization: Mixmin Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Sun, 27 Sep 2015 13:37:02 +0000 (UTC) Injection-Info: news.mixmin.net; posting-host="b3d35a7ea93243cd2837e0450058617a56b6aceb"; logging-data="24801"; mail-complaints-to="abuse@mixmin.net" User-Agent: slrn/pre1.0.3-6 (Linux) X-Received-Body-CRC: 2671302186 X-Received-Bytes: 4328