🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Dirk Olbertz Tue, 06 Jan 1998 00:00
NEWNEWS for NewsClient
#24910
Author: Dirk Olbertz
Date: Tue, 06 Jan 1998 00:00
24 lines
1237 bytes
Hi,

I'm actually working on a NewsClient and have some problems with the
NEWNEWS command.

After sending the command, e.g.
  NEWNEWS news.software.nntp 980101 120000
nothing happens! I waited for several minutes (>5), but no result.
I send this command once without GROUP before and once with, but I just
do not get the result. It seems as if the server works on the list, but
it cannot take this long time, or am I false?

I didn't want to use the numeric id of the articles, but the message-id.
So I wanted to get the list of new news and then get header or article
of the desired message-id's.

Or do I have to use the numeric id in addition?

Every help is welcome,

Dirk

Re: NEWNEWS for NewsClient
#24937
Author: Bill Stewart-Cole
Date: Tue, 06 Jan 1998 00:00
58 lines
2869 bytes
In article <1d2gdjj.1fxg6ct88xo8iN@dialppp-5-114.rz.ruhr-uni-bochum.de>,
olbertz@do.isst.fhg.de (Dirk Olbertz) wrote:

> Hi,
> 
> I'm actually working on a NewsClient and have some problems with the
> NEWNEWS command.

Good. It is evil. Don't use it. 

> 
> After sending the command, e.g.
>   NEWNEWS news.software.nntp 980101 120000
> nothing happens! I waited for several minutes (>5), but no result.

2 possibilities:

1. The server you are testing on has intentionally disabled or crippled
NEWNEWS. 

2. NEWNEWS has crippled the server you are testing on. 

NEWNEWS is very hard on servers, especially INN.  

> I send this command once without GROUP before and once with, but I just
> do not get the result. It seems as if the server works on the list, but
> it cannot take this long time, or am I false?

It is very likely to take a long time. See the INN code for the specific
reasons. 

> I didn't want to use the numeric id of the articles, but the message-id.
> So I wanted to get the list of new news and then get header or article
> of the desired message-id's.
> 
> Or do I have to use the numeric id in addition?

Learn the lesson taught by the history of news clients: track read/unread
statusby article number NOT by time. Time is very slippery, since a server
can easily change time on you, and a few seconds is dozens of articles. 

A news client that depends on NEWNEWS is guaranteed to break often because
many servers protect themselves by simply disabling it, and a few actively
punish it by doing things like accepting the command and never responding
(it's that BOFH thing...). The reason for this is that while NEWNEWS alone
is hard on a server, historically it has been used almost exclusively by
'sucking' tools that act like clients to essentially pull a feed into a
server, and many of these can pound a server into functional death. (this
was especially true with INN 1.4, which loaded a discrete copy of the
active file for every nnrpd session). The end result is that NEWNEWS is
often interpreted as tantamount to an attack on a server...

-- 
Bill Stewart-Cole                             bill@scconsult.com        
I'm not spam-blocked because I like playing the hardass net-fascist.

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