🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87162

Preferred use of port 563 instead of STARTTLS

#87162
From: Julien ÉLIE
Date: Mon, 02 Nov 2015 14:02
74 lines
4146 bytes
Hi all,

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.

    o  Application protocols typically provide a way for the server to
       offer TLS during an initial protocol exchange, and sometimes also
       provide a way for the server to advertise support for TLS (e.g.,
       through a flag indicating that TLS is required); unfortunately,
       these indications are sent before the communication channel is
       encrypted.  A client SHOULD attempt to negotiate TLS even if these
       indications are not communicated by the server.

    Rationale: Combining unprotected and TLS-protected communication
    opens the way to SSL Stripping and similar attacks, since an initial
    part of the communication is not integrity protected and therefore
    can be manipulated by an attacker whose goal is to keep the
    communication in the clear.



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've recently changed INN documentation to mention that the use of 
STARTTLS is the recommended way, but apparently things have greatly 
changed since RFC 4642 about TLS for NNTP.
I will probably revert that change for INN 2.6.1.

FYI, I've sent a mail to the UTA WG this morning to ask what to do about 
RFC 4642 (unsecure ciphers, use of TLS compression, and now implicit 
TLS).  I'll let you know the outcome.

-- 
Julien ÉLIE

« – Vous croyez qu'on s'est fait rouler, chef ?
   – P'têt ben qu'oui, p'têt ben qu'non… » (Astérix)

Technical Details
Message-ID: <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

Show Full Headers
Complete Article Headers
Message-ID: <n17qd5$cor$1@news.trigofacile.com>
Subject: Preferred use of port 563 instead of STARTTLS
Date: Mon, 2 Nov 2015 15:02:13 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
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: Mon, 2 Nov 2015 14:02:13 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="aaubervilliers-651-1-146-112.w86-212.abo.wanadoo.fr:86.212.129.112";
 logging-data="13083"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0)
 Gecko/20100101 Thunderbird/38.3.0
X-Mozilla-News-Host: news://news.individual.net:119
X-Received-Body-CRC: 1226653658
X-Received-Bytes: 4129