🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #52234

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

#52234
From: Frank Slootweg
Date: Tue, 08 May 2001 08:57
96 lines
4404 bytes
Just to end this thread neatly:

On April 19, I wrote:
> those who know me have no need of my name <not-a-real-address@usa.net> wrote:
>> <9bk1o2$a5s$1@support.neth.hp.com> divulged:
>> 
>>>That worked for D. Hcpuser and me (Frank Slootweg) but now everybody
>>>else with a *.neth.hp.com hostname has to specify a username/password,
>>>which is not what I want.
>> 
>> swap the order.  do the passworded entries first, then the no-password 
>> entries.
> 
>   Thanks <I_don't_know_you>, and Jeffrey and Rebecca.
> 
>   I will try this. That will take some time, because I am about to go on
> a holiday/vacation and do not want to mess things up for my News-sitter.
> At the moment, I only tried to accomodate the wishes of a *single* (DHCP)
> user and that already led to (temporarily) blocking access for
> *everybody except hir*, so I want to tread very carefully (also because
> for some strange reason, people do not know how to 'find'/contact their
> News Admin, but that's another story).

  This indeed works so my 'problem' is solved. Thanks again.

  FYI, I now have:

# Allow access from any host with user/password:
# D. Hcpuser:
*.neth.hp.com:Read Post:dhcpuser:dhcppass:*
# Allowed networks in neth.hp.com domain:
15.nnn.*:Read Post:::*
15.mmm.*:Read Post:::*
# Exceptions (i.e. do not have 15.nnn.*/15.mmm.* IP-addresses, but
# should be allowed):
# Joe Luser:
joeluser.neth.hp.com:Read Post:::*
# Nit Pick:
nitpick.neth.hp.com:Read Post:::*
[etc.]

  I.e. I indeed did "swap the order.  do the passworded entries first,
then the no-password entries.".

  In case it has expired from your server, here is my original article
for your reference:

> From: Frank Slootweg <franks@neth.hp.com>
> Newsgroups: news.software.nntp
> Subject: nnrp.access for fixed IP addresses *and* DHCP?
> Date: 18 Apr 2001 12:36:18 GMT
> Message-ID: <9bk1o2$a5s$1@support.neth.hp.com>
> 
> [INN 1.7.2]
> 
>   For our in-house News server, we mainly used fixed IP addresses and
> hostnames in nnrp.access, but for some users we want to use DHCP
> instead. I could not determine from the nnrp.access(5) manual page if
> this is possible, but some tests lead me to think that it is not
> possible. I would like to be proved wrong or get confirmation of my
> suspicion.
> 
>   Details:
>   
>   I had:
> 
> # Allowed networks in neth.hp.com domain:
> 15.nnn.*:Read Post:::*
> 15.mmm.*:Read Post:::*
> # Exceptions (i.e. do not have 15.nnn.*/15.mmm.* IP-addresses, but
> # should be allowed):
> # Joe Luser:
> joeluser.neth.hp.com:Read Post:::*
> # Nit Pick:
> nitpick.neth.hp.com:Read Post:::*
> [etc.]
> 
>   That worked fine. Then I wanted to add a DHCP user, so I added:
> 
> # Allow access from any host with user/password:
> # D. Hcpuser:
> *.neth.hp.com:Read Post:dhcpuser:dhcppass:*
> # Frank Slootweg:
> *.neth.hp.com:Read Post:myname:mypass:*
> 
>   That worked for D. Hcpuser and me (Frank Slootweg) but now everybody
> else with a *.neth.hp.com hostname has to specify a username/password,
> which is not what I want.
> 
>   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)?
> 
>   Thanks in advance for any and all responses.
Technical Details
Message-ID: <9d8cef$kit$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!newsfeed.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!ihnp4.ucsd.edu!sdd.hp.com!hp-corv.cv.hp.com!hpb10302.boi.hp.com!news.cup.hp.com!support.neth.hp.com!not-for-mail
References: <9bk1o2$a5s$1@support.neth.hp.com> <tdrnc7cavt9a50@news.supernews.com> <9bmrjc$pia$4@support.neth.hp.com>

Show Full Headers
Complete Article Headers
Message-ID: <9d8cef$kit$1@support.neth.hp.com>
Subject: Re: nnrp.access for fixed IP addresses *and* DHCP?
Date: Tue, 08 May 2001 08:57:51 +0000
From: Frank Slootweg <franks@neth.hp.com>
References: <9bk1o2$a5s$1@support.neth.hp.com> <tdrnc7cavt9a50@news.supernews.com> <9bmrjc$pia$4@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!newsfeed.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!ihnp4.ucsd.edu!sdd.hp.com!hp-corv.cv.hp.com!hpb10302.boi.hp.com!news.cup.hp.com!support.neth.hp.com!not-for-mail
Newsgroups: news.software.nntp
Organization: NOYB
Lines: 95
Reply-To: Frank Slootweg <franks@support.neth.hp.com>
NNTP-Posting-Host: support.neth.hp.com
User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (HP-UX/B.10.20 (9000/800))