🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
9 messages
9 total messages Started by Jonathan I. Kamens Wed, 04 Nov 1998 00:00
Re: any newsreaders that allow cancelling transfers midway?
#44277
Author: Jonathan I. Kamens
Date: Wed, 04 Nov 1998 00:00
15 lines
1267 bytes
In article <F1uK73.ACs@bechtel.com>,
 jxfaultl@bbechtel.com writes:
|> _pm_@yahoo.com wrote:
|> > Hello, I was wondering if there's a newsreader available for Linux
|> > (preferably one that runs on the console) that lets you cancel an article
|> > transfer and/or a grouplist yank, midway?
|> 
|> Anything that does support this is cheating a little as the NNTP protocol
|> doesn't support mid-transfer aborts.

So what?  Just kill the connection to the server and open a new one.

Followups to news.software.readers.

Re: any newsreaders that allow cancelling transfers midway?
#44144
Author: Greg Berigan
Date: Wed, 04 Nov 1998 00:00
31 lines
2165 bytes
In article <71okin$vhm$1@jik.shore.net>,
jik@kamens.brookline.ma.us (Jonathan I. Kamens) wrote:
>jxfaultl@bbechtel.com writes:
>>_pm_@yahoo.com wrote:

>>> Hello, I was wondering if there's a newsreader available for Linux
>>> (preferably one that runs on the console) that lets you cancel an article
>>> transfer and/or a grouplist yank, midway?

>> Anything that does support this is cheating a little as the NNTP protocol
>> doesn't support mid-transfer aborts.

> So what?  Just kill the connection to the server and open a new one.

That'll piss of your news admin and may get you banned from the server. 
See the reaction when Netscape released software that did this.  Some
servers began blocking IPs when clients dropped connections in the middle
of transfers.

Clue: Just because the client stops receiving doesn't mean the server
stops sending.  Dropping NNTP connections ties up the server.

Followups to news.software.readers and news.software.nntp.

-- 
         ,=<#)-=#  <http://incolor.inetnebr.com/wotw/> (The War of the Worlds)
    ,_--//--_,
 _-~_-(####)-_~-_  "Did you see that Parkins boy's body in the tunnels?" "Just
(#>_--'~--~`--_<#)  the photos.  Worst thing I've ever seen; kid had no face."

Re: any newsreaders that allow cancelling transfers midway?
#44290
Author: Thorfinn
Date: Wed, 04 Nov 1998 00:00
25 lines
1852 bytes
In news.software.readers, on 4 Nov 1998 04:18:31 GMT
Jonathan I. Kamens <jik@kamens.brookline.ma.us> wrote:
>In article <F1uK73.ACs@bechtel.com>,
> jxfaultl@bbechtel.com writes:
>|> _pm_@yahoo.com wrote:
>|> > Hello, I was wondering if there's a newsreader available for Linux
>|> > (preferably one that runs on the console) that lets you cancel an article
>|> > transfer and/or a grouplist yank, midway?
>|> Anything that does support this is cheating a little as the NNTP protocol
>|> doesn't support mid-transfer aborts.
>So what?  Just kill the connection to the server and open a new one.

Slrn supports that, by allowing ctrl-g to interrupt the transfer.

Later,

   Thorfinn

-- 
<a href="http://www.netizen.com.au/people.html">thorfinn@netizen.com.au</a>
The Roman Rule
        The one who says it cannot be done should never interrupt the
        one who is doing it.

Re: any newsreaders that allow cancelling transfers midway?
#44157
Author: Jonathan I. Kamens
Date: Thu, 05 Nov 1998 00:00
14 lines
1341 bytes
In article <gberigan-0411981011000001@lin-pm4-010.inetnebr.com>,
 gberigan@cse.unl.edu (Greg Berigan) writes:
|> Clue: Just because the client stops receiving doesn't mean the server
|> stops sending.  Dropping NNTP connections ties up the server.

Clue: Any TCP server which doesn't notice when the client at the other
end of the socket has gone away is broken.

The kernel tells the server that the client is gone the next time it
tries to read from or write to its socket.  If the server doesn't
handle that error condition properly, then the place to complain to is
the author of the server, not the user of the client.

Re: any newsreaders that allow cancelling transfers midway?
#44161
Author: Greg Berigan
Date: Thu, 05 Nov 1998 00:00
20 lines
1688 bytes
In article <71r5eo$5v8$2@jik.shore.net>,
jik@kamens.brookline.ma.us (Jonathan I. Kamens) wrote:
>gberigan@cse.unl.edu (Greg Berigan) writes:

>> Clue: Just because the client stops receiving doesn't mean the server
>> stops sending.  Dropping NNTP connections ties up the server.

> Clue: Any TCP server which doesn't notice when the client at the other
> end of the socket has gone away is broken.

Observation: every Windows program attempting FTP I've used is broken in
this regard.

-- 
         ,=<#)-=#  <http://incolor.inetnebr.com/wotw/> (The War of the Worlds)
    ,_--//--_,
 _-~_-(####)-_~-_  "Did you see that Parkins boy's body in the tunnels?" "Just
(#>_--'~--~`--_<#)  the photos.  Worst thing I've ever seen; kid had no face."

Re: any newsreaders that allow cancelling transfers midway?
#44167
Author: Matt Dillon
Date: Thu, 05 Nov 1998 00:00
59 lines
3255 bytes
:In article <1rg1bycihr.fsf@haey.ifi.uio.no>,
:Kjetil Torgrim Homme  <kjetilho@haey.ifi.uio.no> wrote:
:>[Greg Berigan]
:>
:>>   That'll piss of your news admin and may get you banned from the
:>>   server.  See the reaction when Netscape released software that did
:>>   this.  Some servers began blocking IPs when clients dropped
:>>   connections in the middle of transfers.
:>
:>But you can blame modem users for wanting the functionality.  It just
:>should be implemented more intelligently.
:>
:>For some servers, the cost of starting a new connection is pretty
:>high.  This is compounded by the cost of the GROUP command on the
:>server side.  (It is now usual to hack INN so that it gives the wrong
:>answer to avoid taking the speed hit of doing it properly.)
:>
:>To alleviate this, I would suggest always using two connections to the
:>server.  One for stateful information, and one for stateless.  I.e.,
:>connection 1 does GROUP and XOVER, while connection 2 does LIST ACTIVE
:>and ARTICLE msgid.  To make XOVER interruptible, the client should
:>chunk it up into several transactions, the size of which can be based
:>on on-the-fly timing.
:>
:>One unfortunate side effect is that it's harder to get readership data
:>for the news admin, since the article reads will not be linked to the
:>group.
:>
:>
:>Kjetil T.

    Blech.  This approach was used with FTP and has caused nothing but
    trouble ever since.

    A better idea would be to support an 'interrupt' NNTP command.  You
    retrieve an article by sending an appropriate 'article' NNTP command,
    and if you want to abort it you send an 'interrupt' command while
    still receiving the article dump. 

    If the server sees (is checking for) the command, and if it determines
    that it is indeed the 'interrupt' command, it cuts the article dump
    short.  The article is still terminated with \r\n.\r\n, of course.
    The server would also have to respond to the 'interrupt' command itself
    in order to handle the interrupt-after-end-of-article race condition.
    No big deal.

    This approach would be backwards compatible.

    Using multiple tcp connections to manage something as simple as 
    interrupting/aborting a download is a huge waste of resources.

						-Matt

-- 
    Matthew Dillon  Engineering, HiWay Technologies, Inc. & BEST Internet
                    Communications
    <dillon@best.net> (Please include original email in any response)

Re: any newsreaders that allow cancelling transfers midway?
#44169
Author: BARRY BOUWSMA IS A PEDOPHILE
Date: Thu, 05 Nov 1998 00:00
20 lines
1662 bytes
On Wed, 4 Nov 1998, Greg Berigan wrote:

> > So what?  Just kill the connection to the server and open a new one.
> 
> That'll piss of your news admin and may get you banned from the server. 
> See the reaction when Netscape released software that did this.  Some
> servers began blocking IPs when clients dropped connections in the middle
> of transfers.

So what crudware reader is it that opens 25 parallel connections (or more
maybe, I didn't look too closely) all at the same time?  I've tracked
down actived tossing its cookies happening pretty much immediately
after getting pounded during periods of high readership by this ...
THING...  In spite of improvements made to better handle repeated
newly-opened connections, even

snarl


Re: any newsreaders that allow cancelling transfers midway?
#44174
Author: BARRY BOUWSMA IS A PEDOPHILE
Date: Thu, 05 Nov 1998 00:00
47 lines
3249 bytes
On 5 Nov 1998, Kjetil Torgrim Homme wrote:

> >   this.  Some servers began blocking IPs when clients dropped
> >   connections in the middle of transfers.
> But you can blame modem users for wanting the functionality.  It just
> should be implemented more intelligently.

Nah, I blame the morons who don't post descriptions or index filez,
or post misleading descriptions, or rename the n00d g1fz to something
people aren't familiar with, and the fscking spammers who try to make
their crap appear to be the copyright violations that people are
looking for.


> To alleviate this, I would suggest always using two connections to the
> server.  One for stateful information, and one for stateless.  I.e.,
> connection 1 does GROUP and XOVER, while connection 2 does LIST ACTIVE
> and ARTICLE msgid.

Isn't this going to add somewhat of a performance penalty in many
cases, for doing the msgid lookup, with a conventional spool?  (some
of us still see too many functional advantages of your traditional
spool to be eager to give them up, in spite of the drawbacks)

If we're running a hacked INN so there's little more than the penalty
of changing the directory upon entering the group, it really is a
trivial matter to retrieve the requested article by article number,
and that appears to be what the bulk of readers out there are doing.

On the other hand, in order to retrieve an article by its message ID,
that requires a history lookup.  In the case of dbz v3, that will
require at least one and probably more hits on the history text file,
which can adversely affect performance.  I haven't looked at exactly
how it's done to see if there are possible optimizations, but I do
know that if one has the resources to use a v6 dbz, it's trivial to
be able to make thousands of dbzexists() calls in just a few milli-
seconds.  And then, once one finds the location of the article, there
is still the penalty of retrieving it, which, for a conventional spool
implies the same changing of the directory as with the GROUP command
(but ideally one will defer this until actually receiving the command
for ARTICLE ###).

I don't know which is more of a performance penalty with various (lack
of) optimizations -- ARTICLE ### or ARTICLE <msg@ID>


Re: any newsreaders that allow cancelling transfers midway?
#44180
Author: Kjetil Torgrim Homme
Date: Thu, 05 Nov 1998 00:00
30 lines
2062 bytes
[Greg Berigan]

>   That'll piss of your news admin and may get you banned from the
>   server.  See the reaction when Netscape released software that did
>   this.  Some servers began blocking IPs when clients dropped
>   connections in the middle of transfers.

But you can blame modem users for wanting the functionality.  It just
should be implemented more intelligently.

For some servers, the cost of starting a new connection is pretty
high.  This is compounded by the cost of the GROUP command on the
server side.  (It is now usual to hack INN so that it gives the wrong
answer to avoid taking the speed hit of doing it properly.)

To alleviate this, I would suggest always using two connections to the
server.  One for stateful information, and one for stateless.  I.e.,
connection 1 does GROUP and XOVER, while connection 2 does LIST ACTIVE
and ARTICLE msgid.  To make XOVER interruptible, the client should
chunk it up into several transactions, the size of which can be based
on on-the-fly timing.

One unfortunate side effect is that it's harder to get readership data
for the news admin, since the article reads will not be linked to the
group.


Kjetil T.

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads