🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #76112

Re: INN Hammering

#76112
From: Julien ÉLIE
Date: Sat, 05 May 2007 17:35
25 lines
2111 bytes
En réponse à TMM :
> Is there any good script to prevent "connection-spamming"
> on INN? There's a lot of pure hammering on port 119 that
> makes INN go crazy with the serverload sometimes. I've
> been looking for a filter that bans hardhammering users
> before they reach the server but still no result.

You might want to use iptables.
How many connections per minute do you have from hammering
spammers?

Perhaps something like this:
iptables -A INPUT -i eth0 -p tcp --dport 119 -m limit --limit 10/minute -j ACCEPT

(you can also allow your peers to have no limit)

I haven't tested with regular news readers but I believe they
do not open as many connections per minute, don't they?
(well, I have a premonition that someone will answer some
news readers do...)

-- 
Julien ÉLIE

« L'amateur de plaisir solitaire fait souvent bande à part. » (Pierre Dac)
Technical Details
Message-ID: <f1if91$4or$1@news.trigofacile.com>
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!newsfeed01.sul.t-online.de!t-online.de!news.germany.com!news.ecp.fr!news.trigofacile.com!not-for-mail
References: <f1i8aq$41j$1@independence.tornevall.net>

Show Full Headers
Complete Article Headers
Message-ID: <f1if91$4or$1@news.trigofacile.com>
Subject: Re: INN Hammering
Date: Sat, 05 May 2007 19:35:29 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <f1i8aq$41j$1@independence.tornevall.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!newsfeed01.sul.t-online.de!t-online.de!news.germany.com!news.ecp.fr!news.trigofacile.com!not-for-mail
Newsgroups: news.software.nntp
Organization: Gens Iulia -- http://www.trigofacile.com/
Lines: 25
NNTP-Posting-Host: amontpellier-157-1-20-57.w86-197.abo.wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
X-Trace: news.trigofacile.com 1178386529 4891 86.197.155.57 (5 May 2007
X-Complaints-To: abuse@trigofacile.com
NNTP-Posting-Date: Sat, 5 May 2007 17:35:29 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.0 (Windows/20070326)
In-Reply-To: <f1i8aq$41j$1@independence.tornevall.net>