🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #60821

Re: [FNTP] 'in-completeness'

#60821
From: Curt Welch
Date: Sat, 28 Sep 2002 19:48
53 lines
3687 bytes
Klaas <spamhole@klaas.ca> wrote:
> After careful consideration, Juergen Helbing muttered:
>
> >>But what about this. If binary articles had a hash of the entire file
> >>in the message-Id
> >
> > This is not possible.
>
> Why not?

A hash is simple.  There's plenty of room in the Message-ID for a one-bit
hash of the entire file for example.  But a hash large enough to reduce
collisions to a point where you could accurately use the hash to identify
segments of the file you were looking for would push the size of the
Messaage-ID to questionable lengths (though not past the point of working).

Message-IDs get moved over the net and stored more times than all other
parts of an article by at least a factor of 10.  Any byte you add to a
Message-ID is just as bad as adding 10 bytes elsewhere in the article.  A
good hash would be at least 128 bits (MD5), and in hex you need 32
characters.  Add to that the other stuff like offset, and file size, and
you end up with a message-id of questionable length:

  <bfcc67b15898b4bc55831cd6acf2f85f$b0031b$a2dc$random@something.bin>

This is still shorter than some already on Usenet.

If we were simply adding this stuff to allow newsreaders to match up parts
more accurately, then entire hash does not need to be in the Message-ID.
We can use a much shorter hash (say the first 8 buytes from above), and put
the full 128 bit (or higher) hash in the article header.  So a newsreader
looking for a file with a has of:

   bfcc67b15898b4bc55831cd6acf2f85f

Could look for messages-IDs which match:

   <bfcc67$*bin>

And then to find out if it was the same file, do a HEAD on the article to
get the full hash.

However, if news servers start to deal with these as file segements and
special case how file segmets are dealt with (vs normal articles), then
there might be some logic in putting a large hash in the Message-IDs and to
expect the servers to be able to use that to store the file. Maybe.  Or
Maybe it's still fine evey for the NNTP server if the Hash is in the header
elsewhere and not in the Message-ID.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20020928154857.814$ti@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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!enews.sgi.com!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!newsfeed.news2me.com!west.cox.net!cox.net!newshosting.com!news-xfer1.atl.newshosting.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
References: <58068.n92202@archiver.winews.net> <20020924011222.716$tx@newsreader.com> <3147e.o92204@archiver.winews.net> <20020924234811.264$g2@newsreader.com> <15518.p9220c@archiver.winews.net> <20020926003453.621$EG@newsreader.com> <38427.r92204@archiver.winews.net> <Xns9297A0C2EA4Enothing@209.98.50.131>

Show Full Headers
Complete Article Headers
Message-ID: <20020928154857.814$ti@newsreader.com>
Subject: Re: [FNTP] 'in-completeness'
Date: Sat, 28 Sep 2002 19:48:57 +0000
From: curt@kcwc.com (Curt Welch)
References: <58068.n92202@archiver.winews.net> <20020924011222.716$tx@newsreader.com> <3147e.o92204@archiver.winews.net> <20020924234811.264$g2@newsreader.com> <15518.p9220c@archiver.winews.net> <20020926003453.621$EG@newsreader.com> <38427.r92204@archiver.winews.net> <Xns9297A0C2EA4Enothing@209.98.50.131>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!enews.sgi.com!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!newsfeed.news2me.com!west.cox.net!cox.net!newshosting.com!news-xfer1.atl.newshosting.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com s3KcNBfyNGK+=x0@HgDIRSN=Dl/gzoBVV@5g_mLnodXj+f
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
  %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 52