🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #78428

Re: Cleanfeed EMP filters

#78428
From: Michael Grimm
Date: Mon, 24 Dec 2007 13:50
57 lines
3555 bytes
Steve <steve@mixmin.net> wrote:

> I've produced some updates to Cleanfeed to address the current sporge
> type floods that are currently attacking a number of groups.

Thanks a lot, and it's highly appreciated!

> Configuration parameters are:
> phn_exempt     NNTP-Posting-Hosts regex's to exempt from the PHN filter
> phr_exempt     NNTP-Posting-Hosts regex's to exempt from the PHR filter
> phn_aggressive Allow PHN filter to use Path elements (Here be dragons)
> phr_aggressive Allow PHR filter to use Path elements
> phn_exclude    Newsgroup regex's to exclude from the PHN filter
> flood_groups   Regex's of groups to include in the PHR filter.
>
> All of the above parameters should be defined in the cleanfeed.local
> file 

I do assume that phn_exempt, phr_exempt, phn_exclude, and flood_groups
should be defined in cleanfeed.local's %config_append section? If so,
then they need to become appended in cleanfeed by:

#v+

--- cleanfeed.new       Mon Dec 24 13:43:46 2007
+++ cleanfeed.old       Mon Dec 24 13:40:42 2007
@@ -252,7 +252,6 @@
                        foreach (qw(bin_allowed bad_bin md5exclude poison_groups
                                        allexclude html_allowed mime_html_allowed low_xpost_groups no_cancel_groups
                                        baddomainpat phl_exempt supersedes_exempt
-                                       phn_exempt phr_exempt phn_exclude flood_groups
                                        refuse_messageids net_abuse_groups spam_report_groups
                                        adult_groups not_adult_groups faq_groups badguys)) {
                                if (defined $config_append{$_}) {

#v-

I did use your new version out of the box for a couple of days now and
found some articles rejected that I cannot understand why they were
rejected, e.g. (all from de.talk.misc):

	<fkjipu$drn$96@online.de> 437 EMP (phn nph)
	<5uvv35-jr9.ln1@sansui.nixdos.de> 437 EMP (phn nph)

	<MPG.21d76ffa900771b898a0f3@news.t-online.de> 437 EMP (phn path)

I do have to admit that my understanding of your new PHN filter is
rather poor. Perhaps someone can explain why these postings triggered
your filter. Thanks.

I did add '\.talk' to phn_exclude and changed both aggressive settings
to 0 in the meantime. 

Gruß,
Michael
-- 
to let
Technical Details
Message-ID: <fkodfh$t6n$1@odo.in-berlin.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.karotte.org!news2.arglkargh.de!news.pimp.lart.info!hirsch.in-berlin.de!odo.in-berlin.de!not-for-mail
References: <fkbbae$anq$1@news.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <fkodfh$t6n$1@odo.in-berlin.de>
Subject: Re: Cleanfeed EMP filters
Date: Mon, 24 Dec 2007 13:50:41 +0000
From: Michael Grimm <trashcan@odo.in-berlin.de>
References: <fkbbae$anq$1@news.mixmin.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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.karotte.org!news2.arglkargh.de!news.pimp.lart.info!hirsch.in-berlin.de!odo.in-berlin.de!not-for-mail
Newsgroups: news.software.nntp
Organization: ATK - Alternative Tierklinik links der Einfalt
Lines: 57
NNTP-Posting-Host: odo.in-berlin.de
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: 8bit
X-Trace: odo.in-berlin.de 1198504241 29911 217.197.85.28 (24 Dec 2007 13:50:41
 GMT)
X-Complaints-To: abuse@odo.in-berlin.de
NNTP-Posting-Date: Mon, 24 Dec 2007 13:50:41 +0000 (UTC)
Cancel-Lock: sha1:le291cjs2oWB3GW0DgolT3RM08k=
User-Agent: slrn/0.9.8.1 (Darwin)
Mail-Copies-To: nobody