🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #15822

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

#15822
From: Karl Kleinpaste
Date: Wed, 12 Mar 1997 00:00
32 lines
2394 bytes
Darrell Fuhriman <darrell@grumblesmurf.net> critiques my assertion
about single ownership of the NNTP port:
> The way I've done it is to create virtual interface (le0:whatever
> on solaris).  Say "news" and "nntp" then modify innd to bind only
> to a specific interface (nntp) rather than INADDR_ANY.  Next, you
> write a short inetd-like program to bind to the other interface
> (news) and fork off nnrpds.

I would have to say, first, that this a very interesting alternate
solution to the problem.

However, the original question revolved around simple disallowance of
certain hosts.  The poster was so technically unaware of his situation
that he didn't realize that nnrp.access is entirely adequate to the
basic issue at hand.  Such a person doesn't need suggestions to hack
heavily on INN while simultaneously writing an inetd replacement, or
to go on a full frontal assault of the IP stack so as to modify the
API in order to allow an origin-based decision to RST or ACK the
initial SYN (suggested to me in email), or to place INN on an
alternate port.

The problem was merely that he wants to prevent disallowed hosts from
being able even to get a group list.  nnrp.access is the solution to
that, and that is all that needed to be said.  The fact that a dozen
other highly complex solutions involving INN code changes (above) or
nonstandard management practices (INN on alternate port) or kernel
hackery (IP frontal assault) is not germane to the question at hand.
nnrp.access can provide the semantic equivalence to /etc/hosts.deny,
and that is all the user asked for.

Technical Details
Message-ID: <vxkhgih44ok.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> <vxkpvx6clta.fsf@pocari-sweat.jprc.com> <m2sp22xj75.fsf@xian.grumblesmurf.net>

Show Full Headers
Complete Article Headers
Message-ID: <vxkhgih44ok.fsf@pocari-sweat.jprc.com>
Subject: Re: How to prevent INN from allowing connections from disallowed hosts ?
Date: Wed, 12 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> <vxkpvx6clta.fsf@pocari-sweat.jprc.com> <m2sp22xj75.fsf@xian.grumblesmurf.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.mbox.zip!not-for-mail
X-Deja-AN: 224928593
Distribution: inet
Organization: Justsystem Pittsburgh Research Center
Newsgroups: news.software.nntp