🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #66906

Re: New NNTP draft -- Section 5

#66906
From: Russ Allbery
Date: Tue, 21 Oct 2003 17:06
28 lines
2851 bytes
Dirk Nimmich <nimmich@muenster.de> writes:

> Given the explanations of both of you, there is no real difference in
> treating 200 or 201. If the client receives a 200 it always has to find
> out using the POST command whether it is allowed to post or not (Russ'
> way).

Or it just proceeds, assuming that it can authenticate, and if POST
returns 480 it does authentication on the fly right away.  I think that's
what most news readers do.

> Tin, BTW, looks at the greeting response code and turns posting off when
> receiving a 201. But it corrects this after authentication and looking
> at the response code of a following MODE READER. So if your server sends
> 201 initially and only asks for authentication after issueing a POST
> command, you have to authenticate in advance because otherwise tin
> doesn't enable the keys to post.

Right, which breaks authentication on the fly in response to actually
posting and is a good reason to return 200 if the user is going to be able
to post after authentication (or the server at least thinks that's
possible).

-- 
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: <877k2y8qqv.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.20140818.mbox.gz!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!in.100proofnews.com!in.100proofnews.com!cox.net!news-xfer.cox.net!logbridge.uoregon.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
References: <87fzhryxdc.fsf@windlord.stanford.edu> <871xta1bbb.fsf@windlord.stanford.edu> <874qy3hnhl.fsf_-_@windlord.stanford.edu> <Xns941AB877861BAgrahamdrabblelineone@ID-77355.user.dfncis.de> <87ekx7g6tb.fsf@windlord.stanford.edu> <Xns941AE6F6CF380grahamdrabblelineone@ID-77355.user.dfncis.de> <87ptgredpn.fsf@windlord.stanford.edu> <Xns941B5A6B14E1grahamdrabblelineone@ID-77355.user.dfncis.de> <87d6creadp.fsf@windlord.stanford.edu> <bn39h2$ksa$02$1@news.t-online.com>

Show Full Headers
Complete Article Headers
Message-ID: <877k2y8qqv.fsf@windlord.stanford.edu>
Subject: Re: New NNTP draft -- Section 5
Date: Tue, 21 Oct 2003 10:06:32 -0700
From: Russ Allbery <rra@stanford.edu>
References: <87fzhryxdc.fsf@windlord.stanford.edu> <871xta1bbb.fsf@windlord.stanford.edu> <874qy3hnhl.fsf_-_@windlord.stanford.edu> <Xns941AB877861BAgrahamdrabblelineone@ID-77355.user.dfncis.de> <87ekx7g6tb.fsf@windlord.stanford.edu> <Xns941AE6F6CF380grahamdrabblelineone@ID-77355.user.dfncis.de> <87ptgredpn.fsf@windlord.stanford.edu> <Xns941B5A6B14E1grahamdrabblelineone@ID-77355.user.dfncis.de> <87d6creadp.fsf@windlord.stanford.edu> <bn39h2$ksa$02$1@news.t-online.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.20140818.mbox.gz!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!in.100proofnews.com!in.100proofnews.com!cox.net!news-xfer.cox.net!logbridge.uoregon.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 28
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1066755992 11578 171.64.19.147 (21 Oct 2003
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Common Lisp, linux)
Cancel-Lock: sha1:DwsbgtQDQFndwTvbNnZKqJOrymE=