🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #79468

Re: Behaviour when STARTTLS fails

#79468
From: Julien ÉLIE
Date: Wed, 24 Sep 2008 19:20
49 lines
3328 bytes
Hi Russ,

> I was having a hard time understanding RFC 5246, but the impression that I
> was getting was that once you start establishing STARTTLS, either you
> finish or you fail;

I also admit it is not clear at all!


> if you send a warning message instead of an error
> message, that means you're going to finish successfully.

   If an alert with a level of warning is sent and received, generally
   the connection can continue normally.  If the receiving party decides
                  ^^^^^^^^^^^^^^^^^^^^^
   not to proceed with the connection (e.g., after having received a
   no_renegotiation alert that it is not willing to accept), it SHOULD
   send a fatal alert to terminate the connection.  Given this, the
   sending party cannot, in general, know how the receiving party will
   behave.  Therefore, warning alerts are not very useful when the
   sending party wants to continue the connection, and thus are
   sometimes omitted.  For example, if a peer decides to accept an
   ^^^^^^^^^^^^^^^^^
   expired certificate (perhaps after confirming this with the user) and
   wants to continue the connection, it would not generally send a
            ^^^^^^^^^^^^^^^^^^^^^^^
   certificate_expired alert.



> I couldn't find any notion of an unsuccessful finish.

Fatal => close.
But with warnings, nothing very precise is said :-/

   One of the content types supported by the TLS record layer is the
   alert type.  Alert messages convey the severity of the message
   (warning or fatal) and a description of the alert.  Alert messages
   with a level of fatal result in the immediate termination of the
   connection.

...

-- 
Julien ÉLIE

« Tout homme devrait un jour se marier ;
  après tout, le bonheur n'est pas la seule chose dans la vie. » 
Technical Details
Message-ID: <gbe3ts$c01$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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!news.netfinity.fr!news.trigofacile.com!not-for-mail
References: <gb34f2$8rm$1@news.trigofacile.com> <87ej3ebjh3.fsf@windlord.stanford.edu> <gb3r4b$k3u$1@news.trigofacile.com> <gb46s5$jh3$1@snarked.org> <gb4t03$saq$1@news.trigofacile.com> <87od2h1hcr.fsf@windlord.stanford.edu> <gbdu0r$4ub$1@news.trigofacile.com> <87d4itmkra.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <gbe3ts$c01$1@news.trigofacile.com>
Subject: Re: Behaviour when STARTTLS fails
Date: Wed, 24 Sep 2008 21:20:19 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <gb34f2$8rm$1@news.trigofacile.com> <87ej3ebjh3.fsf@windlord.stanford.edu> <gb3r4b$k3u$1@news.trigofacile.com> <gb46s5$jh3$1@snarked.org> <gb4t03$saq$1@news.trigofacile.com> <87od2h1hcr.fsf@windlord.stanford.edu> <gbdu0r$4ub$1@news.trigofacile.com> <87d4itmkra.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!news.netfinity.fr!news.trigofacile.com!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Lines: 49
NNTP-Posting-Host: aaubervilliers-151-1-58-236.w83-112.abo.wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
 reply-type=original
Content-Transfer-Encoding: 8bit
X-Trace: news.trigofacile.com 1222284029 12289 83.112.31.236 (24 Sep 2008
X-Complaints-To: abuse@trigofacile.com
NNTP-Posting-Date: Wed, 24 Sep 2008 19:20:29 +0000 (UTC)
In-Reply-To: <87d4itmkra.fsf@windlord.stanford.edu>
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049