πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #79445

Re: Behaviour when STARTTLS fails

#79445
From: D. Stussy
Date: Sun, 21 Sep 2008 01:09
33 lines
2260 bytes
"Julien Γ‰LIE" <iulius@nom-de-mon-site.com.invalid> wrote in message
news:gb3r4b$k3u$1@news.trigofacile.com...
> >> STARTTLS
> >> 382 Begin TLS negotiation now
> >> LIST ACTIVE.TIMES
> >> 500 What?
> >> QUIT
> >> 205 Bye!
> >
> > Well, if you actually get a mutually detected failure, I think there is
> > synchronization for that and both sides know when it's failed.
> > (Otherwise, it wouldn't be even theoretically possible to continue.)
>
> The server normally synchronizes after \r\n so there will only be
> one exchange which is not understood (the first one -> 500).
> At one moment indeed, both sides will know STARTTLS failed.  Well, I hope
:)
>
> >> Can we just close the socket on failure?  I assume it is what RFC 4642
> >> suggests because the server "SHOULD immediately close the connection".
> >>
> >> Is it OK not to send 400 just before?
> >
> > I believe you can just close the connection on failure without any
status
> > code.
>
> It is the safest thing to do.  Let's close the connection then.

What else could one do?  The connection can't continue, and sending a status
code is pointless.

Technical Details
Message-ID: <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.ams.giganews.com!nntp.giganews.com!news.k-dsl.de!feeder.erje.net!news.snarked.org!not-for-mail
References: <gb34f2$8rm$1@news.trigofacile.com> <87ej3ebjh3.fsf@windlord.stanford.edu> <gb3r4b$k3u$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <gb46s5$jh3$1@snarked.org>
Subject: Re: Behaviour when STARTTLS fails
Date: Sat, 20 Sep 2008 18:09:26 -0700
From: "D. Stussy" <spam@bde-arc.ampr.org>
References: <gb34f2$8rm$1@news.trigofacile.com> <87ej3ebjh3.fsf@windlord.stanford.edu> <gb3r4b$k3u$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.k-dsl.de!feeder.erje.net!news.snarked.org!not-for-mail
Newsgroups: news.software.nntp
Lines: 33
Reply-To: "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org>
NNTP-Posting-Host: pool-71-118-52-187.lsanca.dsl-w.verizon.net
X-Trace: snarked.org 1221959365 20003 71.118.52.187 (21 Sep 2008 01:09:25 GMT)
X-Complaints-To: newsmaster@snarked.org
NNTP-Posting-Date: Sun, 21 Sep 2008 01:09:25 +0000 (UTC)
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478