Article View: news.software.nntp
Article #15719Re: How to prevent INN from allowing connections from disallowed hosts ?
From: Jeff Garzik
Date: Tue, 11 Mar 1997 00:00
Date: Tue, 11 Mar 1997 00:00
30 lines
1595 bytes
1595 bytes
(e-mail copies sent to authors) Karl Kleinpaste wrote: > dcarpenter@kraft.com (Dean Carpenter) writes: > > 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. What about /etc/hosts.deny? You could run NNTP readers through inetd, which allows that sort of finer-grained access control. Jeff -- Galbraith's Law of Human Nature: Faced with the choice between changing one's mind and proving that there is no need to do so, almost everybody gets busy on the proof.
Technical Details
Message-ID:
<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-mailReferences:
<MPG.d8f476d5680deb9989682@news.kraft.com> <vxku3micql3.fsf@pocari-sweat.jprc.com>Show Full Headers
Complete Article Headers
Message-ID: <33259412.5D31610A@spinne.com> Subject: Re: How to prevent INN from allowing connections from disallowed hosts ? Date: Tue, 11 Mar 1997 00:00:00 +0000 From: Jeff Garzik <jeff.garzik@spinne.com> 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: 224710829 Organization: Spinne http://spinne.com Newsgroups: news.software.nntp