Article View: news.software.nntp
Article #79446Re: Behaviour when STARTTLS fails
From: Julien ÉLIE
Date: Sun, 21 Sep 2008 07:26
Date: Sun, 21 Sep 2008 07:26
39 lines
2718 bytes
2718 bytes
Hi D. Stussy,
> What else could one do? The connection can't continue, and sending a status
> code is pointless.
The connection could continue unencrypted, in the same state as it was before
STARTTLS, if both the client and the server fail to negotiate TLS.
It is the example provided by RFC 4642:
[C] STARTTLS
[S] 382 Continue with TLS negotiation
[TLS negotiation is attempted here]
[Following failed negotiation, traffic resumes without TLS]
[C] CAPABILITIES
[S] 101 Capability list:
[S] VERSION 2
[S] READER
[S] STARTTLS
[S] LIST ACTIVE NEWSGROUPS OVERVIEW.FMT
[S] OVER
[S] .
[C] GROUP local.confidential
[S] 483 Encryption or stronger authentication required
[C] GROUP local.private
[S] 400 Closing connection due to lack of security
But I believe it is not that easy: the client will have to send an unknown number
of commands (while the server is still in its negotiating state), then one command
will be answered 500 (in most cases), then we can go on.
Hard to do...
Therefore, it is better to close the connection just after a failed negotiation.
--
Julien ÉLIE
« La vie ne vaut rien. Mais rien ne vaut la vie. » (André Malraux)
Technical Details
Message-ID:
<gb4t03$saq$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.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!club-internet.fr!feedme-small.clubint.net!news.netfinity.fr!news.trigofacile.com!not-for-mailReferences:
<gb34f2$8rm$1@news.trigofacile.com> <87ej3ebjh3.fsf@windlord.stanford.edu> <gb3r4b$k3u$1@news.trigofacile.com> <gb46s5$jh3$1@snarked.org>Show Full Headers
Complete Article Headers
Message-ID: <gb4t03$saq$1@news.trigofacile.com> Subject: Re: Behaviour when STARTTLS fails Date: Sun, 21 Sep 2008 09:26:55 +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> 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.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!club-internet.fr!feedme-small.clubint.net!news.netfinity.fr!news.trigofacile.com!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Lines: 39 NNTP-Posting-Host: aaubervilliers-151-1-58-236.w83-112.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 8bit X-Trace: news.trigofacile.com 1221982019 29018 83.112.31.236 (21 Sep 2008 X-Complaints-To: abuse@trigofacile.com NNTP-Posting-Date: Sun, 21 Sep 2008 07:26:59 +0000 (UTC) In-Reply-To: <gb46s5$jh3$1@snarked.org> X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6001.18000 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049