🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #31304

Re: diab-filter with new diablo

#31304
From: Joe Greco
Date: Thu, 10 Sep 1998 00:00
44 lines
2631 bytes
In news.software.nntp article <m2yarssjpj.fsf@wacky.ranney.com>, Matt Ranney <mjr@ranney.com> wrote:
:I patched diablo test18 with Joe Greco's diab-filter stuff, and it
:wasn't too hard to get things going.  I'm using cleanfeed, and for the
:most part, things are getting filtered like you'd expect them to.
:
:There's an interesting thing I'm seeing a LOT of now though:
:
:Sep  9 20:49:04 smurf diablo[23354]: error: opening article file (/news/spool/news/D.00e64132/9a347466.5668e818.23cb), open fails, 2 
:Sep  9 20:49:04 smurf diablo[23354]: diab_read failed: D.00e64132/9a347466.5668e818.23cb:0,0
:
:Most articles are getting read and filtered properly, but every second
:or so, something like this pops up.  Matt/Joe (or anyone else), any
:ideas on where I should start looking?

D.00e64132/9a347466.5668e818.23cb:0,0
           ^^^^^^^^^^^^^^^^^^^^^^
This looks like it might be part of a Diablo hash value.  I'm used to seeing
filenames like D.xxxxxxxx/B.xxxx:n,n

I don't _think_ my code is doing that, since it looks..  oh, never mind.  I
just found what is doing that.

Diablo's "ArticleFileName" function will do that if both the offset and
article size indicators are zero.

My diab-read function doesn't deal with that since I thought it was only a
backwards compatibility hack.  Could you check in your spool to see if you
are actually seeing spool files named like that, please?

% find /news/spool/news -type f -ls | grep -v /B

would be handy, if it outputs anything at all, mail me the first page of
output.

I think you said you're using this in a reader environment.  Perhaps that
explains it, since I don't filter on my one experimental reader box.

If I need to fix this, it isn't (much of) a problem.  There are a few other
changes that could be made too, including eliminating the "data byte null"
check that I put in as a sanity check while debugging.

... JG

Technical Details
Message-ID: <6t8h2n$4qa@newsops.execpc.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: <m2yarssjpj.fsf@wacky.ranney.com>

Show Full Headers
Complete Article Headers
Message-ID: <6t8h2n$4qa@newsops.execpc.com>
Subject: Re: diab-filter with new diablo
Date: Thu, 10 Sep 1998 00:00:00 +0000
From: jgreco@ns.sol.net (Joe Greco)
References: <m2yarssjpj.fsf@wacky.ranney.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
X-Deja-AN: 389730338
Sender: jgreco@earth.execpc.com
X-Trace: daily-planet.newsops.execpc.com 905430935 4938 (None) 169.207.16.1
Organization: sol.net Network Services - Milwaukee, WI
Newsgroups: news.software.nntp
X-Complaints-To: abuse@execpc.com