Article View: news.software.nntp
Article #72427Re: Authentication advice
From: John F. Morse
Date: Sat, 08 Oct 2005 07:04
Date: Sat, 08 Oct 2005 07:04
208 lines
9004 bytes
9004 bytes
Jeffrey M. Vinocur wrote: >I don't know why this isn't in the manpage, but the example >pullnews configuration that's actually in the script itself shows >how to do so -- just put them on the server line: > > data.pa.vix.com > news.software.nntp 0 0 > comp.lang.c 0 0 > news.uu.net username passwd > uunet.announce 0 0 > uunet.help 0 0 > > Thanks for digging up this info. >>For future reference, do you know off-hand if suck and newsx provide >>authentication? >> >> > >I'm sure they both do. > > Again, thanks. >>What is the best way to empty all the groups on the new INN server that >>have been streaming in? >> >> > >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? If there were still articles on the new server, wouldn't there be article numbering conflicts? Aren't there two other easier methods? One might be to cancel a range of messages. The other might be to rmgroup for every group, then newgroup them back. This sounds like maybe the easiest for only six groups. I would guess control.cancel can be left alone. 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 I wound up with none of the ".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. These files are all in /var/lib/news and there are additionally a history.dir history.hash and history.index as well as the history. Plus .news.daily and now my encrypted password file that I stored there. >>I presume I should shut off streaming on the current upstream peer >>(news61) first, so it won't keep pushing articles? Perhaps I should >>remove it from incoming.conf (and innfeed) during the suck, then reenter >>the online peer's hostname (news)? >> >> > >Well, actually, if new articles are going to be posted to news61, >then you're going to want them fed across, otherwise they might >appear in a group that's already been sucked and thus not make it >to your INN. Having them appear out of order can confuse >readers, but should be okay. (Your expiration times will be >based on article arrival time, but as long as it's all within a >short period I don't think that should matter.) > >You decided to use xrefslave, right? That's the only way you get >seamless transition, so I think you must be intending to. > > News61 is not to be sucked. It doesn't have nearly as many articles as online news(76) has. It came online only a year ago, and I didn't pull the whole shebang from its peer, news2. Even news2 is short. I would need to suck from the online news(76) to have synchronized message numbers. Shutting down the streaming in from news61 is to keep anything from it interfering with the suck. 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. I have news(76), news2 and news61 all three configured for a ten-minute timer for streaming. Perhaps I should change news(76)'s downstream timer to 120 minutes or so, to keep it from streaming downstream to news2 et al? 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. According th the daily INN report, I can do this between 0100-0300 without anyone knowing, or much later if I warn one early bird. The following is the current list of news (on the PowerMac 7600): brisbee 125 33744 y computers 27 3370 y control 1 3735 y local.test 1 9 y petchat 10 918 y raucouscaucus 6 174 y soapbox 1 3708 y 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? I could zero the big brisbee group on INN and only suck it to gauge a time. 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. Now that I know about the authentication, I'll try it again with a small group to see what happens. 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 know if it is possible to remove the control.cancel group then newgroup it right back in. >>Proposed interim configuration (during suck and prolonged beta): >> >>Internet <--> news <--> news2 <--> news61 >> \ <--> optima5 <--> Internet (nnrpd only via special >>port in router) >> >> > >I think this is no good -- while xrefslave is true, your server >can only have one source for articles. More precisely, it can >only have one source per newsgroup. > > That only source is "news." >So if you're intending to be feeding (directly or via suck) any >articles from the Internet to INN, it could get sticky. >Although, if you only have one internet feed, and you won't be >feeding any articles into those groups from your other servers, >and you don't mind your server taking your ISP's article numbers >for those groups, I guess this could work. > > 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. Heh. The detail you must have overlooked is the "other" Internet is an nnrpd connection from a special port in the WAN-to-LAN (NAT) router, meaning for my use, and my beta testers only. This is not for any article streaming to or from other NNTP servers, nor sucking/POSTing. We can use it to read and post only with an NNTP client, or telnet if needed. It's a gate for testers to "play" and try and find problems before I switch over to the final configuration, while still providing a path for the slave servers to keep on gathering articles. News61 returns to the dead end of the PATH here, with the new INN server sliding down closer to the Internet, and having a "secret" nnrpd door for me. >You also can't have anyone post directly to INN while xrefslave >is on (if you wanted, you could use nnrpdposthost in inn.conf to >get around this issue, though). > I won't be posting, and I can temporarily close the special router port to keep out any beta testers that stay up all night. ;-) -- John
Technical Details
Message-ID:
<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!nntp.giganews.com!news.glorb.com!wn13feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mailReferences:
<2b9f5$4335ae05$4097152a$18719@EVERESTKC.NET> <gqj%e.346362$5N3.329060@bgtnsc05-news.ops.worldnet.att.net> <dhpatg$va2$2@puck.litech.org> <7oc1f.114772$qY1.32091@bgtnsc04-news.ops.worldnet.att.net> <di680j$4th$1@puck.litech.org>Show Full Headers
Complete Article Headers
Message-ID: <jcK1f.120122$qY1.67850@bgtnsc04-news.ops.worldnet.att.net> Subject: Re: Authentication advice Date: Sat, 08 Oct 2005 07:04:47 GMT From: "John F. Morse" <xanadu.bbs@invalid.net> References: <2b9f5$4335ae05$4097152a$18719@EVERESTKC.NET> <gqj%e.346362$5N3.329060@bgtnsc05-news.ops.worldnet.att.net> <dhpatg$va2$2@puck.litech.org> <7oc1f.114772$qY1.32091@bgtnsc04-news.ops.worldnet.att.net> <di680j$4th$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!news.glorb.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: <di680j$4th$1@puck.litech.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Lines: 208 NNTP-Posting-Host: df2a49b1e59613ae5b03c9db57755081 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc04-news.ops.worldnet.att.net 1128755087 NNTP-Posting-Date: Sat, 08 Oct 2005 07:04:47 GMT