Article View: news.software.nntp
Article #72437Re: Authentication advice
From: John F. Morse
Date: Mon, 10 Oct 2005 01:35
Date: Mon, 10 Oct 2005 01:35
257 lines
10227 bytes
10227 bytes
Jeffrey M. Vinocur wrote:
>>That is too large to open in a text editor without a very long wait!
>>
>>
>
>If you haven't tried BBEdit, it usually does pretty well with
>that sort of thing.
>
>
BBEdit is what I use. It is the only application I've found/have that
will (eventually) open such a large document, and only after I change
the application's preferred memory setting to a much-higher value.
Then to speed things up, I select and cut a portion of the file at a
month border, and paste it into a new document. I continue this until I
have the file down to monthly-sized files, which do open fairly fast.
Sorry for my use of the term "flush" where the manpage calls it "purge."
>>> 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?
>>
>>
>
>Dude, concentrate :-)
>
>There are three numeric fields. I'm quoting directly from the
>expire.ctl manpage there, because all these answers are there. I
>don't know what you mean by "flush" -- that word doesn't exist
>anywhere in the documentation I can find. If you're talking
>about the third numeric field, then reread the snippet above...
>
>
Sorry for my use of the term "flush" where the manpage calla it "purge."
However, I count five fields, and the line below says "four or five" fields:
------------------------------------------------------------------------
Most of the lines in this file will be in the second format, which
consists of either four or five colon-sepa-
rated fields:
<pattern>:<flag>:<keep>:<default>:<purge>
if groupbaseexpiry is true in inn.conf (the default), and otherwise: ...
------------------------------------------------------------------------
My question is, if the forth field is, say, "100" (days), what does the
fifth field (purge) imply?
>>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
>>
>>
>
>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)?:
!local.*:A:never:never:never
local.*:A:90:90:90
control,control.*:A:10:10:10
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
------------------------------------------------------------------------
>>>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 had one statement and one question.
>
>
OK, you win this one because I said "believe" as something needing a
confirmation.
>>You are saying that artcutoff is or isn't similar to RumorMill's "Allow
>>old articles"? (I believe it is.)
>>
>>
>
>Well, I haven't a clue what any feature in RumorMill does. You
>can read what artcutoff does in the INN documentation and decide
>for yourself if it's the same. If you find the documentation
>unclear, please ask about what part specifically confuses you.
>
>
"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.
inn.conf says:
------------------------------------------------------------------------
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?
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.
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)?
>>And that it is or isn't connected to expire.ctl? (I think not.)
>>
>>
>
>I did my best at answering this above. If you want anything
>more, you're going to have to provide a more specific query
>than "connected".
>
>
"Connected" in expiry is what I must have been thinking before I slept.
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.
Is that even close?
>>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.
>>
>>
>
>Yes, after INN has seen articles, it remembers them in the
>history file so they won't be accepted as duplicates in the
>future.
>
>
>
>
>>(This must mean a single group cannot be sucked if that group name was
>>previously used? It's an all-or-nothing operation?)
>>
>>
>
>It has nothing to do with the name of the group. The trouble is
>that you are trying to pull the same -articles- (with the same
>Message-IDs) and INN is purposefully refusing to accept an
>article that it has already seen.
>
>
Understood. However my question related to trying to wipe away one group
only, then suck it back in without touching any other group. Since
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.
>>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).
>>
>>
>
>They actually won't need to; if you keep the article numbers the
>same, then they can just change the name/IP of the server in the
>configuration and all of their preferences, filters, etc will
>just work without any additional fiddling. It's much easier for
>them (even the beta-testing ones, to some extent) if you sync the
>article numbers.
>
I know they wouldn't have to, but for my own sanity, it would be so much
easier for me. Early this morning I noticed messages appearing in the
INN server, but I had the outgoing feed shut off on the news(76) server,
and the references to news61 already commented out in INN.
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.
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."
--
John
Technical Details
Message-ID:
<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!border2.nntp.dca.giganews.com!nntp.giganews.com!wn13feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mailReferences:
<2b9f5$4335ae05$4097152a$18719@EVERESTKC.NET> <WI12f.123299$qY1.69753@bgtnsc04-news.ops.worldnet.att.net> <dib4er$vev$1@puck.litech.org> <z5d2f.400661$5N3.92850@bgtnsc05-news.ops.worldnet.att.net> <dibo4l$90i$1@puck.litech.org>Show Full Headers
Complete Article Headers
Message-ID: <xzj2f.125966$qY1.23021@bgtnsc04-news.ops.worldnet.att.net> Subject: Re: Authentication advice Date: Mon, 10 Oct 2005 01:35:25 GMT From: "John F. Morse" <xanadu.bbs@invalid.net> References: <2b9f5$4335ae05$4097152a$18719@EVERESTKC.NET> <WI12f.123299$qY1.69753@bgtnsc04-news.ops.worldnet.att.net> <dib4er$vev$1@puck.litech.org> <z5d2f.400661$5N3.92850@bgtnsc05-news.ops.worldnet.att.net> <dibo4l$90i$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!border2.nntp.dca.giganews.com!nntp.giganews.com!wn13feed!worldnet.att.net!bgtnsc04-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: <dibo4l$90i$1@puck.litech.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Lines: 257 NNTP-Posting-Host: 663e40cab7b987dfc7573aa51e5fcbdb X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc04-news.ops.worldnet.att.net 1128908125 NNTP-Posting-Date: Mon, 10 Oct 2005 01:35:25 GMT