🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #11137

Re: Netscape and Win/NT vs. NNTP

#11137
From: Joe Greco
Date: Wed, 25 Sep 1996 00:00
133 lines
6232 bytes
In news.software.nntp article <3241A571.28EB@netscape.com>, Ben Polk <bpolk@netscape.com> wrote:
:But when you say "It's still wrong", are you expressing an 
:opinion?  Or observing that this behaviour violates the standard?  
:Can you be more specific about why you don't like it?

It breaks the NNTP paradigm: you connect and fetch lots of articles.
The paradigm is NOT "you connect lots of times".  That should be
an implicit understanding to anyone who reads 977, since there is
obviously a lot of attention paid to newsreading in a session oriented
manner.

:The only violation of 977 I can see is the failure to send the 
:QUIT command in these cases.  I think that what has really been
:screwing servers over isn't this fairly rare termination of 
:connections, but a very nasty Navigator bug on NT that causes
:it to go berserk and initiate and terminate lots of connections.
:That's a bug, not a plot to subvert RFC 977.  

Still, the dropping of connections for convenience sake is...
not desirable.

:(FYI, I know that Navigator 3.0 is much better about the behaviour 
:of starting and terminating connections quickly.  Try holding
:the down the down-arrow in the thread pane.  It scrolls rapidly
:down the list of articles without trying to read them, until you
:stop scrolling.)  

Glad't'hear it.

:Christopher B. Browne in another post pointed out that the client
:should queue up QUIT commands, rather than simply dropping the
:TCP/IP command.  That might bring Navigator up to the letter of
:the 977 law, but I'm not sure it is really that great of an
:idea.  Whatever operation the client was attempting to terminate 
:will continue.  Why not close the connection, and let the server
:detect that the session is dead when the send fails?  This will
:save servers work.  Severs must handle this case gracefully 
:anyway, because connections do sometimes get terminated 
:unexpectedly.

Cars must handle car crashes in as graceful a manner as possible
as well.  My car has seat belts and air bags.  Would you like to
participate in a test crash?

"Needs to be able to handle" and "must handle as a routine matter"
are two different things.

:Is it right for someone dialed in on a 14.4 modem that lands 
:on a 1MB article to be locked up for the two minutes it's going
:to take to receive the results of the ARTICLE command?  That 
:sounds "wrong" to me.  

Why, that sounds like an NNTP protocol deficiency ...  and I
would strongly agree that it is!  Still, I do not see how that
constitutes an excuse to unilaterally drop connections.

:Perhaps we need a way that clients can request pieces of 
:articles, so that they don't have to initiate operations 
:that will take so long.  If you could break thing up into 
:operations that would only take a few seconds there'd be 
:much less need to terminate connections.

Absolutely!

:Another possibilty is to use TCP/IP OOB data to cancel an
:operation.  I'm afraid that the TCP/IP implementations of
:urgent data are not reliable enough to do this.

Not an option at all, in my opinion.  The protocol itself
should be redesigned to deal with the problem.

:Or we could have some other way for the client to tell the
:server to teminate the connection.  For example, have the
:client make it's second connection, and send a new NNTP
:command that includes the IP address and port of the 
:connection to be terminated.  The server then aborts 
:whatever operation is going there. 

That is difficult...  particularly in a multiple machine
environment, even if you do pass complete information about
the link.  Think about what happens on a multiuser UNIX machine
where a hundred people are using trn and some jackass does a
"netstat" and goes on a termination rampage.

:Or we could abandon NNTP as a newsreading protocol

Has LOTS of possibilities :-)

:and switch over to using IMAP4 as the client protocol, and 
:leave NNTP for replication.  This has some advantages.
:IMAP4 solves the problem we're discussing here.  IMAP4 
:addresses internationalization issues.  If we did this 
:the news world would never be behind the mail world in 
:the type of messages that could be handled.

This is probably the best solution.  I don't know about IMAP4,
but if it is sufficiently researched, maybe there is a solution
down this road.

:Or we could simply agree that it is OK for a client to 
:sometimes terminate a connection at user request.  Perhaps
:the agreement should include some limit on how freqently
:this can be done.  This is what I favor for now.

In the short term, this may be the only thing to do.  Quite
frankly: it sucks.

On the other hand, there is a need.  I understand Netscape's
desire for a "better" solution and I do agree that there is
currently no "better" solution, beyond sitting on the socket
and discarding all the remaining data - which is a bandwidth
penalty.

However...

Those of us who are supporting moderately large scale news
operations are going to start taking steps to enforce "good
behavior" regardless, and I would be disappointed if
Netscape or any other reader did not take this into account.

The resources to run news servers are not limitless, and
basically readers have to take that into account.

:We want to do the right thing, both for clients and
:servers.  And we're more than willing to discuss these 
:issues with anyone that's interested.

Keep talking :-)

... JG

Technical Details
Message-ID: <52bifq$7s2@brasil.moneng.mei.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: <32407EB0.2DE0@netscape.com> <51rftd$3m1@evil-smelling-bugger.acme.gen.nz> <3241A571.28EB@netscape.com>

Show Full Headers
Complete Article Headers
Message-ID: <52bifq$7s2@brasil.moneng.mei.com>
Subject: Re: Netscape and Win/NT vs. NNTP
Date: Wed, 25 Sep 1996 00:00:00 +0000
From: jgreco@brasil.moneng.mei.com (Joe Greco)
References: <32407EB0.2DE0@netscape.com> <51rftd$3m1@evil-smelling-bugger.acme.gen.nz> <3241A571.28EB@netscape.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: 185265402
Distribution: inet
Organization: Marquette Electronics, Inc. - Milwaukee, WI.
Newsgroups: news.software.nntp,news.software.readers