🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #49791

Re: IP banning INN 2.2.3

#49791
From: Curious Charlie
Date: Thu, 11 Jan 2001 10:35
34 lines
3049 bytes
:: > I do not want people from outside to connect - I see lots of 'Curious
:: > NNTP explorers' - and I want to disallow all connections from non-local
:: 
:: > I am familiar with nnrp.access - but it only (dis-)allows access to
:: > newsgroups - how bout totally banning access ('You have no permission to
:: 
:: That's exactly what it should be doing.  nnrpd will drop the connection
:: right away if it doesn't match anything in nnrp.access.  Those connections
:: will still show up as a "Curious NNTP explorer" in the report, though.

No, they are curious explorers only if they make a connection and
disconnect without doing anything useful.  The summary lists them
as permission denied if they truly are denied access.

The reason for sites being able to connect without getting an
immediate 502 GO AWAY message is that there is some line in the
nnrp.access file that allows AUTHINFO authentication.  The default
INN k0deZ will allow any IP to give this AUTHINFO if it is specified;
we've hacked it here so it doesn't do this but only allows the listed
IPs to give this AUTHINFO information.  Of course, if you have the
ability to give AUTHINFO, you can't be denied access right away.

If you do not have a specific AUTHINFO username/password combo in
your nnrp.access file, then you probably have a default `deny access'
line that says to use spaces to make it impossible to authenticate,
which is the default given in the config file as distributed.
Replace this line with its equivalent without this AUTHINFO junk
and then all connections outside the permitted range of hosts that
you specify below will then be dropped with `permission denied, bucko'

I'd point to stats that list curious nnrpd explorers separate from
nnrpd permission denied immediately following, but if i were to do
that, they'd have to kill me
Technical Details
Message-ID: <meowbot-AutoStavka-21@netscum.dQ>
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!supernews.google.com!sn-xit-03!supernews.com!nntp.cs.ubc.ca!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!colt.net!news.tele.dk!Free-PR0N.NetScum.DK.POSTED!stavka.vszbr.cz!bofh.vszbr.cz!news.radio.cz!not-for
References: <Pine.HPX.4.21.0101110840590.14416-100000@ask.diku.dk> <ylae8yea5j.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <meowbot-AutoStavka-21@netscum.dQ>
Subject: Re: IP banning INN 2.2.3
Date: Thu, 11 Jan 2001 10:35:36 +0000
From: Curious Charlie <autocyberretributionmeowbot@plonk.invalid>
References: <Pine.HPX.4.21.0101110840590.14416-100000@ask.diku.dk> <ylae8yea5j.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!supernews.google.com!sn-xit-03!supernews.com!nntp.cs.ubc.ca!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!colt.net!news.tele.dk!Free-PR0N.NetScum.DK.POSTED!stavka.vszbr.cz!bofh.vszbr.cz!news.radio.cz!not-for
Newsgroups: news.software.nntp
Organization: Insults, Inc.
Lines: 33
NNTP-Posting-Host: 2dd950811eed8cd4920adef76f5c8ccd.netscum.dk
X-Trace: freebeer.netscum.dk 979209336 7ce887ed1d07a45d6938037f06f1ad7a
X-Complaints-To: Department of Beer <bitbucket@news.inet.tele.dk>
X-Pedophile: BARRY BOUWSMA IS A PEDOPHILE!!!
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300