🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #62952

Re: [attn client authors] Multiple AUTHINFOs per session

#62952
From: Heiko Studt
Date: Wed, 08 Jan 2003 06:36
45 lines
3044 bytes
Russ Allbery made me laugh on 08.01.2003 06:47:51:

> My personal inclination at the moment is to say that the results of
> sending multiple AUTHINFO in the same session is undefined, meaning that

Why?
For example in IMAP you can try to "SELECT" after you had selected another
Mailbox and stay in selected state, while going to that mailbox.
AFAIR the same is if you try to AUTHENTICATE again. Allthough I didn't test
that in Hamster in reality.

If you try to re-authenticate it should either give an error or let it done
without problems. Perhaps there should be a new response-code of 4xx.

For example: (My bad english ;-))

USER == AUTHINFO USER
PASS == AUTHINFO PASS

| Clients MAY try to re-authenticate with USER/PASS. They MUST NOT depend 
| on it, it can fail. If the reauthentication fail, the client MAY
| send a QUIT and then reconnect with new USER/PASS. (new TCP-Thread)
| If the server does not support reauthentication it gives the responsecode 
| 4xy (Todo!) for an new USER. PASS MUST NOT be used without a prior USER 
| and MUST NOT sended twice after an USER. Servers SHOULD disconnect the 
| client softly with same procedure as the client sended a QUIT, 
| if the whole authentication fails. (Protection against DoS/Brute-Force)


> the server is free to reject it or to accept it but that the client can't
> rely on it and should just open a new session if it wants to do this
> portably, but running a close second would be just advertising an
> extension saying whether or not you can do it.

There was no CAPA-Command for NNTP, right? ;-)
Perhaps now it's time to initialize something like that. :-P



MFG

-- 
Heiko Studt

Technical Details
Message-ID: <avgkdr.1m8.1@Heiko.Studt.dialin.t-online.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.mbox.zip!archiver1.google.com!news2.google.com!news1.google.com!newsfeed.stanford.edu!syros.belnet.be!news.belnet.be!uni-erlangen.de!news-nue1.dfn.de!news-fra1.dfn.de!newsfeed.hanau.net!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
References: <avdbi3$mhk$2@puck.litech.org> <avduo3.16s.1@Heiko.Studt.dialin.t-online.de> <ylbs2s944d.fsf@windlord.stanford.edu> <20030107233154.829$xY@newsreader.com> <ylk7hggpko.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <avgkdr.1m8.1@Heiko.Studt.dialin.t-online.de>
Subject: Re: [attn client authors] Multiple AUTHINFOs per session
Date: Wed, 08 Jan 2003 07:36:26 +0100
From: Heiko Studt <UsenetBecky@goldpool.org>
References: <avdbi3$mhk$2@puck.litech.org> <avduo3.16s.1@Heiko.Studt.dialin.t-online.de> <ylbs2s944d.fsf@windlord.stanford.edu> <20030107233154.829$xY@newsreader.com> <ylk7hggpko.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.mbox.zip!archiver1.google.com!news2.google.com!news1.google.com!newsfeed.stanford.edu!syros.belnet.be!news.belnet.be!uni-erlangen.de!news-nue1.dfn.de!news-fra1.dfn.de!newsfeed.hanau.net!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
Newsgroups: news.software.nntp
Organization: HSR
Lines: 44
Reply-To: Heiko.Studt@gmx.de
Mime-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Trace: news.t-online.com 1042033982 04 30636 yruUEseXStYWr7 030108 13:53:02
X-Complaints-To: abuse@t-online.com
X-Sender: 0597171868-0001@t-dialin.net
X-Mailer: Becky! ver. 2.05.06 with BkNews Plug-In ver. 2.0
User-Agent: Hamster-Pg/1.8