🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #83777

Re: docheckgroups et al

#83777
From: John F. Morse
Date: Mon, 03 Jan 2011 22:57
56 lines
3056 bytes
Julien ÉLIE wrote:
> Hi John,
>
>> Could you please quote it back in its entirety, and then enter what I
>> would need to add or change to allow the user "newsmaster" to access all
>> groups with the RPNAL access privileges, and from only my CIDR netblock?
>> (Julien suggested 192.168.0.0/16 but I believe that CIDR should be
>> 192.168.0.0/32.)
>
> With /32, it would mean only one IP:  192.168.0.0.
> However, this IP is the one of the route to your subnet…


Sorry, that was a typo (/32) when I meant /24. ;-)

I looked here: http://en.wikipedia.org/wiki/CIDR#Prefix_aggregation

On the a.b.c.0/24" line I saw:

IP/CIDR     Δ to last   Mask             Hosts (*)  Class
            IP addr
a.b.c.0/24  +0.0.0.255  255.255.255.000  256        1 C

I took that mask to mean "exact.exact.exact.anything" which I thought 
would allow me access from any client on my LAN.

The "Hosts" of 256 is misleading because only 254 IPs are really 
available. The 0 and the 255 are nonassignable to a host. The "*" 
footnote describes this.

Wouldn't the 0/16 be for a Class B address (= 256 Class C addresses)?


>> access "special" {
>>   users: "<localhost>"
>>   newsgroups: "*"
>>   access: "RPNAL"
>> }
>
> users: "<localhost>,john"
>
> should do the trick here, I believe.


How would you like your steak?!

That did the trick, although I used the user "newsmaster" instead of 
"john" so I could keep them separate.

Thank you very much.


-- 
John

When a person has -- whether they knew it or not -- already rejected the Truth, by what means do they discern a lie?
Technical Details
Message-ID: <iftk8h$a0r$1@n102.xanadu-bbs.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news-out.octanews.net!indigo.octanews.net!news.glorb.com!v102.xanadu-bbs.net!n102.xanadu-bbs.net!.POSTED!not-for-mail
References: <ie88v7$hg8$1@n102.xanadu-bbs.net> <ifatoj$1av$1@n102.xanadu-bbs.net> <8nu4a2Fp64U1@mid.individual.net> <ifcqt0$ig8$1@n102.xanadu-bbs.net> <ifrihc$4jg$2@puck.litech.org> <ifs31u$rvp$1@n102.xanadu-bbs.net> <ifsdak$uos$1@n102.xanadu-bbs.net> <8oekiiF73sU1@mid.individual.net>

Show Full Headers
Complete Article Headers
Message-ID: <iftk8h$a0r$1@n102.xanadu-bbs.net>
Subject: Re: docheckgroups et al
Date: Mon, 03 Jan 2011 16:57:19 -0600
From: "John F. Morse" <john@example.invalid>
References: <ie88v7$hg8$1@n102.xanadu-bbs.net> <ifatoj$1av$1@n102.xanadu-bbs.net> <8nu4a2Fp64U1@mid.individual.net> <ifcqt0$ig8$1@n102.xanadu-bbs.net> <ifrihc$4jg$2@puck.litech.org> <ifs31u$rvp$1@n102.xanadu-bbs.net> <ifsdak$uos$1@n102.xanadu-bbs.net> <8oekiiF73sU1@mid.individual.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news-out.octanews.net!indigo.octanews.net!news.glorb.com!v102.xanadu-bbs.net!n102.xanadu-bbs.net!.POSTED!not-for-mail
Newsgroups: news.software.nntp
Organization: Xanadu BBS
Lines: 56
Reply-To: dont.bother
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: n102.xanadu-bbs.net 1294095441 10267 192.168.89.210 (3 Jan 2011
X-Complaints-To: newsmaster@xanadu-bbs.net
NNTP-Posting-Date: Mon, 3 Jan 2011 22:57:21 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.24 (X11/20101027)
In-Reply-To: <8oekiiF73sU1@mid.individual.net>
X-Enigmail-Version: 0.96.0
X-Original-Bytes: 2764