🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #64746

Re: Standardization of LIST OVERVIEW.FMT

#64746
From: Russ Allbery
Date: Fri, 04 Apr 2003 03:52
105 lines
6313 bytes
Curt Welch <curt@kcwc.com> writes:

> I want all the servers to do it the same way so we don't have the
> current problem of half the servers in the world rejecting an article
> and the other half supporting it on Usenet.

I don't see how it's possible to avoid this unless one mandates that every
server accept everything that it's sent, since if there are any limits at
all on what sort of trash one's server accepts, someone will relax those
limits and accept trash anyway.

So I'm not really interested in trying to fight that battle; I don't
believe it to be winnable.

> The above article with the missing space does "parse" on my server and
> some others, but it doesn't parse on all servers I suspect.

> The point of a standard is to prevent just this type of confusion.

The standard is already explicit about that article being invalid.  You're
already accepting it.  So how would being explicit about it being invalid
help?

The standard is already very explicit about valid message IDs.  Lots of
servers just ignore that because it's easier to accept anything than to
properly parse them.

If you're advocating that the standard explicitly say that all invalid
messages must be rejected, I don't see how that's a permissible thing for
a standard to say.  Standards only specify a protocol.  The most that they
can say is that such articles can't be returned by the ARTICLE command
without violating the protocol.  What to do with an article after it's
submitted via IHAVE is entirely a local software matter; the protocol
can't say anything about that any more than the SMTP protocol can say what
mail is and is not rejected by a server.

> It would be nice if the content of the article could be separated from
> the NNTP protocol so the issue of how an NNTP server responds to content
> could be dealt with at a different level.  But, we have this well
> estabished problem of the protocol supporting the XOVER and XHDR like
> commands which require that the protocol code understand how to find a
> "subject" in the bytestream of an article.

Well, no, it doesn't.  It requires that the server do so, but that process
is entirely outside the scope of the NNTP standard itself.  I think this
issue is already pretty well-handled by our current draft; there are
various things like this that are explicitly deferred to other standards
or left to the internal operation of the server.

> Not really.  Does the NNTP protocol not specify how a server should
> respond to a invalid NNTP command?

That's correct.  Otherwise, you could never define a local extension that
uses a new NNTP command.

The NNTP protocol provides a way for the server to indicate that a command
is invalid.  That's not the same thing.  Similarly, the NNTP protocol
provides a way of rejecting an article offered by IHAVE.  It doesn't
specify when that return code must be used.

>> I don't want to put into a standard that you have to reject a message
>> for such a reason.  You may not want to do so, and it doesn't matter
>> from a protocol standpoint if you reject it or not.

> Ah, but it does because if you accept it, it's implied that you can then
> do an OVER command on the article.

No, this is not implied anywhere in the NNTP standard, and in fact the
opposite is explicitly stated.  Just because a server accepts an article
doesn't mean that it makes it available to readers.

> I'm not sure this is really all that important, but what I'm getting at
> here is that a lot of this level of semantic detail has been left
> undefined in Usenet standards in the past

No, it's not.

The semantic detail is very explicitly present in the existing standard.
What you appear to be arguing is that the *error handling* has been left
undefined in the Usenet standards of the past.  *That's* correct, and is
correct in almost every other Internet protocol as well, because error
handling is a quality of implementation issue outside the scope of the
wire protocol standard.

You're talking about how a server should handle invalid articles.  Whether
or not they're invalid is not in question and never has been.

This is where stuff like "be conservative in what one generates and
liberal in what one accepts" comes in.

> It's the sloppieness of these standards that causes this,

I strongly disagree.  I think it's due to the sloppiness of code that
allows the posting of articles which do not follow the standards and never
have.  :)

Anyway, I don't think that there's really any way for us to make you fully
happy here.  It just goes beyond what you can say in a standard, IMO.

-- 
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: <ylel4ior5z.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
References: <ylhe9j13ly.fsf@windlord.stanford.edu> <20030401000349.361$y1@newsreader.com> <ylk7eeyex4.fsf@windlord.stanford.edu> <20030401162641.836$2c@newsreader.com> <yl4r5h4d2g.fsf@windlord.stanford.edu> <20030402212438.619$bH@newsreader.com> <ylbrzo1f78.fsf@windlord.stanford.edu> <20030402220449.560$Fb@newsreader.com> <ylbrzo8ee7.fsf@windlord.stanford.edu> <20030402225212.984$Db@newsreader.com> <ylhe9g6wzv.fsf@windlord.stanford.edu> <20030403221943.709$xr@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <ylel4ior5z.fsf@windlord.stanford.edu>
Subject: Re: Standardization of LIST OVERVIEW.FMT
Date: Thu, 03 Apr 2003 19:52:24 -0800
From: Russ Allbery <rra@stanford.edu>
References: <ylhe9j13ly.fsf@windlord.stanford.edu> <20030401000349.361$y1@newsreader.com> <ylk7eeyex4.fsf@windlord.stanford.edu> <20030401162641.836$2c@newsreader.com> <yl4r5h4d2g.fsf@windlord.stanford.edu> <20030402212438.619$bH@newsreader.com> <ylbrzo1f78.fsf@windlord.stanford.edu> <20030402220449.560$Fb@newsreader.com> <ylbrzo8ee7.fsf@windlord.stanford.edu> <20030402225212.984$Db@newsreader.com> <ylhe9g6wzv.fsf@windlord.stanford.edu> <20030403221943.709$xr@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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 104
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1049428344 14532 171.64.13.23 (4 Apr 2003 03:52:24 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Portable Code,
 sparc-sun-solaris2.6)
Cancel-Lock: sha1:vkiKsXS+aX0XEqh06I/Fa8eNfBw=