🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #44604

Re: Batched ARTICLE commands

#44604
From: Curt Welch
Date: Mon, 28 Feb 2000 00:00
65 lines
4148 bytes
bhkraft@gj.net (Brian Kraft) wrote:
> Andrew Gierth wrote:
>
> >The implication of the examples in the draft is that "ARTICLE <id>"
> >should fail with 430, and "ARTICLE nnn" should fail with 423.

> "423 no such article number in this group" doesn't seem to fit a
> storage server situation where [nnn] still exists on a reader server
> that is unable to retrieve the body from some other machine.
>
> Also, would someone tell me what they think of this response:

> 430 Expired on upstream machine (423 No Such Article In Group  )

The problem is that the RFC doesn't tell you which you should return
when, so people either guess, or try to copy what some other server
does.  And now we have multiple servers returning differnt things.  The
newest draft RFC does imply what Andrew said above however. That
423 is used when you request an article by number, and 430 is what
you get when you request it by Message-ID.

I think that might match what INN does.

> That's verbatim from the client's log.  It's returned by a DNews
> server which is setup for header only sucking of binaries groups.
> The response is to ARTICLE or BODY [nnn] for any article number,

I'm guessing DNEWS is the one which is "the most" non standard
here.  It should return 423 if the fetch was by number.

I know for a fact that (at least one version of) INN will return 423 for a
fetch by number of a canceled article.

> canceled or out of range, that doesn't exist in the reader server's
> list of articles.  What the upstream server said is put in parentheses
> to help resolve problems.  For the same article, HEAD [nnn] returns:
> 423 no such article number in this group

That's bogus.  HEAD and BODY should return the same code for the same
error.  The RFC doesn't say that it should, but it's bogus none the
less.

I'm sure most newsreadsers however treat 423 and 430 as equivilant
ways of saying "The articles not available", and that's why DNEWS can
get away with returning something differnt than diablo.

Checking my newsreaders, I found an old one I wrote (using INN as
the reference system), only ever checked for the 423 value.  And
I also find I "fixed" it later to also check for 430 because
of "my" server --- which is doing the same thing as DNEWS is doing!

So, I think what Andrew said above is what we should all be returning
and what my server is doing and what DNEWS is doing is wrong.  Mine
will be fixed in few minutes :)....

> Is this setup so different from a Diablo's storage server, so that the
> 423 response is correct for Diablo, while 430 is correct for DNews?

It just shows the weakness of the NNTP RFC.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Technical Details
Message-ID: <20000228034518.244$YM@newsreader.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.mbox.zip!not-for-mail
References: <220220000104304154%planb@newsreaders.com> <240220000054115493%planb@newsreaders.com> <20000225004139.313$nK@newsreader.com> <250220001158002643%planb@newsreaders.com> <20000225125610.123$Ow@newsreader.com> <yl6itzdjb0r.fsf@independence.ecn.ou.edu> <20000225162640.211$2M@newsreader.com> <87n1opgdej.fsf@erlenstar.demon.co.uk> <20000225180328.114$Ys@newsreader.com> <87zosog8kl.fsf@erlenstar.demon.co.uk> <20000225234216.661$0Y@newsreader.com> <8766vbg47q.fsf@erlenstar.demon.co.uk> <20000226160741.777$zY@newsreader.com> <87u2ivbn30.fsf@erlenstar.demon.co.uk> <20000228011357.044$re@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <20000228034518.244$YM@newsreader.com>
Subject: Re: Batched ARTICLE commands
Date: Mon, 28 Feb 2000 00:00:00 +0000
From: curt@kcwc.com (Curt Welch)
References: <220220000104304154%planb@newsreaders.com> <240220000054115493%planb@newsreaders.com> <20000225004139.313$nK@newsreader.com> <250220001158002643%planb@newsreaders.com> <20000225125610.123$Ow@newsreader.com> <yl6itzdjb0r.fsf@independence.ecn.ou.edu> <20000225162640.211$2M@newsreader.com> <87n1opgdej.fsf@erlenstar.demon.co.uk> <20000225180328.114$Ys@newsreader.com> <87zosog8kl.fsf@erlenstar.demon.co.uk> <20000225234216.661$0Y@newsreader.com> <8766vbg47q.fsf@erlenstar.demon.co.uk> <20000226160741.777$zY@newsreader.com> <87u2ivbn30.fsf@erlenstar.demon.co.uk> <20000228011357.044$re@newsreader.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.mbox.zip!not-for-mail
X-Deja-AN: 590764567
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5 %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-User: Curt@NewsReader.Com
Organization: NewsReader.Com
X-Url: http://CurtWelch.Com/
Newsgroups: news.software.nntp