Article View: news.software.nntp
Article #87177Re: Preferred use of port 563 instead of STARTTLS
From: Michael Baeuerle
Date: Fri, 06 Nov 2015 17:56
Date: Fri, 06 Nov 2015 17:56
59 lines
3497 bytes
3497 bytes
Julien ÉLIE wrote: > > I've just read in RFC 7525 (which is a BCP for TLS): > https://tools.ietf.org/html/rfc7525 > > 3.2. Strict TLS > > The following recommendations are provided to help prevent SSL > Stripping (an attack that is summarized in Section 2.1 of [RFC7457]): > > o In cases where an application protocol allows implementations or > deployments a choice between strict TLS configuration and dynamic > upgrade from unencrypted to TLS-protected traffic (such as > STARTTLS), clients and servers SHOULD prefer strict TLS > configuration. > [...] > > Also in a draft (for e-mails) currently discussed in the UTA WG: > https://tools.ietf.org/html/draft-ietf-uta-email-deep-01 > > 4. Implicit TLS > > Previous standards for use of email protocols with TLS used the > STARTTLS mechanism: [RFC2595], [RFC3207], and [RFC3501]. With > STARTTLS, the client establishes a clear text application session and > determines whether to issue a STARTTLS command based on server > capabilities and client configuration. If the client issues a > STARTTLS command, a TLS handshake follows that can upgrade the > connection. While this mechanism has been deployed, an alternate > mechanism where TLS is negotiated immediately at connection start on > a separate port (referred to in this document as "Implicit TLS") has > been deployed more successfully. To increase use of TLS, this > specification recommends use of implicit TLS by new POP, IMAP and > SMTP Submission software. > [...] > > I think it may be of interest to people involved in newsreaders > development here. I was a bit surprised reading this. Formerly I thought that STARTTLS was the way to go for the future. My plan for flnews was to wait until most servers¹ support STARTTLS, implement it and remove the NNTPS support instead. Currently the server configuration of flnews looks like this: <http://micha.freeshell.org/tmp/2015-11-06_flnews_server_config.png> and I don't want to add more config options like "Use STARTTLS". Would "Use STARTTLS" mean "use if available" or "abort if not available"? Following the documents above, it looks like that "change nothing and stay with NNTPS" is the better option. ____________________ ¹) My provider Individual.Net still don't support NNTP V2 and can't even offer the STARTTLS capability.
Technical Details
Message-ID:
<AABWPOGmmkcAABCC.A1.flnews@WStation3.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:
<n17qd5$cor$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <AABWPOGmmkcAABCC.A1.flnews@WStation3.stz-e.de> Subject: Re: Preferred use of port 563 instead of STARTTLS Date: Fri, 6 Nov 2015 18:56:04 +0100 From: Michael Baeuerle <michael.baeuerle@stz-e.de> References: <n17qd5$cor$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: 57 Reply-To: Michael Baeuerle <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 GyhWHqR7ZeF+QCsESDZzFgFM5AWz1Hq4b0gNR+yGJiXoXYDMbT X-Orig-Path: not-for-mail Cancel-Lock: sha1:2V0+F7qKNtvttwwRPDdCX3Jp+gU= sha1:6cZVdsagmeGFvrgUixJo7wh4wH8= Injection-Date: Fri, 6 Nov 2015 17:56:04 -0000 User-Agent: flnews/0.12 (for GNU/Linux) X-Received-Body-CRC: 1974817649 X-Received-Bytes: 3356