🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #44557

Re: Batched ARTICLE commands

#44557
From: Curt Welch
Date: Sun, 27 Feb 2000 00:00
145 lines
7904 bytes
Brad Knowles <brad@shub-internet.org> wrote:
> In article <20000226153651.615$gx@newsreader.com>, curt@kcwc.com (Curt
> Welch) wrote:
>
> > MODE READER does cause a state change in inn.  But it DOES NOT cause a
> > protocol state change in the official definition of the protocol.
> >
> > MODE READER has been added to the latest RFC, but it's listed
> > as a command which a client MAY send at any time.  There is nothing in
> > the RFC about the server changing states at that time.
>
>     If it's specific to INN (where it causes a state change), and is
> entirely optional on the part of the client, then since INN is the
> reason that it exists at all (since it needs that state change), then
> the definition automatically follows -- MODE READER causes a state
> change when issued, because this is how the command operates in the
> program for which this was added to the protocol.
>
>     Otherwise MODE READER has no reason to exist.

I'm not where you are going here.  But I think you are trying to prove
that the MODE READER does cause a state change?

When talking to innd, it causes a state change (if allowed I think).  When
talking to nnrpd, it's a no-op, as it is in probably every other server
written which implements the command.

In the RFC, it DOES NOT cuase a state change.  The RFC is NOT the real
world.  It's very important to understand that when we (I) talk about
the world of the RFC, I'm not talking about the real world.  These are
two very different places.

You can not "prove" that MODE READER causes a state change in the RFC
by brining inn's behavior into the debate.

As I said before, INN is not the RFC.  It's not "the" standard. Though
it is "a" standard.

> > It's important for clients to wait for the return call from MODE READER
> > not because it changes state, but because inn has a known bug where
> > it may end up droping characters sent after the MODE command but before
> > the response.  This is very different from the optional protocol state
> > changes (from command mode to data input mode) that occure with IHAVE
> > and POST.  The first is a real-world inn bug issue, the second are
> > valid official NNTP protocol issues.
>
>     It wouldn't be in the standard at all if INN didn't need it, and
> since INN functions this way, the standard needs to reflect this fact.

NO NO NO.  It doesn't.  The RFC only needs to specify enough so that people
writing code which is complient to the RFC, will function correctly with
inn.  And to reach that goal, you do not have to drag all of INNs problems
into the spec.

> In this case, INN defines the "standard" from which this is taken.

True, but INNs standard doesn't have to become "the" standard just
to make this all work.  What I'm saying, is that this whole state
change business of innd vs nnrpd that INN does does not belong
in the standard - and does not need to be there to "fix" this problem.

My server for example changes states based on the current authorization
of the client.  It might have reading or feeding permission or both.
On my server MODE READER is a no-op.  If the client is authorized to
do both, he can swtich back and forth between reading and feeding
as much as he wanted durring the session.

If the "INN" standard become THE RFC, then when the client sent a
MODE READER, it would swtich to "reader commands only" mode (like INN
does). And like inn, once you are in that mode, there is no way
to return to "MODE FEED" (something I'm just now making up).

Why would I want to criple my server like this just so it could be
compatible with inn?  Why would the writers of the RFC want to force
all the other servers to be broken just like inn is?

>     There's no sense adding support for M-16 assault weapons if you're
> going to turn around and disallow people from using 5.56Nato ammunition.
>
> > Well, no.  The first is a clear violation of the RFC.  The second
> > isn't. So you are saying a client which follows the RFC is broken in a
> > worse way than a server which does't follow the RFC?
>
>     Either you write the RFC to describe how the ideal world works and
> you expect everyone to live up to it, or you write the RFC to describe
> how the real world works and what people need to do in order to cope
> with it

Yeah, this is what bothers me a bit about the NNTP standard.  It tends
to be a bit too much of a fairy tale world.  It needs to be brought
down a bit closer to the real world.

> > Note I say SHOULD NOT, because servers MUST accept pipelining
> > everywhere in my opinion - servers that can't, like inn, are broken,
> > and should be fixed (or shout just remain broken and not care about
> > it).
>
>     In your opinion.  Very key words.

Hey, I use lots of CAPS and _UNDERLINES_.  Dosn't that make it strong? :)

> The standard as written is
> actually completely silent on this issue, you are adding your own
> interpretation to create this otherwise non-existant issue.

Well, I think it's not silent at all about the issue becuse of the
fact it brings in TCP/IP, but no one else seems to thing that's
important.

For those of you who don't see the TCP/IP foundation as clear evidence
that it requires pipelining, then sure, all I say is meaningless on
that issue.

>     I happen to agree with you that clients and servers both should
> support pipelining everywhere that it is possible, but there are some
> places where making this simplistic assumption simply won't work (for
> practical reasons),

The _ONLY_ (strong words eh?) practical reason is the fact that inn is
so wide spread.  It's not a practical issue in the techincal sense at
all.  INNs split process model is just the wrong way to build an NNTP
server on a Unix box.  No one else that I know of has made that mistake
since.

> and so long as the RFC is pointedly silent on this
> issue, it doesn't make any sense railing against the wind.

Or as I see it:

Since everyone else is to blind to see that the RFC isn't silent on
this issue, I might as well not waste my breath :)....

>     If you really feel this strongly about it, I suggest you get to work
> on starting to define how a proper wall is built and then to actually
> start building it -- get involved in USEFOR and the drafting of the
> upcoming standard.

USEFOR burned me out real fast.  This is the NNTP RFC, not USEFOR thank
god.

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

Technical Details
Message-ID: <20000226203444.497$we@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> <bill-2602001142340001@192.168.254.8> <20000226153651.615$gx@newsreader.com> <brad-BF67F9.01345427022000@news.skynet.be>

Show Full Headers
Complete Article Headers
Message-ID: <20000226203444.497$we@newsreader.com>
Subject: Re: Batched ARTICLE commands
Date: Sun, 27 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> <bill-2602001142340001@192.168.254.8> <20000226153651.615$gx@newsreader.com> <brad-BF67F9.01345427022000@news.skynet.be>
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: 590453309
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