🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #15788

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

#15788
From: Joe Greco
Date: Wed, 12 Mar 1997 00:00
29 lines
1868 bytes
In news.software.nntp article <vxku3micql3.fsf@pocari-sweat.jprc.com>, Karl Kleinpaste <karl@jprc.com> wrote:
:dcarpenter@kraft.com (Dean Carpenter) writes:
:> 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
:> when a non-allowed host tries to connect
:
:Can't be done.  TCP's design is such that a connection is accepted,
:and then one can do things with it.  The decision to connect is based
:on the existence of the server listening on the port, not the origin
:of the connecting client.

And my firewall doesn't give a damn about what TCP's connect paradigm
was, if I choose to do

deny tcp from * to news.119
allow tcp from my.cidr/size to news.119

on my firewall, I've done precisely what this gentleman asks (I can set
the deny statement to cause a Connection refused to be returned, although
usually I just bit bucket the data).

... JG

Technical Details
Message-ID: <5g68p5$2sm$1@earth.execpc.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>

Show Full Headers
Complete Article Headers
Message-ID: <5g68p5$2sm$1@earth.execpc.com>
Subject: Re: How to prevent INN from allowing connections from disallowed hosts ?
Date: Wed, 12 Mar 1997 00:00:00 +0000
From: jgreco@ns.sol.net (Joe Greco)
References: <MPG.d8f476d5680deb9989682@news.kraft.com> <vxku3micql3.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
X-Deja-AN: 224917312
Distribution: inet
Sender: joegreco@earth.execpc.com
Organization: sol.net Network Services - Milwaukee, WI
Newsgroups: news.software.nntp