🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #55462

Re: corrupted xover data

#55462
From: Greg Andrews
Date: Tue, 04 Dec 2001 18:20
33 lines
2236 bytes
archiver@i3w.com (The Archiver) writes:
>
>My own software is checking the validity of the MsgID-Field.
>If that string does not start and end with '<' and '>' or the 
>'@' is missing then the line treated as corrupt.
>

Don't forget that the string must not have a separator
character inside it (IIRC a tab).  Depending on how you
parse the overview entry, this may or may not be important.

>
>The only other fields which must contain correct data
>are the article number, lines and bytesize. 
>If they are not plain numerical then the line if broken.
>

The lines field in the overview data is not consistent
across different NNTP server software.  Some software
creates its own lines field, so it's always present and
always accurate.  Other software will use the message's
Lines: header if it exists, or create its own when it
doesn't, so it's always present but not always reliable.
Other software will allow the lines field to be empty
if the article had no line count in a Lines: header.


  -Greg
-- 
+++++ Greg Andrews +++ gerg@panix.com +++++
I have a map of the United States that's actual size
		 -- Steven Wright
Technical Details
Message-ID: <9uj45n$896$1@news.panix.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!nycmny1-snh1.gtei.net!news.gtei.net!panix!news.panix.com!not-for-mail
References: <slrna0o07s.12l.rickp@tc.niof.net> <44359.4c1200@archiver.winews.net>

Show Full Headers
Complete Article Headers
Message-ID: <9uj45n$896$1@news.panix.com>
Subject: Re: corrupted xover data
Date: Tue, 04 Dec 2001 18:20:39 +0000
From: gerg@panix.com (Greg Andrews)
References: <slrna0o07s.12l.rickp@tc.niof.net> <44359.4c1200@archiver.winews.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!nycmny1-snh1.gtei.net!news.gtei.net!panix!news.panix.com!not-for-mail
Newsgroups: news.software.nntp
Organization: I have a map of the United States that's actual size
Lines: 32
Distribution: inet
NNTP-Posting-Host: panix1.panix.com
X-Trace: news.panix.com 1007490039 8486 166.84.1.1 (4 Dec 2001 18:20:39 GMT)
X-Complaints-To: abuse@panix.com
NNTP-Posting-Date: 4 Dec 2001 18:20:39 GMT
X-Newsreader: trn 4.0-test74 (May 26, 2000)
Originator: gerg@panix.com (Greg Andrews)