Article View: news.software.nntp
Article #81130Re: NNTP Protocol Question
From: Julien ÉLIE
Date: Sat, 30 May 2009 08:37
Date: Sat, 30 May 2009 08:37
61 lines
4111 bytes
4111 bytes
Hi Curt,
Thanks a lot for your valuable comments!
> All the largest "farm" servers I know about DON'T have that problem. Most
> of the large farm servers don't split up back ends by group, so it's not
> even an issue for most of them. They split it up by message-id so knowing
> the message-id you are looking for is all the front end needs to know to
> find it.
When they do that, is it the "hashfeed" system that we have in both Diablo
and (now) INN? (based upon a MD5 hash of the message-ID)
> There might well be some NNTP proxy systems that require the group first.
> But if they do exist, they should be thrown away and replaced with smarter
> software that actually works. :)
:)
> (Diablo
> doesn't get that correct, becuase it doesn't typically return a valid Xref
> when you fetch by ID, so it's something I've always considered broken about
> Diablo). Diablo however does give you the article, and you can get the
> Newsgroup: list from the article, and then go searching each group from the
> article to find the article numbers - which sucks, but at least it works
> and doesn't require a linear search of every group in the active file.
Oh, that's bad. I indeed read in their FAQ:
6.5. I sometimes see different headers for the same article, how can that be?
This is normal and has to do with the way diablo gets article from the spool.
There are two ways to get an article. You either supply a message-id directly,
or you supply a groupname and article number. When you supply an article number
dreaderd uses the overview database to translate this to a message-id, but
at the same time remembers other headers from the article that are also
available in the overview database. The Path: header is an example of this.
Dreaderd then fetches the article from the backend spool, and replaces some
article headers with the versions it knows from overview. This was done
because some clients get confused when the last entry in the Path: header
doesn't match the Xref: hostname. When you supply a message-id directly
none of this "munging" is done and you get the article as it appears
on the spoolserver.
So we get the Xref: header of the server which sent the article to Diablo
when requesting by message-ID. The same goes for the Path: header!
Hmmm... It means that Diablo also gets wrong the :bytes metadata they answer
in (X)OVER commands; it would differ between a request by message-ID or article
number!
--
Julien ÉLIE
« -- Par Poséidon ! Quel prodige !!!
-- Par Neptune ! Quel sans-gêne ! » (Astérix)
Technical Details
Message-ID:
<gvqr93$5mg$1@news.trigofacile.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!not-for-mailReferences:
<a23aa396-426d-4f14-b9dc-540da7da4027@n8g2000vbb.googlegroups.com> <gvhd9o$d6j$1@news.httrack.net> <7881uoF1k3o2lU1@mid.individual.net> <gvml6j$8bj$1@news.trigofacile.com> <20090530011921.790$hv@newsreader.com>Show Full Headers
Complete Article Headers
Message-ID: <gvqr93$5mg$1@news.trigofacile.com> Subject: Re: NNTP Protocol Question Date: Sat, 30 May 2009 10:37:48 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <a23aa396-426d-4f14-b9dc-540da7da4027@n8g2000vbb.googlegroups.com> <gvhd9o$d6j$1@news.httrack.net> <7881uoF1k3o2lU1@mid.individual.net> <gvml6j$8bj$1@news.trigofacile.com> <20090530011921.790$hv@newsreader.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Lines: 61 NNTP-Posting-Host: aaubervilliers-151-1-45-218.w83-114.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 8bit X-Trace: news.trigofacile.com 1243672675 5840 83.114.135.218 (30 May 2009 X-Complaints-To: abuse@trigofacile.com NNTP-Posting-Date: Sat, 30 May 2009 08:37:55 +0000 (UTC) In-Reply-To: <20090530011921.790$hv@newsreader.com> X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6001.18000 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049