Article View: news.software.nntp
Article #48959Overview (buffindexed) questions -- INN 2.3.1
From: Moebius Meowbot
Date: Sat, 28 Oct 2000 19:40
Date: Sat, 28 Oct 2000 19:40
93 lines
5339 bytes
5339 bytes
Hey! First off, I'm using 06.Okt snapshot of INN-STABLE, since I have quite a bunch of patches applied to this and I'd prefer to avoid shoehorning all these into a more recent snapshot if there are still bugs in it... These observations are made with buffindexed overview method, since I didn't have enough obvious problems with ovdb to investigate closely. Now, the questions: * In order to (theoretically) better handle the XHDR requests that I have seen at, say, http://news.inet.tele.dk/innreport/news-notice.2000.10.25-04.30.52.html#nnrpd_xhdr_commands I have decided to add a few lines to overview.fmt to add things like the NNTP-Posting-Host and Path headers to the overview database. Is this a bad thing? Should I leave overview.fmt alone? Am I breaking what readers expect to see when giving the `xover' command? It appears that by adding the `Path:' header to the stored overview data, I've b0rkened something. Looking at the raw overview data, I see that the separating `!' characters between elements of the Path header have been replaced by NUL characters. Kewl. The `!' characters elsewhere (subjects) are unaffected. This seems to break a few things. Like the `xover' command. Hmmm. And any overview data following the `Path' data. If I make a connection and ask for `xhdr path ##' for a particular article, I get just the first (last) entry of the local machine. Now, another interesting thing: If I ask for `xhdr path: ##' for the same article, I get the correct data. This brings me to the next question: I can get identical data for `xhdr subject ##' and `xhdr subject: ##' commands. As the Xref data follows the NUL-infested Path overview data, I get no response for `xhdr xref ##' while I do get the correct expected response for `xhdr xref: ##' This makes me think that nnrpd's `xhdr' command returns data from the overview proper when the header is given without the `:' colon, but has to go to the spool and pull it out of the article proper when I do specify the `header:' with a colon. Not sure if this is intended behaviour, if I should even be including the colon, or what... Anyway, the next thing I noted is that while I'm using a virtualpath or whatever that is added to the headers as returned by `article' or `head', I don't get these in the `xhdr' headers. Now, `xover' is totally b0rken with these NULs in the Path, so I don't know if the data returned by that is properly virtually-host-ified in the right places -- Xref and Path I think is all. Next weirdness seems to be that innd will happily write the overview data for buffindexed itself, but if I pass the duties to overchan, it writes nothing. I could have botched something here, but `truss' shows every write failing with a Bad File Number or something. I've simply changed the inn.conf from ovdb (actually ovdb2) storage to buffindexed. What is way kewl is that this b0rken `xover' result (coredump when run from commandline) means most readers can't read, while it works just fine for me. HAW HAW SUCKERS, the obvious superiority of `lynx' as a Real Newsreader manifests itself yet again. There are a few other things I'd wonder about, but I'll see if I can get `xover' to work first without bombing. Question: Are any of these known bugs that have been fixed in 2.3 in the last month or two? Or am I just doing something horribly evil? If these are fixed, it might be worth upgrading. Unless there are plans to fix the apparently missing things like virtualhost entries, or if the xover Path: header bug is still present, in which case I probably should wait a day or two and enjoy a reader machine that only us 31337 lynx users can access, unless I fix 'em meself. Another question: Apparently I could run `makehistory' to recreate the overview database for missing entries with ovdb2 as new articles came in. Can I do this with buffindexed, or do I need to take everything down for a few days (or just forget about already-present articles)? I haven't seen a clear answer that I could dig up... One final question -- I'm having a bit of difficulty porting INN 1.0 to the ENIAC so if anyone would like to give me a hand I'd appreciate it gracias
Technical Details
Message-ID:
<meowbot-AutoPost-02-100000@netscum.dQ>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!europa.netcrusader.net!128.230.129.106!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!news.tele.dk!Free-PR0N.NetScum.DK.POSTED!vax.chrillesen.dk!barryShow Full Headers
Complete Article Headers
Message-ID: <meowbot-AutoPost-02-100000@netscum.dQ> Subject: Overview (buffindexed) questions -- INN 2.3.1 Date: Sat, 28 Oct 2000 21:40:43 +0200 From: Moebius Meowbot <meowbot@Fluffy.NewsBastards.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.mbox.zip!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!europa.netcrusader.net!128.230.129.106!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!news.tele.dk!Free-PR0N.NetScum.DK.POSTED!vax.chrillesen.dk!barry Newsgroups: news.software.nntp Organization: Binging Beerbellied Barry Bouwsma's Beerserver Lines: 92 NNTP-Posting-Host: 3167c9bec77aad169c717ee8739c7963.netscum.dk Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: freebeer.netscum.dk 972762045 0b56e754ac228cb72a8f0401e8de1404 X-Complaints-To: Department of Beer <bitbucket@news.inet.tele.dk> X-Sender: barry@vax.chrillesen.dk