🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #15851

Re: How to prevent INN from allowing connections from disallowed hosts ?

#15851
From: Dean Carpenter
Date: Thu, 13 Mar 1997 00:00
36 lines
2112 bytes
In article <Pine.LNX.3.93.970312195334.120X-100000@radostne-
vanoce.radio.cz>, luser@Radio.CZ says...
--> On Wed, 12 Mar 1997, Dean Carpenter wrote:
--> 
--> > dcarpenter@kraft.com says...
--> > --> I need a way to prevent INN from even acknowledging its' presence
--> > --> unless the client host is in an "allowed" file.
--> > --> 
--> > --> I know about nnrp.access, but that still allows the host to connect
--> > --> and even get a list of newsgroups.  It just prevents them from actually
--> > --> getting headers or reading articles.  I want a "Connection refused" msg
--> > 
--> > Hmmm.  Looks like this isn't going to be possible.  What about 
--> > disallowing *any* commands unless the host is listed in the nnrp.access
--> > or hosts.nntp files ?
--> 
-->     Hang on a sec.  Now you mention hosts.nntp, and it would match the
--> behavior you describe (host is able to connect and LIST, but can't do any
--> reading) if your host in question is listed in hosts.nntp (meaning the
--> peer has permission to send you news), *or* if you are running INN in
--> promiscuous mode with -a to allow anyone to connect.

Bingo.  That was it.  I did the original testing from a machine that
was in both files.  Subsequent testing was from other machines, and
nnrp.access worked as advertised.

Thank you all -

-- 
Dean Carpenter

dcarpenter@kraft.com
deano@areyes.com

Technical Details
Message-ID: <MPG.d9223d866926429989689@news.kraft.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.mbox.zip!not-for-mail
References: <MPG.d8f476d5680deb9989682@news.kraft.com> <MPG.d908941614a0d8c989684@news.kraft.com> <Pine.LNX.3.93.970312195334.120X-100000@radostne-vanoce.radio.cz>

Show Full Headers
Complete Article Headers
Message-ID: <MPG.d9223d866926429989689@news.kraft.com>
Subject: Re: How to prevent INN from allowing connections from disallowed hosts ?
Date: Thu, 13 Mar 1997 00:00:00 +0000
From: dcarpenter@kraft.com (Dean Carpenter)
References: <MPG.d8f476d5680deb9989682@news.kraft.com> <MPG.d908941614a0d8c989684@news.kraft.com> <Pine.LNX.3.93.970312195334.120X-100000@radostne-vanoce.radio.cz>
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!not-for-mail
X-Deja-AN: 225268500
Organization: Kraft Foods
Newsgroups: news.software.nntp