🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #51897

Re: nnrp.access for fixed IP addresses *and* DHCP?

#51897
From: Jeffrey M. Vinocur
Date: Wed, 18 Apr 2001 15:56
28 lines
1979 bytes
In article <9bk1o2$a5s$1@support.neth.hp.com>,
Frank Slootweg  <franks@support.neth.hp.com> wrote:
>[INN 1.7.2]
>
>  Can I set things up in such a way that the existing users/hosts (i.e.
>15.nnn.*, 15.mmm.*, joeluser and nitpick) are not affected in any way,
>but D. Hcpuser can still connect from any (*.neth.hp.com) host by
>specifying his username/password (dhcpuser/dhcppass)?

I'm a bit vague on nnrp.access semantics (if you're sufficiently
motivated to upgrade to a current release of INN, the
readers.conf mechanism has much more featureful access control),
but if it can be done, you have to get the order of the entries
correct.

Assume for the moment that it's last-matching-entry (check your
manpage, I forget, but that feels right).  Then if you put the
username/password entries first, and the IP-restricted entries
after, anyone connecting from an allowed host ought to get in
without password.

I think.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <9bkdfg$tdt$4@marduk.litech.org>
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!supernews.google.com!newsfeed.google.com!newsfeed.stanford.edu!lnsnews.lns.cornell.edu!news.litech.org!not-for-mail
References: <9bk1o2$a5s$1@support.neth.hp.com>

Show Full Headers
Complete Article Headers
Message-ID: <9bkdfg$tdt$4@marduk.litech.org>
Subject: Re: nnrp.access for fixed IP addresses *and* DHCP?
Date: Wed, 18 Apr 2001 15:56:32 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <9bk1o2$a5s$1@support.neth.hp.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!supernews.google.com!newsfeed.google.com!newsfeed.stanford.edu!lnsnews.lns.cornell.edu!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Lithium Technologies
Lines: 27
Sender: jeff@litech.org
NNTP-Posting-Host: marduk.litech.org
X-Trace: marduk.litech.org 987609392 30141 128.84.154.54 (18 Apr 2001 15:56:32 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Wed, 18 Apr 2001 15:56:32 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)