Article View: news.software.nntp
Article #15734Re: How to prevent INN from allowing connections from disallowed hosts ?
From: Karl Kleinpaste
Date: Tue, 11 Mar 1997 00:00
Date: Tue, 11 Mar 1997 00:00
21 lines
1552 bytes
1552 bytes
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. If your nnrp.access file is correct, the connecting client will be rejected after initial connect with "502 you're not allowed to talk", followed by immediate disconnect, so that no list of newsgroups, or anything else, can be accessed.
Technical Details
Message-ID:
<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-mailReferences:
<MPG.d8f476d5680deb9989682@news.kraft.com>Show Full Headers
Complete Article Headers
Message-ID: <vxku3micql3.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> 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: 224704238 Distribution: inet Organization: Justsystem Pittsburgh Research Center Newsgroups: news.software.nntp