🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #79930

Re: Initial greeting on mode-switching servers

#79930
From: Julien ÉLIE
Date: Wed, 24 Dec 2008 23:36
52 lines
3312 bytes
Hi Russ,

> I think this is a variation of a similar issue to the one that we
> discussed earlier (although I can't find a reference for sure).

Yes, it is a variation.  We spoke about how AUTHINFO and dynamic filters
may have an impact upon 200/201.
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.


> If the
> server isn't sure whether the client will be able to post or not, it has
> to return 200.

It is what we did with nnrpd:  200 is sent if the user can post or (can
authenticate and at least one access realm to which he has access contains
a Perl or Python access script, or a Python dynamic script, or a list
of newsgroups in post: or newsgroups:).


> So I think innd has to return 201 if noreaders is set and 200 otherwise.

All right.
Easier than nnrpd :)


> 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.)

-- 
Julien ÉLIE

« Cinq millions et demi de conducteurs français
  ont une mauvaise vue. Heureusement, leur nombre diminue
  de jour en jour. » (Coluche)
Technical Details
Message-ID: <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!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.straub-nv.de!proxad.net!feeder1-2.proxad.net!fdn.fr!gegeweb.org!news.trigofacile.com!not-for-mail
References: <git6do$f2f$1@news.trigofacile.com> <87bpv12oo8.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <giuh2d$ga1$1@news.trigofacile.com>
Subject: Re: Initial greeting on mode-switching servers
Date: Thu, 25 Dec 2008 00:36:32 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <git6do$f2f$1@news.trigofacile.com> <87bpv12oo8.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!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.straub-nv.de!proxad.net!feeder1-2.proxad.net!fdn.fr!gegeweb.org!news.trigofacile.com!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Lines: 52
NNTP-Posting-Host: amontpellier-152-1-46-104.w81-251.abo.wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
 reply-type=original
Content-Transfer-Encoding: 8bit
X-Trace: news.trigofacile.com 1230161806 16705 81.251.63.104 (24 Dec 2008
X-Complaints-To: abuse@trigofacile.com
NNTP-Posting-Date: Wed, 24 Dec 2008 23:36:46 +0000 (UTC)
In-Reply-To: <87bpv12oo8.fsf@windlord.stanford.edu>
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049
X-Original-Bytes: 3122