🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by nick Fri, 17 Oct 1997 00:00
XOVER Records missing fields?
#36695
Author: nick
Date: Fri, 17 Oct 1997 00:00
33 lines
1723 bytes
I was debugging a newsreader crash this morning only to find my own ISP's
newsserver sending me incomplete XOVER records.  There were several
intermixed records starting with an article number, then a tab, and then
ONLY xref data (and then the cr/lf).  Most of these were easily associated
with SPAM posts.  Still, why weren't there at least the right amount of
tabs?

The crash was in me trying to parse a non-existent date field, and I've
fixed it so that doesn't happen.  Still, this XOVER record was all but
useless.  Is this common?  How do other authors handle faulty XOVER
records.  I guess I'll have to check a bit better.

My ISP's newsreader identifies itself as:

    InterNetNews NNRP server INN 1.5.1 17-Dec-1996 ready (posting

Dunno about the versions of any support software.

Thanks in advance,

Nick
-- 
-----------------------------------------------------------
Nick Knight  <nick@secant.com>       http://nick.secant.com
Senior Software Engineer
Secant Technologies, Inc.             http://www.secant.com
-----------------------------------------------------------
PGP Public Key:                      finger nick.secant.com 
-----------------------------------------------------------


Re: XOVER Records missing fields?
#36684
Author: billy
Date: Fri, 17 Oct 1997 00:00
27 lines
1550 bytes
nick@secant.com writes:

> The crash was in me trying to parse a non-existent date field, and I've
> fixed it so that doesn't happen.  Still, this XOVER record was all but
> useless.  Is this common?

This is the first I've heard of this kind of failure, but there is
so much junk in news now anything can happen - line lengths exceed
peoples' wildest dreams of not so long ago..

> How do other authors handle faulty XOVER
> records.  I guess I'll have to check a bit better.

I return an error message that says exactly what failed on what
article number, then continue, ignoring all those with bad data.
This helps report problems to the news administrator and in the
meantime you can at least see all the rest of them.

I also include emdebbed returns in data and display them as ^M.
This is a much more common error - somebody puts one in the full
name or subject then it's taken as the end of the line and the
record comes up short...

Billy Y..

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