🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #78431

Re: Cleanfeed EMP filters

#78431
From: Steve
Date: Mon, 24 Dec 2007 18:03
45 lines
3070 bytes
On Mon, 24 Dec 2007 13:50:41 +0000 (UTC), Michael Grimm wrote in
Message-Id: <fkodfh$t6n$1@odo.in-berlin.de>:

> 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:
Nice catch thanks!  I've applied your patch and posted an update.

> 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):

I also see a large number of rejects for this group.  The cause appears
to be that a small group of posters use the group as a chat medium and post
high volumes of two or three word messages in rapid response to each other.
The filter assumes that no genuine poster is going to post more than 40
messages per hour and so it rejects their messages when they exceed this
threshold.

> 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.

Hopefully I've explained it in part above.  The PHN filter works by
creating a hash of the NNTP-Posting-Host and Newsgroups headers.  This
means that each time a post comes from a single source to a newsgroup,
the a counter for that combination is incremented.  When a threshold is
hit, no more postings from that host are allowed to that newsgroup.

Some postings don't have a NNTP-Posting-Host header.  If the aggressive
mode is switched on then these messages will be hashed on the Newsgroups
and an element of the Path header.  This is aggressive because it limits
messages from a specific News service to a Newsgroup.

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

That's probably a good compromise.  I'd suggest leaving the
phr_aggressive switched on though.  It only works if you define specific
groups (flood_groups) that you want it to act on.

-- 
pub   1024D/228761E7 2003-06-04 Steven Crook
      Key fingerprint = 1CD9 95E1 E9CE 80D6 C885  B7EB B471 80D5 2287 61E7
uid                  Steven Crook <steve@mixmin.net>
Technical Details
Message-ID: <fkosa9$kbs$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.mixmin.net!not-for-mail
References: <fkbbae$anq$1@news.mixmin.net> <fkodfh$t6n$1@odo.in-berlin.de>

Show Full Headers
Complete Article Headers
Message-ID: <fkosa9$kbs$1@news.mixmin.net>
Subject: Re: Cleanfeed EMP filters
Date: Mon, 24 Dec 2007 18:03:53 +0000
From: Steve <steve@mixmin.net>
References: <fkbbae$anq$1@news.mixmin.net> <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.mixmin.net!not-for-mail
Newsgroups: news.software.nntp
Organization: Mixmin
Lines: 45
X-Complaints-To: abuse@mixmin.net
NNTP-Posting-Date: Mon, 24 Dec 2007 18:03:53 +0000 (UTC)
User-Agent: slrn/0.9.8.1pl1 (Debian)