Article View: news.software.nntp
Article #64658Re: Standardization of LIST OVERVIEW.FMT
From: Russ Allbery
Date: Wed, 02 Apr 2003 06:40
Date: Wed, 02 Apr 2003 06:40
170 lines
10079 bytes
10079 bytes
Curt Welch <curt@kcwc.com> writes:
> Russ Allbery <rra@stanford.edu> wrote:
>> <ftp://ftp.isi.edu/internet-drafts/draft-ietf-nntpext-base-17.txt> is
>> the latest official version.
>> <http://www.davros.org/nntp-texts/draft18.pre-2.txt> is the latest
>> working draft.
> Ok, great, I'll try to make myself find the time to read them...
Any comments are very welcome. My currently vague intention (which I'd
not mentioned before, and therefore hadn't yet run by the group) was to
post the entire draft here, section by section, once we go to external
last call, just to give people a last chance to read everything over and
yell if there's anything glaring that's wrong.
But any feedback that we can get before then is even more useful, since we
can still easily change things.
> Ok, that sounds resonable. I'll have to look them over and see how they
> link together. Does the new stanrd reference 2980 for example?
Not currently. An informational reference is probably a good idea. I'll
pass that along.
> The problems I've seen in the past are programmers picking up an RFC and
> finding out that the RFC is almost useless as a guide for writting NNTP
> software because it failes to come close describing the real world.
> An "NNTP" standard that doesn't even mention XOVER for example is
> useless as a stand-alone NNTP programming guide.
You're going to make me reveal my secret plans. *grin*
It's been my intention for a while to write an NNTP programming guide.
Or, to be more accurate, it's been my intention to start an NNTP
programming guide and try to get you folks to help me finish it. :) But
I want to start from something that isn't a moving target, and I want to
use the infrastructure of a format for command descriptions and
definitions of basic concepts that we're establishing in the new NNTP
standard, so I wasn't going to start until it's finished.
I don't think that the RFC series is generally the right place to put such
a guide (for one thing, I think it needs to be extensively hyperlinked),
and I definitely don't think that a standards-track RFC is the right place
to put such a thing. A real stand-alone programming guide is going to be
informational, if for no other reason than that it's going to contain a
lot of stuff like "you want to do this for legacy reasons" that totally
doesn't belong in a standards-track document.
My goal right now is to publish an authoritative standard that describes
the core of NNTP in an extremely precise way, and which can be used as a
foundation to standardize the common extensions to NNTP (coming shortly
after the base document will be TLS and authentication, including a
standard for using SASL via NNTP, and hopefully following closely on the
heels of those documents will be a standardization of the MODE STREAM
extension). This isn't going to substitute for a programming guide,
since it's not going to mention things like XOVER or the like that are
explicitly non-standard, since after all it's going to be a standard. It
also won't cover things like XPAT that were too hairy to standardize.
Something else to bear in mind here is that my experience with the IETF
process is that it's much easier and faster to publish a sequence of small
documents than a single omnibus one-stop-shop. While the latter is easier
for a programmer to deal with, more often than not it simply leads to no
standard ever being published at all, since the larger the document, the
longer it gets nit-picked and bogged down in details and nothing actually
ever makes it out the door.
So I don't think a standard will or can provide what you're looking for,
but I *do* think that we can build what you're looking for on *top* of a
standard, and it's my intention to do that.
> The tendency to allow the RFCs to live in a fantasy world of what "NNTP
> should be like" is of little value to the community.
I think you'll be generally happy with this RFC in that department; we put
a lot of effort into making it reflect the real world, not some idealized
world. The two places where you may not be happy are those areas where we
are explicitly not permitted to standardize existing practice (that's what
the X in front of XOVER *means*, after all). OVER and HDR are new
commands with new specifications that bear a remarkable resemblence to
XOVER and XHDR, but which are not precisely the same thing.
My expectation is that most software will continue to implement both this
standard and RFC 2980 for at least five years after this standard is
published, but eventually XOVER and XHDR will go the way of XTHREAD, MODE
XREADER, and various other earlier non-standardized stuff.
If we, as a community, had been more on the ball about doing the work
needed to publish a new standard faster, XOVER wouldn't have been
entrenched. We can avoid that problem going forward, but unfortunately
not going backwards.
> At the same time however, it seems to me that it would be extreamly
> useful to make it clear which parts of the new standard were truely new
> (like OVER), and would not work on many servers, and which parts were
> old, and should work on most if not every server.
There will definitely be a prefix laying out those sorts of things. I
don't know that we have enough language in there about that now, but it's
something that I want to look at for the final document.
> Yeah, my server transforms multiple spaces down to a single space in
> XOVER content just because it seemed like a resonable thing to do. And
> for single-server newsreaders, it probably is a reasonable thing to do.
> But for multiple-server newsreaders that are trying to match subjects
> acrosss servers using only XOVER data, this can cause issues. You
> really want the transformation preciscely specified.
FYI, here's what the transformation is specified as currently:
For all fields, the value is processed by first removing all US-ASCII
CRLF pairs and then replacing each remaining US-ASCII NUL, TAB, CR,
or LF character with a single US-ASCII space (for example, CR LF LF
TAB will become two spaces).
We went back and forth on the exact transformation quite a bit, and agreed
on this one even though there wasn't a clear winner among existing
practice because it most closely matches the intended semantics of folded
header fields per RFC 2822.
> One one end of the scale, if there is no client in the world that cares
> what LIST OVERVIEW.FMT produces, the command should be dropped from the
> standard.
True. Unfortunately not the case, given the responses that I've received
so far. However, no one has indicated yet that they use LIST OVERVIEW.FMT
for anything other than either (a) detecting whether XOVER will work, and
(b) detecting whether Xref is in overview, so we've at least limited the
range of uses.
> A client could make the assumption that the overview.fmt output was the
> defintion of what every xover record contained and pre-define various
> things about the "server" based on that information. For example, it
> could initilize a local header database to hold those, and only those
> headers (and not provide any system for changing the databse without
> deleting the server and re-adding it later).
So, one of the issues here in practice is the one pointed out in my
original posting, namely that with existing servers with which I'm
familiar (INN at the very least, and I believe also C News), changes to
overview.fmt on the server do not apply retroactively to existing
articles, only to new articles going forward. This means that in practice
the client can't actually do this and trust it (although maybe clients
would just ignore that).
> A GUI could provde user-selectable header fields per group to allow the
> user to decide what headers to display in the article list and which not
> to display. The menus which drive that could be based on overview.fmt
> data and not based on what xover was actaully returning. So, if xover
> doesn't return a NNTP-Posting-Host: field but it was listed in the
> overview.fmt, the newsreader (and user) would make the assumption that
> the article did not contain that header when in fact, the overview.fmt
> just happened to change over time and the newsreader never noticed it.
We all agreed that this would be a useful sort of assertion to be able to
make, but given that the contents of the overview database can change
without warning, it's not clear to me how you can actually arrive at that
conclusion conclusively based on LIST OVERVIEW.FMT.
Anyway, what you describe is what I'm trying to do with this thread.
--
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:
<yl4r5h4d2g.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-mailReferences:
<ylhe9j13ly.fsf@windlord.stanford.edu> <20030401000349.361$y1@newsreader.com> <ylk7eeyex4.fsf@windlord.stanford.edu> <20030401162641.836$2c@newsreader.com>Show Full Headers
Complete Article Headers
Message-ID: <yl4r5h4d2g.fsf@windlord.stanford.edu> Subject: Re: Standardization of LIST OVERVIEW.FMT Date: Tue, 01 Apr 2003 22:40:23 -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> 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: 169 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 1049265623 26867 171.64.13.23 (2 Apr 2003 06:40:23 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:w5CNYVv71+UpsQjxAb/YdGqbQ3I=