🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #26183

Re: Diablo 1.15 will be ready in about 2 weeks

#26183
From: Joe Greco
Date: Thu, 12 Feb 1998 00:00
61 lines
3362 bytes
In news.software.nntp article <2MGE.3$Yg6.197532@news2.teleport.com>, jgarzik@raleigh.normnet.org (Jeff Garzik) wrote:
:Robert Collier (rrc@bofh.org.uk) wrote:
:: One quick question though - do you have any plans to add perl filtering
:: diablo? I'd love to be able to run cleanfeed or a variant thereof on my
:: diablo boxen - or should I get hacking myself?
:
:External filters are definitely the way to go.  It's much more flexible than
:a compiled-in filter, and Cyclone, Typhoon, NNTPrelay, and INN (sorta)
:support external filters.
:
:Would be great to have Diablo a member of that group.  Now that
:NNTPRelay supports "Cyclone-style" external filtering, following
:that standard would be great:  stdin is sent the article data, and
:stdout carries a 335/435 accept/reject response code back to the news
:server proper.

One way to do this...

Diablo has a "central" process that writes batch file lines and
history entries (I think).  My understanding is this:

Diablo child channel process reads article from peer and streams
it onto disk.  Diablo child channel process then sends a message
that says "Message X received, at spool location N" to the central
batch file writer/history writer.

I haven't looked at it in detail, and if my understanding is wrong,
the following won't work.

I'm mainly interested in not _propagating_ spam, and I was going to 
do the following:

Modify the batch file "master" process so that before it figures out 
which sites to send an article to, and before it writes the lines out
to batch files, it actually READS the article and passes it to a
Cyclone style filter process.  If the Cyclone filter OK's it, then
you proceed as normal, otherwise you don't write the batch file lines
and the article fails to propagate.

This is nice because it even could be extended to allow you to feed 
spam to SOME sites and not others (maybe a "sendmespam" token in
dnewsfeeds?)  That's a feature that I need, because I do "Whole Usenet"
reporting and stuff like that.

Also, it could be extended to report such a rejection back to the
Diablo child channel process, and that process could rewind the file
and reclaim the disk space, but obviously only if you weren't doing
"sendmespam" feeds.

I was going to work on this, but got sidetracked.  I reallyreally
want to do this sort of filtering though.

This and the multiprocess problems referred to elsewhere in this
thread are the major weaknesses that are making me consider Cyclone.

(I _love_ Cyclone but Solaris bites)

... JG

Technical Details
Message-ID: <6bvv08$pim@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: <6br2ki$bh8$1@flea.best.net> <34e72356.26857166@news.ftech.net> <2MGE.3$Yg6.197532@news2.teleport.com>

Show Full Headers
Complete Article Headers
Message-ID: <6bvv08$pim@newsops.execpc.com>
Subject: Re: Diablo 1.15 will be ready in about 2 weeks
Date: Thu, 12 Feb 1998 00:00:00 +0000
From: jgreco@ns.sol.net (Joe Greco)
References: <6br2ki$bh8$1@flea.best.net> <34e72356.26857166@news.ftech.net> <2MGE.3$Yg6.197532@news2.teleport.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: 324578959
Sender: jgreco@earth.execpc.com
X-Complaints-To: abuse@execpc.com
X-Trace: daily-planet.newsops.execpc.com 887324488 26198 (None) 169.207.16.1
Organization: sol.net Network Services - Milwaukee, WI
Newsgroups: news.software.nntp