🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #72370

Re: Authentication advice

#72370
From: John F. Morse
Date: Mon, 03 Oct 2005 01:17
127 lines
6526 bytes

Jeffrey M. Vinocur wrote:

>In article <gqj%e.346362$5N3.329060@bgtnsc05-news.ops.worldnet.att.net>,
>John F. Morse <xanadu.bbs@invalid.net> wrote:
>  
>
>>Jeffrey M. Vinocur wrote:
>>
>>    
>>
>>>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. [...]
>>
>>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.
>>    
>>
>
>Right.  If you set xrefslave in inn.conf before sucking the
>articles over, the numbers will stay the same.  There is an entry
>about this in Russ's FAQ, but it assumes that both servers
>involved are INN (and so it gives a procedure for having the old
>server feed articles to the new server).  However, you can use a
>modification of that procedure and achieve the desired result in
>your case.  For the most part you do as directed here:
>
>    http://www.eyrie.org/~eagle/faqs/inn.html#S6.4
>
>especially you can't forget to set the artcutoff, to make sure
>all the groups exist (empty!) on the new server, or to set
>xrefslave.  But instead of using innxmit to transfer the
>articles, you use some sucking utility (see below).
>  
>


Thanks for this info. I'm going to get authentication working first, 
before the server is loaded with thousands of messages. After it is 
loaded, I'll let a couple of testers post to it, and let the main online 
server keep via streaming (which seems to be working fine now).


>>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?
>>    
>>
>
>One thing I've got to say is, if you're going to be posting
>articles out to Usenet-connected servers, you need to be really
>careful with all of these oddly named and uncategorized groups,
>or they stand a nonzero change of showing up all over the world.
>  
>


I don't post now. I did back in 2000, but a news admin at Worldnet asked 
me if I was posting back to them because they were seeing canceled 
articles reappearing. It wasn't me though because they appeared in 
groups that I didn't post into.

My theory is users can access USENET via their ISP, or pay for a news 
provider account. I don't want to mirror any outside newsgroup, nor 
provide the disk space. Users can't see the two I suck now. They are on 
the first server downstream from the online server.


>Regarding the sucking, FAQ 6.7 addresses this issue fairly well.
>The "pullnews" utility that comes with INN could be used to do
>your migration from the old server, but is not robust enough to
>see ongoing use like you'll need for your other groups.  Also it
>doesn't have a facility for posting articles back up.  So you'll
>want to look into suck or newsx as described in the FAQ.
>  
>

The two groups I suck only get 10-20 articles per day, on a good day.

Thanks for this info. I'll be getting into it later this week.

My central air quit today. I dug into the outside unit and discovered 
one side of the 230 volt line had a old wire with crumbling insulation. 
It had shorted to the housing, probably more than once, then finally 
burned open today. I replaced it with a short piece of #10 and a new 
wirenut. All is fine now, and some A/C company isn't getting $3000 from 
me to replace my old compressor. ;-)


>>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.
>>    
>>
>
>I thought about posting detailed instructions, but then I figured
>you'd ask if you needed them.  For future reference, you could
>have listed a filename on the commandline and the script would
>have used that as input (or you could have provided it on stdin).
>It purposefully didn't put the output into a file, because you
>could simply have added "> newpasswdfile" onto the end of the
>commandline and your shell would have written it to a file for
>you.
>

I did use "perl encrypt my" where "encrypt" is your perl script, and my 
is the textfile with the names and passwords. I presume that is what you 
mean?

I'll try the stdout redirect to a file tonight and see how it works.

-- 
John
Technical Details
Message-ID: <XE%%e.359234$5N3.31475@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!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!wn12feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mail
References: <2b9f5$4335ae05$4097152a$18719@EVERESTKC.NET> <VdJ_e.335084$5N3.160472@bgtnsc05-news.ops.worldnet.att.net> <dhk6r1$iuf$3@puck.litech.org> <gqj%e.346362$5N3.329060@bgtnsc05-news.ops.worldnet.att.net> <dhpatg$va2$2@puck.litech.org>

Show Full Headers
Complete Article Headers
Message-ID: <XE%%e.359234$5N3.31475@bgtnsc05-news.ops.worldnet.att.net>
Subject: Re: Authentication advice
Date: Mon, 03 Oct 2005 01:17:43 GMT
From: "John F. Morse" <xanadu.bbs@invalid.net>
References: <2b9f5$4335ae05$4097152a$18719@EVERESTKC.NET> <VdJ_e.335084$5N3.160472@bgtnsc05-news.ops.worldnet.att.net> <dhk6r1$iuf$3@puck.litech.org> <gqj%e.346362$5N3.329060@bgtnsc05-news.ops.worldnet.att.net> <dhpatg$va2$2@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!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.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: <dhpatg$va2$2@puck.litech.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 127
NNTP-Posting-Host: b2729868c68ef0621f40300bc275abf1
X-Complaints-To: abuse@worldnet.att.net
X-Trace: bgtnsc05-news.ops.worldnet.att.net 1128302263
NNTP-Posting-Date: Mon, 03 Oct 2005 01:17:43 GMT