🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
11 messages
11 total messages Started by Joe Greco Tue, 17 Mar 1998 00:00
Diablo filter support
#26966
Author: Joe Greco
Date: Tue, 17 Mar 1998 00:00
54 lines
2529 bytes
I've been hacking again.

I have been, for quite some time, displeased with the support for
filtering in Diablo.  I've wanted to be able to "plug in" a better,
more comprehensive spam filter, and the inability has been a bit
frustrating - especially since I've developed a filter that works
with Cyclone, and since both CleanFeed and Spam Hippo are available
in Cyclone variants.

I've written some prototype code ...  it's not available yet, but I
am soliciting comments.

diab-filter is an extension to Diablo that modifies the main Diablo
process.  It uses an external filter process to classify an article,
before being sent to newsfeeds.

The external filter interface is substantially similar to the Cyclone
interface.  It currently feeds the complete article, and does not have
an "early abort" feature, but both would be relatively easy to add.
It expects a "3xx" or "4xx" class error to be returned.  It does not
care beyond that.  It is somewhat capable of dealing with a thrashing 
filter program, although it does not yet have any timeouts.

diab-filter does _not_ remove the article from the Diablo spool at this
time.  It will _not_ save you any disk space.

However, it _does_ allow you to specify some additional keywords in your
dnewsfeeds file:

label   mci
        alias           newsfeed.internetmci.com
        addgroup        *
        rtflush
        nospam
end

label   mci-s
        alias           newsfeed.internetmci.com
        addgroup        *
        onlyspam
end

I'm using it to lower the priority on certain articles and "late-send"
them.  (My filter is configured to detect more than spam, it's configured 
to tag any article that I would consider "low priority" traffic of some 
sort).

Am I the only one who wants this sort of thing?  Or should I polish it up
and make it available?

... JG

Re: Diablo filter support
#26951
Author: Matt Ranney
Date: Tue, 17 Mar 1998 00:00
21 lines
1291 bytes
jgreco@ns.sol.net (Joe Greco) writes:

[...]
> diab-filter does _not_ remove the article from the Diablo spool at this
> time.  It will _not_ save you any disk space.
[...]
> Am I the only one who wants this sort of thing?  Or should I polish it up
> and make it available?

I would be very interested in such a thing.  My diablo box has plenty
of disk space for what it needs to do, so the extra disk space won't
matter much.  Almost all of my customer feeds end up on overloaded INN
boxes that can barely handle the load as it is.  I'd love to be able
to have diablo hold on to the spam, all the cancels, and then spare my
overloaded customers stuff they don't need.
-- 
Matt Ranney - mjr@ranney.com
Let's not let the students run the High School.

Re: Diablo filter support
#26971
Author: Jeff Garzik
Date: Tue, 17 Mar 1998 00:00
18 lines
1206 bytes
Joe Greco wrote:
> Am I the only one who wants [ext Diablo filtering]?  Or should I polish it up
> and make it available?

Color me interested.

I'm still on 1.13, considering that the most stable of the current
Diablo releases.  Will the patch work for 1.13?

I wonder if there is interest in a "stable Diablo" source tree in
addition to the current "experiemental Diablo" tree.

-- 
Jeff Garzik			    Typhoon, Cyclone, Diablo, and INN
http://www.spinne.com/usenet/	           News tuning and consulting

Re: Diablo filter support
#26977
Author: Michael Shields
Date: Wed, 18 Mar 1998 00:00
13 lines
962 bytes
In article <6emooo$cke@newsops.execpc.com>,
jgreco@ns.sol.net (Joe Greco) wrote:
> The external filter interface is substantially similar to the Cyclone
> interface.

How does it differ?

(Obviously it would be nice if they were compatible.)
-- 
Shields, CrossLink.

Re: Diablo filter support
#26985
Author: Andrew
Date: Wed, 18 Mar 1998 00:00
20 lines
1309 bytes
Joe Greco <jgreco@ns.sol.net> wrote:
> Am I the only one who wants this sort of thing?  Or should I polish it up
> and make it available?

Definitely interested.  I've been working on a similar thing myself, with
quite a bit less success.  :)

The one suggestion I have based on your post is the ability to specify
different filters for different feeds (some peers might want very filtered
news, others only semi-filtered, etc.).

Oh, and the ability to easily plug in Cleanfeed would kick ass.  :)

-- 
Andrew O. Smith - <aos@insync.net> | "Please allow me to present
Sysadmin, Insync Internet Services |  you with a clue."
Houston, Texas, USA                |          --The Afghan Whigs

Re: Diablo filter support
#27008
Author: Joe Greco
Date: Wed, 18 Mar 1998 00:00
29 lines
1843 bytes
In news.software.nntp article <g61zw0aid4.fsf@daedalus.crosslink.net>, shields@crosslink.net (Michael Shields) wrote:
:In article <6emooo$cke@newsops.execpc.com>,
:jgreco@ns.sol.net (Joe Greco) wrote:
:> The external filter interface is substantially similar to the Cyclone
:> interface.
:
:How does it differ?
:
:(Obviously it would be nice if they were compatible.)

That's sort of the goal.

My only test has been that Cfilter, the filter that I have been writing for
Cyclone, runs without modification under diab-filter.

The primary differences that I am aware of are that diab-filter does not yet
do "header-only" filter feeds, and that diab-filter doesn't have the "early
abort" feature of Cyclone.  Neither of which I really need...  so I
concentrated on the feature set I needed.

Unlike the last Cyclone I experimented with, it _does_ actually restart the
filter process if it dies...  and even handles a filter process which is
doing death thrashing.  I also want to make it abort if it doesn't get an
answer in a reasonable timeframe, or otherwise "locks up".

... JG

Re: Diablo filter support
#27011
Author: Robert Collier
Date: Wed, 18 Mar 1998 00:00
16 lines
1135 bytes
Consider me interested aswell, anything to reduce news volumes between
my servers is a GoodThing IMHO.

If a later version can delete articles from the diablo spool all the
better ;)

	- Regards, Robert

-- 
   Robert Collier   -   Network  Operations   -   Frontier Internet
   ----------------------------------------------------------------
   Disclaimer: The views contained herein may not reflect the views
      of my employer and reliance should not be placed thereon.   

Re: Diablo filter support
#27013
Author: Iain Lea
Date: Thu, 19 Mar 1998 00:00
25 lines
1467 bytes
Joe Greco <jgreco@ns.sol.net> wrote:
> I've been hacking again.

:)

> I have been, for quite some time, displeased with the support for
> filtering in Diablo.  I've wanted to be able to "plug in" a better,
> more comprehensive spam filter, and the inability has been a bit
> frustrating - especially since I've developed a filter that works
> with Cyclone, and since both CleanFeed and Spam Hippo are available
> in Cyclone variants.
> I've written some prototype code ...  it's not available yet, but I
> am soliciting comments.

Put it up for download ... please. Also please support CleanFeed as
its what we are already using on our INN boxes.

Thanx

-- 
Iain Lea          iain@bricbrac.de          <http://www.bricbrac.de/>
"Know the wisdom of being patient during times of inactivity." --Anon

Re: Diablo filter support
#27016
Author: bill davidsen
Date: Thu, 19 Mar 1998 00:00
21 lines
1388 bytes
In article <cbGP.22$o23.28173@ptah.visi.com>,
Mike Horwath <drechsau@yuck.net> wrote:
| Joe Greco <jgreco@ns.sol.net> wrote:
| : Am I the only one who wants this sort of thing?  Or should I polish it up
| : and make it available?
| 
| You aren't alone.
| 
| Submit it to Matt for inclusion.  It would kick booty.
| 
| (spamhippo for diablo would kick ass...)

The only question is how mush CPU it would use while doing so. My
Diablo machines don't tend to be all that large and powerful, and at
the moment they don't need to be.
--
	Bill Davidsen (davidsen@tmr.com)
Stupidity, like virtue, is its own reward.  -me, 1988

Re: Diablo filter support
#27043
Author: Joe Greco
Date: Thu, 19 Mar 1998 00:00
21 lines
1545 bytes
In news.software.nntp article <6ernoc$4uvk$1@newssvr03-int.news.prodigy.com>, davidsen@tmr.com (bill davidsen) wrote:
:The only question is how mush CPU it would use while doing so. My
:Diablo machines don't tend to be all that large and powerful, and at
:the moment they don't need to be.

You can run the filter on another box.

Well, hey, after all, the interface as designed by Highwind pretty much
allows for it.

I did actually run it that way for a bit, but the host doing the filtering
only had an IDE drive for the database, and the buzzing sound emitted by the
filtering host because it had very little RAM, one IDE drive, trying to
work on a spam database a gigabyte large, was rather scary.

Oh, did I mention, you can run the filter on another box... :-)

... JG

Re: Diablo filter support
#27085
Author: Jan Isley
Date: Sat, 21 Mar 1998 00:00
31 lines
1750 bytes
According to Joe Greco <jgreco@ns.sol.net>:

> diab-filter does _not_ remove the article from the Diablo spool at this
> time.  It will _not_ save you any disk space.
 
That would be *extremely* cool to get working.  It would extend spool
capacity many hours a day.

> However, it _does_ allow you to specify some additional keywords in your
> dnewsfeeds file:
...
>         nospam

Having just one rule set would be great.  Having multiple sets would
be extremely great.

> Am I the only one who wants this sort of thing?  Or should I polish it
> up and make it available?

Yes, please!  And with CleanFeed support, please.  I've been thinking
about moving to cyclone for my transit boxes if only to better filter
not only what I offer to my internal server but what I transit as well.
If I could do that without having to move to Solaris, that would be
so cool.  I love Diablo, but I think that it's spam filtering is way
to aggressive.  Please, oh please save me from Solaris. <g> If I could
plug CleanFeed into Diablo I would be a very happy camper.

Jan

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