🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #24937

Re: NEWNEWS for NewsClient

#24937
From: 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.

Technical Details
Message-ID: <bill-0601981943370001@sc1.scconsult.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: <1d2gdjj.1fxg6ct88xo8iN@dialppp-5-114.rz.ruhr-uni-bochum.de>

Show Full Headers
Complete Article Headers
Message-ID: <bill-0601981943370001@sc1.scconsult.com>
Subject: Re: NEWNEWS for NewsClient
Date: Tue, 06 Jan 1998 00:00:00 +0000
From: bill@scconsult.com (Bill Stewart-Cole)
References: <1d2gdjj.1fxg6ct88xo8iN@dialppp-5-114.rz.ruhr-uni-bochum.de>
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: 313477628
Organization: Despams 'r' us Rogue Midwest Office
Newsgroups: news.software.nntp