🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #53387

Re: PH/N filter

#53387
From: Terrance Richard Boyes
Date: Thu, 19 Jul 2001 23:51
40 lines
2725 bytes
Russ Allbery <rra@stanford.edu> wrote:
> Andrew Gierth <andrew@erlenstar.demon.co.uk> writes:
>>>>>>> "Marco" == Marco d'Itri <abuse@1.2.0.1.0.0.1.e.f.f.3.ip6.int>
>>>>>>> writes:

>>  Marco> I'm thinking about implementing a NNTP-Posting-Host/Newsgroups
>>  Marco> filter to stop some kinds of floods.

I've got an email half finished that I was about to send you
on the topic...

>>  Marco> Does anybody has an opinion on why this should or should not
>>  Marco> work?

>> you'd have to either exclude all the binaries groups or set a pretty
>> high threshold.

And resurrector reposts.

> I already exclude all the binary groups from the regular ph/l filter for
> this reason; they're relatively easy to handle.

I've been experimenting with one here for the last few days purely
as a post-flood cleanup,  and it seems to work ok as long as I'm 
careful with the configuration. Originally it was awk but
I've just a2p'd it and tested it. What I haven't tried yet
is making it fit in with cleanfeed. And the parsedate is
pretty crude as I wrote that from scratch in awk.

Currently it's setup to check certain groups only and ignore 
already known bad NPHs. I'm parsing the Date: with a
granularity of minutes (better performance and less memory)
and I have a couple of posting rate settings. Number of posts
from a host in an hour and number in a day.

-- 
<URL:http://www.pierrot.co.uk/>                                  Team AMIGA
Lisp programmers have to be bound (to-do 'it)...

Technical Details
Message-ID: <20010719.235156.9E9801DE.ifaa@pierrot.co.uk>
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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!212.74.64.35!colt.net!dispose.news.demon.net!news.demon.co.uk!demon!mail2news.demon.co.uk!not-for-mail
References: <0t3b573a2fi1828n3e9%md@wonderland.linux.it> <87d76wy61f.fsf@erlenstar.demon.co.uk> <ylbsmgbloi.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <20010719.235156.9E9801DE.ifaa@pierrot.co.uk>
Subject: Re: PH/N filter
Date: Thu, 19 Jul 2001 23:51:56 +0000
From: tez@pierrot.co.uk (Terrance Richard Boyes)
References: <0t3b573a2fi1828n3e9%md@wonderland.linux.it> <87d76wy61f.fsf@erlenstar.demon.co.uk> <ylbsmgbloi.fsf@windlord.stanford.edu>
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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!212.74.64.35!colt.net!dispose.news.demon.net!news.demon.co.uk!demon!mail2news.demon.co.uk!not-for-mail
Newsgroups: news.software.nntp
Organization: ECL.Net
X-Trace: mail2news.demon.co.uk 995586731 mail2news:12733 mail2news mail2news.demon.co.uk
X-Complaints-To: abuse@demon.net
X-Mail2News-Path: news.demon.net!anchor-post-31.mail.demon.net!pierrot.demon.co.uk!pierrot.co.uk!tez@pierrot.co.uk
X-Lan-Trace: news.pierrot.lan 20010719.235156 news:ifaa IDENT tez@pierrot.demon.co.uk
User-Agent: tin/1.4.3-20000502 ("Marian") (AMIGA)
X-NaMLServ: $VER: v0.9b <tez@pierrot.co.uk>
Lines: 39