🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #72359

Re: Authentication advice

#72359
From: John F. Morse
Date: Fri, 30 Sep 2005 22:58
192 lines
7313 bytes
Jeffrey M. Vinocur wrote:

>In article <VdJ_e.335084$5N3.160472@bgtnsc05-news.ops.worldnet.att.net>,
>John F. Morse <xanadu.bbs@invalid.net> wrote:
>  
>
>>The five groups I've hosted for five years that originally came from the 
>>newspapers:
>>
>>brisbee
>>computers
>>petchat
>>raucouscaucus
>>soapbox
>>
>>These five "newspaper" groups should all be behind password authentication.
>>    
>>
>
>Are you moving your old articles over as well, and trying to make
>this seamless to the clients?  If not, I'd consider putting these
>inside a hierarchy (newspapers.* or local.newspapers.*) just so
>your config files don't have to list them out a bunch of times.
>  
>

Yes. There are some historically-significant articles. One group, 
brisbee, is huge.

I lost a few messages from the startup in July 2000, when we had a big 
ice storm in February 2001.

There are several users who cancel their messages after a few days. I 
don't like this, but these are their messages. Or are they; some might 
compare this to defacing a library or museum of history. One is a heavy 
poster, so the total messages in Brisbee would probably exceed 50,000 if 
he didn't cancel.

Here is a telnet list (you can see I've added the test and local.test 
groups):

200 RumorMill (1.3.3) Macintosh NNTP Server on news.xanadu-bbs.net ready 
(login required)
xpass ********
281 Password accepted
list
215 list of newsgroups follows
brisbee 125 33188 y
computers 27 3280 y
control 1 3726 y
local.test 1 7 y
petchat 10 918 y
raucouscaucus 6 174 y
soapbox 1 3708 y
test 1 4 y
.BASH
quit
205 - goodbye!

I would love to make this seamless! I had read something about a sync 
command, and thought I'd get to studying it when the time comes to load 
the new server. If the messages can retain the same message number, then 
the users might not need to delete the server account from their news 
client, then start it over.

If this isn't possible, then I thought I could use "suck" to pull all of 
them. This would renumber them sequentially,
requiring the users to jump through hoops to sync their clients.

I will be needing something like suck anyway, for the two ISPs where I 
pull a couple of groups using a "mode:reader" type of command as opposed 
to streaming. And for the other way (upstream from here) a "post" command.

Ideas?

I'm going to read the rest of this message later tonight, digest it, 
then comment later (if required). If it becomes too much of a hassle, I 
could always run more than one server -- one for the newspaper bunch, 
and another for the future dreams. That would seem like a waste of 
electricity though, as INN should be able to handle the complications -- 
as long as you and I can. ;-)

Last night I did manage to get the password database encrypted. First 
time I've used Perl (well, to do something specific), so I had a 
learning curve there. I should have asked you, but I eventually tried 
running Perl from a shell, and using the "my" as the filename for the 
plain text database. It didn't output any file though, so I used a KDE 
terminal and copied the output, pasting it into a new textfile.

Where there's a will, there's a way. <g>

Thanks, and wish me "luck"!

-- 
John

>Also, so that users who might also get other groups from other
>servers will have all of your groups alphabetized into a single
>location.
>
>
>  
>
>>None of these groups will be peering to/from USENET so there's no danger 
>>of like-named groups interfering (i.e "local.*" not needed).
>>    
>>
>
>You'd be amazed how easy it is for things to leak, but okay, as
>long as you're careful.
>
>
>  
>
>>I plan on hosting several "open" groups as well, but do not have names 
>>for them yet. I'll just make up a few:
>>
>>announcements
>>ministry-news
>>prayer-requests
>>testimonies-praise
>>personal-family-help
>>cults-occult
>>bible.study-discussion
>>bible.prophesy
>>
>>Notice I created a bible "sub-directory" for the last two groups. Might 
>>be overkill, but this list is only for a general idea. I will have one 
>>or more "partners" to dream up what they want and need in the area of 
>>newsgroups.
>>    
>>
>
>Okay, I'd definitely put these in some sort of hierarchy,
>personally.  Same reasons as above.  I'll assume you're going to
>do so below, to save me typing...
>
>
>  
>
>>Access to the open groups would be available to anybody, including the 
>>users of the newspaper groups. No password should be needed (I believe 
>>"authuser" will not be sent).
>>    
>>
>
>Open posting access to?  That could potentially get you in
>trouble, but we'll let it be for now.
>
>So assuming your newspaper groups are in local.newspapers.*, and
>local.newspapers.access-restricted is that special group where
>you leave an announcement telling people how to get access but
>nobody else could post there (if you still like that idea), and
>your other groups are in local.religion.*, you'd want a
>readers.conf that looks something like this:
>
>  auth "global" {
>    hosts: "*"
>    auth: "ckpasswd -f /path/to/password/file"
>    default: "<anonymous>"
>  }
>
>  auth "localhost" {   # might be useful for testing
>    hosts: "stdin,localhost,127.0.0.1"
>    auth: "ckpasswd -f /path/to/password/file"  # can test auth
>    default: "<localhost>"                      # but don't have to
>  }
>
>
>
>  access "authenticated" {
>    users: "*"
>    read: "local.*"
>    post: "local.*,!local.newspapers.access-restricted"
>  }
>
>  access "special" {
>    users: "xanadu,<localhost>"
>    newsgroups: "*"
>    access: "RPNAL"
>  }
>
>  access "public" {
>    users: "<anonymous>"
>    read: "local.religion.*,local.newspapers.access-restricted"
>    post: "local.religion.*"
>  }
>
>
>
>  
>
Technical Details
Message-ID: <gqj%e.346362$5N3.329060@bgtnsc05-news.ops.worldnet.att.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.20140818.mbox.gz!number1.nntp.dca.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!multikabel.net!feed20.multikabel.net!news.glorb.com!wn12feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mail
References: <2b9f5$4335ae05$4097152a$18719@EVERESTKC.NET> <CqTZe.81538$qY1.40661@bgtnsc04-news.ops.worldnet.att.net> <dh9oli$l6c$1@puck.litech.org> <VdJ_e.335084$5N3.160472@bgtnsc05-news.ops.worldnet.att.net> <dhk6r1$iuf$3@puck.litech.org>

Show Full Headers
Complete Article Headers
Message-ID: <gqj%e.346362$5N3.329060@bgtnsc05-news.ops.worldnet.att.net>
Subject: Re: Authentication advice
Date: Fri, 30 Sep 2005 22:58:20 GMT
From: "John F. Morse" <xanadu.bbs@invalid.net>
References: <2b9f5$4335ae05$4097152a$18719@EVERESTKC.NET> <CqTZe.81538$qY1.40661@bgtnsc04-news.ops.worldnet.att.net> <dh9oli$l6c$1@puck.litech.org> <VdJ_e.335084$5N3.160472@bgtnsc05-news.ops.worldnet.att.net> <dhk6r1$iuf$3@puck.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.20140818.mbox.gz!number1.nntp.dca.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!multikabel.net!feed20.multikabel.net!news.glorb.com!wn12feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mail
Reply-To: xanadu.bbs@invalid.net
Organization: Xanadu BBS
User-Agent: Debian Thunderbird 1.0.2 (X11/20050331)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: news.software.nntp
In-Reply-To: <dhk6r1$iuf$3@puck.litech.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 192
NNTP-Posting-Host: 33dc9f771caae46d7290dfa6340abeae
X-Complaints-To: abuse@worldnet.att.net
X-Trace: bgtnsc05-news.ops.worldnet.att.net 1128121100
NNTP-Posting-Date: Fri, 30 Sep 2005 22:58:20 GMT