Article View: news.software.nntp
Article #72446Re: Authentication advice
From: Jeffrey M. Vinocur
Date: Tue, 11 Oct 2005 01:33
Date: Tue, 11 Oct 2005 01:33
154 lines
7181 bytes
7181 bytes
In article <xzj2f.125966$qY1.23021@bgtnsc04-news.ops.worldnet.att.net>, John F. Morse <xanadu.bbs@invalid.net> wrote: > >My question is, if the forth field is, say, "100" (days), what does the >fifth field (purge) imply? I can't believe we're still going around about this. You seem to be seriously trying and just not getting it, though, so I'll give explaning another shot. Lines in expire.ctl must have five fields if groupbaseexpiry is true, and must have four fields if groupbaseexpiry is false. Either way, the last three fields have the same meaning. If the last three fields are called <min>, <default>, and <max> (which is what the documentation calls them, and makes more sense to me), then here is their meaning: Articles that -lack- an Expires: header will expire in <default> days. The other two fields are ignored. [ Almost all articles fall in this category on most servers, because users hardly ever add an Expires: header. ] Articles that -have- an Expires: header will expire at some time between <min> and <max> days. (The <default> field is ignored.) The expiration time is chosen from the interval between <min> and <max> based on the Expires: header in the individual article. If that header specifies a time within that interval, then the article will expire at that time. If that header specifies a time sooner than <min> days or later than <max> days, then the article will expire at whichever of <min> and <max> is closest to the time specified in the header. [ Very few articles fall in this category, mainly consisting of automatically posted articles such as FAQs, where an Expires: header has been added by the maintainer. ] >>You still need to do what the documentation says: >> >>>> [...] There should >>>> always be a default line (a line with a <pattern> of "*" and <flag> of >>>> "A", or a line with a <classnum> of "*") [...] >>>> > >I don't understand this. Are you implying the file should be built this >way (reversing the first and second lines)?: No. I'm not implying anything. I'm quoting the documentation, which states very clearly that expire.ctl is -wrong- unless you have a line that has "*" in the first field, "A" in the second field, and some values you select in the other three fields. Add a line like that. >I used the fourth example for "When groupbaseexpiry is true (the default): > ># Keep local groups for a long time and local project groups forever. > example.*:A:90:90:90 > example.project.*:A:never:never:never That's not the fourth example. That's the fourth section of a single example that combines multiple tactics. >"Allow old articles" if set to true will keep RumorMill from examining >the date. It will suck all articles from a peer. If set to false then >there is a "datebounds" check to limit taking articles older than that date. Then yes, artcutoff is a combination of your features "Allow old articles" (== artcutoff set to 0) and "datebounds" (== value of artcutoff if not 0). > artcutoff > Articles older than this number of days are dropped. This >setting should probably match the setting on the > "/remember/" line in expire.ctl. The default value is 10. > >------------------------------------------------------------------------ > >Does this imply that articles older than ten days will not be allowed to >be streamed or sucked, or does it imply that articles already in the >spool will be expired if older than 10 days? The former. >As I understand, the "/remember/" line in expire.ctl is for remembering >the expired messages (by "Message-ID:") so they cannot be accepted again >for the period. Yes. >So, to summarize my question (please make corrections to any other item >where I seem off-base), is the artcutoff the proper place to set a >maximum age for incoming articles (streamed or sucked)? Yes. >I "believe" I now understand how this works: > >We use artcutoff to check incoming messages and reject taking those that >are too old. > >We use expire.ctl to "get rid of" messages that are on the spool which >are too old. > >We use "/remember/" is used to keep the "Message-ID:" for a period long >enough to block another article that might arrive late. Yes. >there's no way (that I can see) of removing just one group's history >from the history db, then it appears the whole history, spool and >overview must be wiped, and the whole active file reset. That's the straightfoward way of doing it, and since it's easy enough for you to start over, that's what I'd recommend. If you had some dire need to be able to re-suck a single group without starting over, there are some things you could try (like groveling through the history file manually, or setting /remember/ very low so the history file is cleaned up quickly and hoping you don't get many duplicates). >Right now INN and news(76) are streaming normally (immediately and not >batched). If I were to miss a few articles that were posted during >something I was doing, the pullnews suck should grab them. They should queue articles and resend them later if your server is down for a while. >I don't know perl, but a fast look at pullnews doesn't indicate any >checking of a Message-ID without needing to suck a complete article, >body and all, then leaving it up to INN to accept or reject a duplicate >article. Pullnews is only limited by the previous pull's date and >high-water mark in .pullnews, meaning it wouldn't need to run for "hours." Right. It doesn't have any knowledge of INN (in fact, it can work with any upstream and downstream server software), so it has no way to tell if the downstream server has seen the Message-ID before...except to download the article and offer it. -- Jeffrey M. Vinocur jeff@litech.org
Technical Details
Message-ID:
<dif4pd$3cv$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!nx01.iad01.newshosting.com!newshosting.com!news.glorb.com!news.litech.org!not-for-mailReferences:
<2b9f5$4335ae05$4097152a$18719@EVERESTKC.NET> <z5d2f.400661$5N3.92850@bgtnsc05-news.ops.worldnet.att.net> <dibo4l$90i$1@puck.litech.org> <xzj2f.125966$qY1.23021@bgtnsc04-news.ops.worldnet.att.net>Show Full Headers
Complete Article Headers
Message-ID: <dif4pd$3cv$1@puck.litech.org> Subject: Re: Authentication advice Date: Tue, 11 Oct 2005 01:33:33 +0000 From: jeff@litech.org (Jeffrey M. Vinocur) References: <2b9f5$4335ae05$4097152a$18719@EVERESTKC.NET> <z5d2f.400661$5N3.92850@bgtnsc05-news.ops.worldnet.att.net> <dibo4l$90i$1@puck.litech.org> <xzj2f.125966$qY1.23021@bgtnsc04-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!nx01.iad01.newshosting.com!newshosting.com!news.glorb.com!news.litech.org!not-for-mail Newsgroups: news.software.nntp Organization: Litech Systems Design Lines: 154 Sender: jeff@litech.org NNTP-Posting-Host: puck.litech.org X-Trace: puck.litech.org 1128994413 3487 66.218.0.75 (11 Oct 2005 01:33:33 GMT) X-Complaints-To: usenet@litech.org NNTP-Posting-Date: Tue, 11 Oct 2005 01:33:33 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Originator: jeff@litech.org (Jeffrey M. Vinocur)