🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #72429

Re: Authentication advice

#72429
From: Jeffrey M. Vinocur
Date: Sun, 09 Oct 2005 02:23
153 lines
6805 bytes
In article <jcK1f.120122$qY1.67850@bgtnsc04-news.ops.worldnet.att.net>,
John F. Morse <xanadu.bbs@invalid.net> wrote:
>
>Jeffrey M. Vinocur wrote:
>
>>Say that again?  To reset the server, you mean?  You need to do
>>the following things (with the server off):
>>
>>- wipe the article spool
>>- wipe the overview database
>>- delete history and create a new one fresh as per INSTALL
>>- reset the numbers in the active file
>
>
>Yes, to "empty" it so no messages were on it. Wouldn't this be necessary 
>before I suck/sync (with xrefslave=true) everything from the existing 
>online server?

Yes.


>Aren't there two other easier methods?

Not really...


>One might be to cancel a range of messages.

Oof, you think that's easier?  Strikes me as painful.  Also, it
doesn't clear out history (INN will refuse articles with the
Message-ID of a recently canceled article), doesn't clear out
overview until the next overnight news.daily run, and doesn't
reset the article numbers in the active file.


>The other might be to rmgroup for every group, then newgroup them back. 
>This sounds like maybe the easiest for only six groups.

Well, that will reset the active file, but it actually doesn't
delete the physical articles if stored in tradspool (this bites
people occasionally).  Also, it doesn't clear out history, so
those articles will be refused if offered again in the near
future.


>I would guess control.cancel can be left alone.

Mmmm might get you in trouble, in theory.  The approach to
clearing out the server I described above will also fix up
control.cancel, though, so you shouldn't have to worry about it.


>Creating history is scary. I say this because this distro did not have 
>the ~news/db directory as specified in 
>http://www.eyrie.org/~eagle/software/inn/docs-2.4/install.html#S9

Right, the articles will appear in whatever "pathdb" is set to in
inn.conf -- as we learned earlier, your distribution has them in
all sorts of crazy places.  I'll post (in a separate post in a
minute) the compiled results of that grep output you provided so
you can tell how your distribution compares.


>I wound up with none of tha ".n" files mentioned. I don't know if the 
>files mentioned (active, active.times, history, and newsgroups) were 
>already in the directory, or if they were created when makedbz -i was 
>invoked.

Well, you could check the timestamps, but unless you used the -f
flag, makedbz definitely should have created files with .n. in
the names.


>Shutting down the streaming in from news61 is to keep anything from it 
>interfering with the suck.

Well, you certainly can't be feeding directly from one server and
sucking from another, with xrefslave on, if they don't have
synchronized article numbers.


>The concern you have, and now I think I see, is any newly-posted 
>messages on news(76) would probably be on news61 before the suck 
>finished.

That's a concern, if you left the feed from news61 one.  However,
I'm more worried that you'll miss messages entirely, from people
who post while the suck is going but after it has already
completed some of the groups.


>It all depends on how long it would take INN and the suck. If it was 
>less than an hour or so, I could disallow posting on news(76) until the 
>suck was finished, and I had reconfigured INN and news(76) to talk 
>directly.

That would be fine.  Also, if you set up news(76) to feed
directly after the INN has been reset and xrefslave enabled, but
before you start sucking, it should actually work -- some newly
posted articles might appear to INN before the sucked articles,
but they should all still get the right numbers.

As for how long it will take, I can't predict that, but you could
actually do a whole test run, time the sucking, and then reset
INN again and do it for real.


>This lists the maximum messages of course, and there are probably a few 
>thousand canceled somewhere between the low- and high-water marks. Got a 
>ball park guess how long this might take, over a 10/100 LAN?

About 40,000 messages, some of which you tell me are binaries of
unknown size, being sucked from server software I've never heard
of running on hardware from the last millenium...how could I
possibly guess.  Clearly it will take at least as long as the
total size of the spool divided by the network throughput you can
get, but beyond that, who knows.


>When I tried "pullnews -g brisbee" Thursday, I received all of the 
>groups in the failure to authenticate message. Makes me wonder if it can 
>suck from only one group with the -g option.

I believe that options works.


>And, finally, what about "control" going into "control.cancel"? Will it 
>go there, or will it go into INN's plain old control group? Would 
>duplicate article number rejections be a problem? My guess is a 
>control.cancel is acted upon, then the message is simply stored awaiting 
>expiration (plus streamed out if required).

I don't understand parts of this paragraph well.  Rephrase?


>I don't know if it is possible to remove the control.cancel group then 
>newgroup it right back in.

No, INN won't function with its special groups.


>No ISP articles will ever be streamed, and none will be sucked until INN 
>is in the final configuration. At that time, if I do suck from one or 
>two ISPs, the article numbering won't matter. Everything there would 
>start from scratch.

Ah, okay.  That "<---> Internet" in the proposed configuration
was misleading me.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <di9uvp$48g$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!news.glorb.com!news.litech.org!not-for-mail
References: <2b9f5$4335ae05$4097152a$18719@EVERESTKC.NET> <7oc1f.114772$qY1.32091@bgtnsc04-news.ops.worldnet.att.net> <di680j$4th$1@puck.litech.org> <jcK1f.120122$qY1.67850@bgtnsc04-news.ops.worldnet.att.net>

Show Full Headers
Complete Article Headers
Message-ID: <di9uvp$48g$1@puck.litech.org>
Subject: Re: Authentication advice
Date: Sun, 09 Oct 2005 02:23:53 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <2b9f5$4335ae05$4097152a$18719@EVERESTKC.NET> <7oc1f.114772$qY1.32091@bgtnsc04-news.ops.worldnet.att.net> <di680j$4th$1@puck.litech.org> <jcK1f.120122$qY1.67850@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!news.glorb.com!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 153
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1128824633 4368 66.218.0.75 (9 Oct 2005 02:23:53 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Sun, 9 Oct 2005 02:23:53 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)