Article View: news.software.nntp
Article #79348Re: About 480 and 502 codes
From: Russ Allbery
Date: Mon, 25 Aug 2008 07:19
Date: Mon, 25 Aug 2008 07:19
43 lines
3027 bytes
3027 bytes
Julien ΓLIE <iulius@nom-de-mon-site.com.invalid> writes:
> Sure. The only thing is that for people who have a quick look at the
> RFC and its examples, it can be confusing. If you plan to add an errata
> page or comments to the RFC (I do not know well what the process is),
> could you please mention it?
Absolutely. Already added it to my running list of such things.
>> Unless you can tell that the group won't be accessible without
>> reconnecting, yeah.
>
> And it does not matter to send 480 if AUTHINFO can be used but in fact
> no one will be able to access the secret.group, even authentified?
Hm.
Actually, reading through RFC 3977 again, it strongly gives the impression
that if the user has authenticated in that session, one shouldn't keep
producing 480. I wonder if there are clients that react blindly to 480 by
authenticating and may get themselves into loops there.
In general, reauthentication on an existing connection is something that
security people don't like. This came up in the working group, although I
don't remember exactly what we said about it... ah, there it is:
After a successful authentication, the client MUST NOT issue another
AUTHINFO command in the same session. A server MUST NOT return the
AUTHINFO capability in response to a CAPABILITIES command, and a
server MUST reject any subsequent AUTHINFO commands with a 502
response. Additionally, the client MUST NOT issue a MODE READER
command after authentication, and a server MUST NOT advertise the
MODE-READER capability.
So I was wrong. Indeed, a permanent failure code is correct, because
reauthentication isn't permitted. I bet INN doesn't handle this properly
right now.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<87sksty31w.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.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!headwall.stanford.edu!news.stanford.edu!not-for-mailReferences:
<g8s5lo$7d1$1@news.trigofacile.com> <87prnxdged.fsf@windlord.stanford.edu> <g8thgh$84n$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <87sksty31w.fsf@windlord.stanford.edu> Subject: Re: About 480 and 502 codes Date: Mon, 25 Aug 2008 00:19:39 -0700 From: Russ Allbery <rra@stanford.edu> References: <g8s5lo$7d1$1@news.trigofacile.com> <87prnxdged.fsf@windlord.stanford.edu> <g8thgh$84n$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!newshub.sdsu.edu!headwall.stanford.edu!news.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 43 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.stanford.edu 1219648779 12487 171.64.19.147 (25 Aug 2008 X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:pb9LoAaxJhlUOChgy786mGCJIwc=