🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #9742

Trying to understand missing article conditions

#9742
From: Rick Langston
Date: Tue, 30 Jul 1996 00:00
65 lines
3551 bytes
I've written a simple homebrew newsreader that I call getnews.

I use the basic get_server/put_server calls (via Stan Barber's 
useful clientlib program) and call the NNTP server using the 
'group', 'xover', and 'article' commands. 

Except for a few bumps along the way, it's been working fine 
for me. 

Lately, however, I've noticed that many of the articles that 
xover lists aren't actually available when I provide the 
server with an 'article' command. 

Am I correct in assuming that the following sequence should 
work?

1. send to server: 'group x.y.z'
2. server responds either with a '211' message with first and 
   last message numbers or otherwise some other error message.
3. assuming '211' is the response, the 'xover first-last'
   message is sent to the server, with first and last being 
   the message numbers from the 211 message.
4. I receive a '220 data follows' response, followed by zero
   or more lines of text, followed by a text line containing 
   only a period. 
5. I should then be able to request any article listed by 
   xover by sending to the server the command 'article n' 
   where n is the article number. The server will respond with
   '220 data follows' or otherwise provide some other error 
   message if the article is not accessible. If I get a '220'
   message, I read all records until I see a period line.

I'm noticing that on several newsgroups on nando.net (particularly
the binary newsgroups) that large blocks of articles are 
not found. As an example, one newsgroup I examined closely
has, according to the 'group' command first and last message numbers 
of 155705 and 187413. However, of the 123 articles that xover 
says exists between 155705 and 186113, none of them could be 
accessed via the article command. Also, the 52 articles between
187208 and 187258 could not be accessed. And articles 187272-187413
(around 150 articles) were also inaccessible. Note that inaccessible
articles always seem to be in blocks, not just isolated here and there.

What does this mean? I thought that xover would not present the 
overview record for an article that was not accessible. And if 
I have to verify the accessibility by issuing an article command for
each overview record, won't it be necessary to read the entire 
article (since the NNTP server is not designed to stop reading 
an article)? If so, that's quite a lot of processing time to 
deal with this problem with the overview records. 

There doesn't appear to be a field in the overview record that 
indicates the article is cancelled, unless I'm overlooking 
something. (I was of the impression that xover suppresses that 
overview record if the article has been cancelled).

Thanks in advance for any suggestions anyone may have.
-- 
======================================================================
Rick Langston, langston@nando.net, Cary NC USA
Home page at http://users.aol.com/rdlangston/private/home.htm
Beta home page at http://www.webbuild.com/~langston

Technical Details
Message-ID: <4tlp81$chk@bessel.nando.net>
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

Show Full Headers
Complete Article Headers
Message-ID: <4tlp81$chk@bessel.nando.net>
Subject: Trying to understand missing article conditions
Date: Tue, 30 Jul 1996 00:00:00 +0000
From: langston@bessel.nando.net (Rick Langston)
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: 171426707
Organization: Nando Net
Newsgroups: news.software.nntp