🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #78188

Re: Flood prevention

#78188
From: Steve
Date: Fri, 16 Nov 2007 12:58
20 lines
1786 bytes
On 12 Nov 2007 14:59:25 GMT, Bert Hyman wrote in
Message-Id: <Xns99E65B75A7078VeebleFetzer@216.250.184.7>:

> Adding a few more that keep track of raw rate-of-arrival to a single
> newsgroup from either a single IP address or a single provider would
> come a long way to solving the immediate problem. 

I've produced a cleanfeed patch that does Posting-Host / Newsgroup (PHN) rate
limiting.  It's fairly crude in that it does no sanitising of the
NNTP-Posting-Host or Newsgroups headers but it seems to work fairly
well against the current hipnews floods.  No doubt there is plenty of
scope for improvement and I wouldn't suggest using it on a production
service until somebody checks out my novice Perl.

www.mixmin.net/cleanfeed.diff

-- 
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: <fhk45v$mq1$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!aotearoa.belnet.be!news.belnet.be!newsgate.cistron.nl!xs4all!feeder.news-service.com!news.mixmin.net!not-for-mail
References: <fh9obc$hds$1@news.mixmin.net> <Xns99E65B75A7078VeebleFetzer@216.250.184.7>

Show Full Headers
Complete Article Headers
Message-ID: <fhk45v$mq1$1@news.mixmin.net>
Subject: Re: Flood prevention
Date: Fri, 16 Nov 2007 12:58:39 +0000
From: Steve <steve@mixmin.net>
References: <fh9obc$hds$1@news.mixmin.net> <Xns99E65B75A7078VeebleFetzer@216.250.184.7>
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!aotearoa.belnet.be!news.belnet.be!newsgate.cistron.nl!xs4all!feeder.news-service.com!news.mixmin.net!not-for-mail
Newsgroups: news.software.nntp
Organization: Mixmin
Lines: 20
X-Complaints-To: abuse@mixmin.net
NNTP-Posting-Date: Fri, 16 Nov 2007 12:58:39 +0000 (UTC)
User-Agent: slrn/0.9.8.1pl1 (Debian)