Article View: news.software.nntp
Article #15760Re: How to prevent INN from allowing connections from disallowed hosts ?
From: Steinar Haug
Date: Tue, 11 Mar 1997 00:00
Date: Tue, 11 Mar 1997 00:00
29 lines
1923 bytes
1923 bytes
[Karl Kleinpaste] | > > 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. It's perfectly possible to run innd for the feeders on for instance port 433, and run nnrpd from inetd om port 119. We do it here - works fine. But the point is still valid: There is no real difference between the access control in nnrpd.access, and the access control in TCP wrappers/ hosts.deny. A TCP connection is accepted, an access list is checked and the TCP connection is either closed or allowed to continue. Steinar Haug, Nethelp consulting, sthaug@nethelp.no
Technical Details
Message-ID:
<5g4f0d$h5p@verdi.nethelp.no>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: <5g4f0d$h5p@verdi.nethelp.no> Subject: Re: How to prevent INN from allowing connections from disallowed hosts ? Date: Tue, 11 Mar 1997 00:00:00 +0000 From: sthaug@nethelp.no (Steinar Haug) 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: 224750574 Distribution: inet Cache-Post-Path: dole.uninett.no!unknown@verdi.nethelp.no Organization: Nethelp Consulting, Trondheim, Norway Newsgroups: news.software.nntp