🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #15769

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

#15769
From: Karl Kleinpaste
Date: Tue, 11 Mar 1997 00:00
20 lines
1456 bytes
Karl Kleinpaste wrote:
> > The decision to connect is based
> > on the existence of the server listening on the port, not the origin
> > of the connecting client.

Jeff Garzik <jeff.garzik@spinne.com> writes:
> What about /etc/hosts.deny?  You could run NNTP readers through inetd,
> which allows that sort of finer-grained access control.

Nope.  INN has control of the NNTP port -- readers connect via innd,
not inetd.  Innd in turn hands off to nnrpd when it finds that the
connecting client is not known to hosts.nntp (that is, fails the check
for being a feed host), and thereafter nnrpd checks against
nnrp.access and should fail there as well if the host is not welcome
at all.

The solution is only and exactly nnrp.access.

Technical Details
Message-ID: <vxkpvx6clta.fsf@pocari-sweat.jprc.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> <vxku3micql3.fsf@pocari-sweat.jprc.com> <33259412.5D31610A@spinne.com>

Show Full Headers
Complete Article Headers
Message-ID: <vxkpvx6clta.fsf@pocari-sweat.jprc.com>
Subject: Re: How to prevent INN from allowing connections from disallowed hosts ?
Date: Tue, 11 Mar 1997 00:00:00 +0000
From: Karl Kleinpaste <karl@jprc.com>
References: <MPG.d8f476d5680deb9989682@news.kraft.com> <vxku3micql3.fsf@pocari-sweat.jprc.com> <33259412.5D31610A@spinne.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
X-Deja-AN: 224727150
Distribution: inet
Organization: Justsystem Pittsburgh Research Center
Newsgroups: news.software.nntp