🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #11018

Re: Netscape and Win/NT vs. NNTP

#11018
From: Christopher B. Browne
Date: Fri, 20 Sep 1996 00:00
74 lines
4149 bytes
In article <3241A571.28EB@netscape.com>, Ben Polk wrote:
>Craig Harding wrote:
>
>> Big deal. They may have agonised for months over the decision.
>> It's still wrong, and makes Navigator a broken NNTP newsreading
>> implementation. How very... *Netscape* of them.
>
>I admit to ambiguous feelings on this issue.  I work on servers,
>and life for servers would certainly be easier without this
>client behaviour.

If the overall system doesn't work, then *it's broken.*  The apparent
user-friendliness of the clients *doesn't matter.*  If the clients function
in a server-abusive fashion, then the system will work badly.

>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.

I said that it would be *better* if it *at least* queued up QUIT commands.

I also suggested that it might be an idea to *also* limit the number of
connections.  This in effect throws the problem back into the faces of those
that develop client software.

The real problem here is that the server has no way to instantly conclude
that the TCP connection has been discarded.  It is likely that those dead
connections are sticking around for a couple of minutes, which is a fairly
appropriate policy *in general* for TCP services.

It might be more appropriate to drop UDP connections; there is the contract
of reliability there.

>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.

1MB is a clear cut case.  It makes sense to drop the connection in that
case.  For the one article.  Doing this in alt.binaries.tasteless.pictures,
where this could occur 50 times, is nonetheless abusive.

>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. 

Wonderful.  I'll run telnet sessions on port 119 that will kill other users
sessions.  We replace one denial of service "attack" with another far more
explicit way to do denial of service attacks.

>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.

This has the possibility of hanging the client, you realize.
-- 
Christopher B. Browne, cbbrowne@unicomp.net, chris_browne@sdt.com
Web: http://www.conline.com/~cbbrowne  SAP Basis Consultant, UNIX Guy
Windows NT - How to make a 100 MIPS Linux workstation perform like an 8 MHz 286


Technical Details
Message-ID: <slrn545632.a93.cbbrowne@wolfe.brownes.org>
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: <slrn545632.a93.cbbrowne@wolfe.brownes.org>
Subject: Re: Netscape and Win/NT vs. NNTP
Date: Fri, 20 Sep 1996 00:00:00 +0000
From: cbbrowne@wolfe.brownes.org (Christopher B. Browne)
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: 184183426
Distribution: inet
Organization: UniComp Technologies International Corp -- Internet Service
Reply-to: cbbrowne@unicomp.net
Newsgroups: news.software.nntp,news.software.readers