🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87180

Re: Preferred use of port 563 instead of STARTTLS

#87180
From: Julien ÉLIE
Date: Sat, 07 Nov 2015 14:03
71 lines
4962 bytes
Hi Michael,

> 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.

I think it was the plan, but...

    [draft-ietf-uta-email-deep-01]
    One author of this document was also the author of RFC 2595 that
    became the standard for TLS usage with POP and IMAP, and the other
    author was perhaps the first to propose that idea.  In hindsight both
    authors now believe that that approach was a mistake.  At this point
    the authors believe that while anything that makes it easier to
    deploy TLS is good, the desirable end state is that these protocols
    always use TLS, leaving no need for a separate port for cleartext
    operation except to support legacy clients while they continue to be
    used.  The separate port model for TLS is inherently simpler to
    implement, debug and deploy.  It also enables a "generic TLS load-
    balancer" that accepts secure client connections for arbitrary foo-
    over-TLS protocols and forwards them to a server that may or may not
    support TLS.  Such load-balancers cause many problems because they
    violate the end-to-end principle and the server loses the ability to
    log security-relevant information about the client unless the
    protocol is designed to forward that information (as this
    specification does for the cipher suite).  However, they can result
    in TLS deployment where it would not otherwise happen which is a
    sufficiently important goal that it overrides the problems.

    Although STARTTLS appears only slightly more complex than separate-
    port TLS, we again learned the lesson that complexity is the enemy of
    security in the form of the STARTTLS command injection vulnerability
    (CERT vulnerability ID #555316).  Although there's nothing inherently
    wrong with STARTTLS, the fact it resulted in a common implementation
    error (made independently by multiple implementers) suggests it is a
    less secure architecture than Implicit TLS.

    Section 7 of RFC 2595 critiques the separate-port approach to TLS.
    The first bullet was a correct critique.  There are proposals in the
    http community to address that, and use of SRV records as described
    in RFC 6186 resolves that critique for email.  The second bullet is
    correct as well, but not very important because useful deployment of
    security layers other than TLS in email is small enough to be
    effectively irrelevant.  The third bullet is incorrect because it
    misses the desirable option of "use and latch-on TLS if available".
    The fourth bullet may be correct, but is not a problem yet with
    current port consumption rates.  The fundamental error was
    prioritizing a perceived better design based on a mostly valid
    critique over real-world deployability.  But getting security and
    confidentiality facilities actually deployed is so important it
    should trump design purity considerations.



> 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"?

I think "abort if not available" is the right thing to do.  Otherwise, 
people will think the connection is secure (because they asked "Use 
STARTTLS") whereas it is not.  They should uncheck "Use STARTTLS".

-- 
Julien ÉLIE

« Faites le mur, pas la guerre. » (Astérix)

Technical Details
Message-ID: <n1l0b7$2ue$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: <n17qd5$cor$1@news.trigofacile.com> <AABWPOGmmkcAABCC.A1.flnews@WStation3.stz-e.de>

Show Full Headers
Complete Article Headers
Message-ID: <n1l0b7$2ue$1@news.trigofacile.com>
Subject: Re: Preferred use of port 563 instead of STARTTLS
Date: Sat, 7 Nov 2015 15:03:19 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <n17qd5$cor$1@news.trigofacile.com> <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-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: Sat, 7 Nov 2015 14:03:20 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="aaubervilliers-651-1-233-36.w83-200.abo.wanadoo.fr:83.200.8.36";
 logging-data="3022"; 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
In-Reply-To: <AABWPOGmmkcAABCC.A1.flnews@WStation3.stz-e.de>
X-Received-Body-CRC: 2852381958
X-Received-Bytes: 4946