🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #72434

Re: Authentication advice

#72434
From: John F. Morse
Date: Sun, 09 Oct 2005 18:13
195 lines
8083 bytes
Jeffrey M. Vinocur wrote:

>In article <WI12f.123299$qY1.69753@bgtnsc04-news.ops.worldnet.att.net>,
>John F. Morse <xanadu.bbs@invalid.net> wrote:
>  
>
>
>Oof, I don't know.  My best guess is that if you suck them with
>xrefslave on, they'll end up in control.  But I'm not sure that's
>a good idea.  Do you need to migrate the old control messages?
>  
>


Not at all, but I thought they would migrate if I didn't use the 
pullnews -g option.


>Well, then you could expire the old cancel messages before
>sucking, if you want to suck the newer ones.
>  
>


Nightly expire has never been turned on since a expiry bug back in 
February 2002 ate most of the messages back to July 2001. The server has 
operated flawlessly since then, so I never gambled with touching it.

Two of the reasons I'm moving to INN are the PowerMac's hard drive(s) 
are making a high-pitched squeal that I don't remember hearing before, 
and the log file is simply appended to every night. When it gets up to 
150 MB (!) the server chokes and the Mac crashes. That is too large to 
open in a text editor without a very long wait! The developer said he 
could fix this and make daily logs, but I've not seen any update yet.

Additionally, RumorMill's block on IP feature doesn't work, so I had to 
go to passwords to block one troublemaker.


>>Does INN provide expiration by individual groups? [...]
>>Snooping around I find expire.ctl might b the answer.
>>    
>>
>
>Yes.
>
>
>  
>
>>then the flag ("A" here, but not sure if that would be my choice, 
>>maybe "X"?),
>>    
>>
>
>Well, you can't have X alone, as the documentation says.
>
>You only need to consider adding X if your users crosspost to
>groups that won't all have the same expiration time.
>  
>


OK, thanks.


>>I don't understand why the default "*:A:1:10:never" would have a flush 
>>"never" if the group had a 10 day expiry? What is the difference between 
>>"days to keep an article" and "flush"?
>>    
>>
>
>    The middle field, <default>, will be used as the expiration period for
>    most articles.  The other two fields, <min> and <max>, only come into
>    play if the article requests a particular expiration date with an
>    Expires header.  Articles with an Expires header will be expired at the
>    date given in that header, subject to the constraints that they will be
>    retained at least <min> days and no longer than <max> days.
>  
>


"Middle field"? I see five fields. What does the "flush" field represent?


>>I wonder, could the wildmat be written to always keep all of the 
>>existing five ("newspaper") groups, but set some expiry time for the new 
>>"local" groups? Well, looking a little farther down the man page shows 
>>this in the fourth example, modified for me:
>>
>>local.*:A:90:90:90
>>brisbee:A:never:never:never
>>computers:A:never:never:never
>>petchat:A:never:never:never
>>raucouscaucus:A:never:never:never
>>soapbox:A:never:never:never
>>
>>Or possibly ?:
>>
>>local.*:A:90:90:90
>>!local.*:A:never:never:never
>>    
>>
>
>Either of these is a reasonable approach.  However, you need to
>be sure to address how junk and control groups should be handled
>(in your second example there, they would be kept forever).  And:
>
>    Articles that do not match any expiration rule will not be expired, but
>    this is considered an error and will result in a warning.  There should
>    always be a default line (a line with a <pattern> of "*" and <flag> of
>    "A", or a line with a <classnum> of "*"), which can explicitly state
>    that articles should never expire by default if that's the desired con-
>    figuration.  The default line should generally be the first line of the
>    file (except for "/remember/") so that other expiration rules can over-
>    ride it.
>  
>


OK, then I'll just add them with a shorter interval. How's this look?:

local.*:A:90:90:90
!local.*:A:never:never:never
control,control.*:A:10:10:10




>>Finally, the artcutoff I believe is similar to RumorMill's "Allow Old 
>>Articles" and I am curious if it is somehow connected to the expire.ctl 
>>routine?
>>    
>>
>
>Not really...artcutoff applies to articles when they first are
>offered to the server, and expire.ctl counts the amount of time
>they have existed on the server.
>

That's two questions with only one answer. ;-)

You are saying that artcutoff is or isn't similar to RumorMill's "Allow 
old articles"? (I believe it is.)

And that it is or isn't connected to expire.ctl? (I think not.)

Recent progress:

I managed to suck (with pull news) four of the groups throughout the night.

I started with petchat, but couldn't get anything accepted by INN, even 
after deleting the article spool and overview and resetting the active 
file for just that group. Evidently history was the blockage.

So I deleted all history files, and successfully recreated them with the 
install info. It went as described including the .n filenames, which I 
renamed.

(This must mean a single group cannot be sucked if that group name was 
previously used? It's an all-or-nothing operation?)

Then the server wouldn't restart. I was getting the "no .pid file" error 
and ctlinnd wouldn't budge.

I finally saw the log was mentioning one group in the active file. I 
looked into this and discovered I didn't have a space before the 'y' at 
the end of that group's data. Must have lost it when resetting the 
low-water figure to 1. This cost me about two hours and several fist 
fulls of hair. <slap!>

The computers group has 2728 articles and the soapbox group has 2736. 
They each took 930 seconds to suck (15.5 minutes), so a ball-park figure 
for brisbee is 2.5 hours. I decided to wait until tomorrow night, and 
have decided to just suck the articles without worrying about syncing 
the message numbers.

The users will need to create a new news server account in their news 
client anyway (I will likely move this server to a different domain). 
Several have already done this just to see how much faster INN is 
compared to  the Old World Mac.

They need the practice, and they need to learn to download say only 50 
messages and have their client mark the remainder "read" plus learn to 
sort my date/time. ;-)

I'm going to let them play for several weeks while I go back through all 
of the docs and reread everything. This will increase my familiarity 
with INN, and I may try some other things. I might also just fire up 
another INN on another PC for instructional purposes so I won't wreck 
this one.

Thanks.

-- 
John
Technical Details
Message-ID: <z5d2f.400661$5N3.92850@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!nntp.giganews.com!wn13feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mail
References: <2b9f5$4335ae05$4097152a$18719@EVERESTKC.NET> <jcK1f.120122$qY1.67850@bgtnsc04-news.ops.worldnet.att.net> <di9uvp$48g$1@puck.litech.org> <WI12f.123299$qY1.69753@bgtnsc04-news.ops.worldnet.att.net> <dib4er$vev$1@puck.litech.org>

Show Full Headers
Complete Article Headers
Message-ID: <z5d2f.400661$5N3.92850@bgtnsc05-news.ops.worldnet.att.net>
Subject: Re: Authentication advice
Date: Sun, 09 Oct 2005 18:13:51 GMT
From: "John F. Morse" <xanadu.bbs@invalid.net>
References: <2b9f5$4335ae05$4097152a$18719@EVERESTKC.NET> <jcK1f.120122$qY1.67850@bgtnsc04-news.ops.worldnet.att.net> <di9uvp$48g$1@puck.litech.org> <WI12f.123299$qY1.69753@bgtnsc04-news.ops.worldnet.att.net> <dib4er$vev$1@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!nntp.giganews.com!wn13feed!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: <dib4er$vev$1@puck.litech.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 195
NNTP-Posting-Host: 2829414096f3265b3c59899cd9a26bd0
X-Complaints-To: abuse@worldnet.att.net
X-Trace: bgtnsc05-news.ops.worldnet.att.net 1128881631
NNTP-Posting-Date: Sun, 09 Oct 2005 18:13:51 GMT