πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #79932

Re: Initial greeting on mode-switching servers

#79932
From: Russ Allbery
Date: Wed, 24 Dec 2008 23:55
34 lines
2801 bytes
Julien Γ‰LIE <iulius@nom-de-mon-site.com.invalid> writes:

> The problem here was the fact that the client could receive both 200 and
> 201 during the same connection.  innd sends 200 and in response to MODE
> READER, nnrpd sends 201.  It looks as though innd were violating that
> MUST:  "If the server will accept further commands from the client, but
> the client is not authorized to post articles using the POST command,
> the server MUST present a 201 greeting code."

> The mention "Note that the response need not be the same as that
> presented during the initial greeting." is weird with the previous MUST.

Yeah.  The intention was to make this situation okay, so that you can give
the client a 200 response and then a 201 (or for that matter a 201 and
then a 200, but I bet that would confuse some clients).

>> It remains to be seen if returning 201 will cause remote clients to
>> think that IHAVE is not permitted.  I hope not.  If so, we may have a
>> deeper problem.
>
> Remote clients should use CAPABILITIES :->
>
> I do not know whether they think that.  I hope they directly try the
> command and see if they obtain the expected answer.  (By the way, I have
> just checked for innfeed and its behaviour is similar between 200 and
> 201.)

I'd say try it and then see if anyone runs into trouble.

-- 
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: <87abalw2l0.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!border2.nntp.ams.giganews.com!nntp.giganews.com!feeder6.cambrium.nl!feeder5.cambrium.nl!82.197.196.119.MISMATCH!feeder8.cambrium.nl!feed.tweaknews.nl!193.201.147.68.MISMATCH!feeder.news-service.com!newshub.sdsu.edu!newsfeed.stanford.edu!news.stanford.edu!not-for-mail
References: <git6do$f2f$1@news.trigofacile.com> <87bpv12oo8.fsf@windlord.stanford.edu> <giuh2d$ga1$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <87abalw2l0.fsf@windlord.stanford.edu>
Subject: Re: Initial greeting on mode-switching servers
Date: Wed, 24 Dec 2008 15:55:23 -0800
From: Russ Allbery <rra@stanford.edu>
References: <git6do$f2f$1@news.trigofacile.com> <87bpv12oo8.fsf@windlord.stanford.edu> <giuh2d$ga1$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!border2.nntp.ams.giganews.com!nntp.giganews.com!feeder6.cambrium.nl!feeder5.cambrium.nl!82.197.196.119.MISMATCH!feeder8.cambrium.nl!feed.tweaknews.nl!193.201.147.68.MISMATCH!feeder.news-service.com!newshub.sdsu.edu!newsfeed.stanford.edu!news.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 34
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 1230162923 24229 171.67.225.134 (24 Dec 2008
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)
Cancel-Lock: sha1:C+wZP0AgVqaqR2FXQLG+MtApfVE=