🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #62788

Re: Power-Post 2003 - requesting input from authorities..

#62788
From: Rene
Date: Sun, 05 Jan 2003 00:25
83 lines
5801 bytes
Russ Allbery <rra@stanford.edu> wrote:
> Rene <invalid@email.addr> writes:
> > The headers of any one of those messages plus all the articles bodies
> > under the condition that this was one single posting of one entire
> > file. (ok wait, I reread your question. The file and only the file is
> > really just the "payload", all the binary data in the message body.)
>
> What's being hashed?  Just the body?  Just the decoded body?  (With any
> ASCII text around the encoded binary stripped?)

Only the file is being hashed, but it is being hashed before it enters
usenet. When it is in one piece, it is sequentially processed. One hash is
being created for every block (Blocksize 22500 Bytes). These Blocks are
saved in the leaves of the hash tree. Then take each two neigbouring hashes
and calculate the hash combining those two. This forms the parent node's
hash in the tree. Repeat this with all the hashes until you only have one
left. This is the root of the tree. Also this hash is the unique identifier
of the hash tree (and the file) We synonymously call this the file hash,
file id or root hash.

This hash "describes" the file you are sending. Every part, every repost
bears this hash. A client having the full file can easily verify the
"correctness" of the file by recalculating the hash tree.

However every single article also contains all the hashes needed to
calculate a "path" up to the root (it contains some blocks plus all the
complementary hashes needed to arrive at the root) thus every single
article containing a part of the file can be verified to be a part of the
file it claims to be (by having the root hash in the header)

> > The power lies in the fact that each file carries one unique signature
> > which only this file can have : its file hash (the root node of the
> > hash tree)
>
> This is the file after decoding, yes?

Yes and no, it is calculated before encoding and sending to usenet happens.
But after you got all the blocks, you can reconstruct the entire hash tree
and you will then have that hash at the root of the tree again. This is not
really necessary though, because every article containing parts can be
independently verified.

> This would imply that multiple binaries could not be included in the same
> posting that used xBin.  Is that correct?

It would technically be possible to do (complicating how the headers are
built quite a bit), but it does not really make any sense to include two
different files within one xBin article, yes.

You include multiple blocks (since a block is only 22500 Bytes long) within
one xBin article, but all those blocks belong to one file. And that xBin
article "bears the mark of that file" by having this file's hash in its
header.

> > Hope that clears it up a bit. Yes I know the discussion threads are
> > quite large. I'm having problems navigating the discussion tree myself.
>
> I feel kind of bad about going to question/answer to figure out
> information that doubtless has already been posted to the group, but the
> thread was *so* long that I honestly lost track completely of what was
> being proposed.

I do know how it is. I have actually started to print out articles I think
I will be looking at again later because I don't easily find them anymore
when I want to go back and re-read parts.

> In penance, as soon as I understand what's being proposed, I'll try to
> write up a short summary for other people who are similarly confused.

I thought about doing that myself, actually. But I think it is better
someone else does it, not because that would relieve me of the work
involved, but because I have some things in my mind fixed and absolutely
clear that probably need explanations while I assume these obvious.

Just ask the points that seem unclear. However lots of things *are*
unclear, otherwise we'd have some nicely written down specification. Almost
anything could change, even the blocksize, though I think that's pretty
final now.

-- 
-------------------- http://NewsReader.Com/ --------------------
Usenet Newsgroup Service              New Rate! $9.95/Month 50GB
Technical Details
Message-ID: <20030104192518.487$zT@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!news.uchicago.edu!yellow.newsread.com!netaxs.com!newsread.com!feed3.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
References: <cdda0v4h6t52ov7abf1j0qkpo843itf4se@4ax.com> <14dfgjkm6p6u3.dlg@meowing.net> <1rznqk8qqs.fsf@thrir.ifi.uio.no> <ylk7hopk7n.fsf@windlord.stanford.edu> <1rlm248lyi.fsf@thrir.ifi.uio.no> <yln0mko1gk.fsf@windlord.stanford.edu> <20030102003252.529$hA@newsreader.com> <ylof70m4sh.fsf@windlord.stanford.edu> <20030102232803.181$Go@newsreader.com> <ylptre223l.fsf@windlord.stanford.edu> <1risx6joso.fsf@ellifu.ifi.uio.no> <ylvg16gkp8.fsf@windlord.stanford.edu> <1rof6xiyow.fsf@ellifu.ifi.uio.no> <ylisx5y9h2.fsf@windlord.stanford.edu> <1rfzs9inbi.fsf@ellifu.ifi.uio.no> <yly961o7qv.fsf@windlord.stanford.edu> <1r65t5i2kd.fsf@ellifu.ifi.uio.no> <ylptrczqi8.fsf@windlord.stanford.edu> <20030104172607.804$kY@newsreader.com> <yl1y3swn61.fsf@windlord.stanford.edu> <20030104180413.612$un@newsreader.com> <ylel7sv72r.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <20030104192518.487$zT@newsreader.com>
Subject: Re: Power-Post 2003 - requesting input from authorities..
Date: Sun, 05 Jan 2003 00:25:18 +0000
From: Rene <invalid@email.addr>
References: <cdda0v4h6t52ov7abf1j0qkpo843itf4se@4ax.com> <14dfgjkm6p6u3.dlg@meowing.net> <1rznqk8qqs.fsf@thrir.ifi.uio.no> <ylk7hopk7n.fsf@windlord.stanford.edu> <1rlm248lyi.fsf@thrir.ifi.uio.no> <yln0mko1gk.fsf@windlord.stanford.edu> <20030102003252.529$hA@newsreader.com> <ylof70m4sh.fsf@windlord.stanford.edu> <20030102232803.181$Go@newsreader.com> <ylptre223l.fsf@windlord.stanford.edu> <1risx6joso.fsf@ellifu.ifi.uio.no> <ylvg16gkp8.fsf@windlord.stanford.edu> <1rof6xiyow.fsf@ellifu.ifi.uio.no> <ylisx5y9h2.fsf@windlord.stanford.edu> <1rfzs9inbi.fsf@ellifu.ifi.uio.no> <yly961o7qv.fsf@windlord.stanford.edu> <1r65t5i2kd.fsf@ellifu.ifi.uio.no> <ylptrczqi8.fsf@windlord.stanford.edu> <20030104172607.804$kY@newsreader.com> <yl1y3swn61.fsf@windlord.stanford.edu> <20030104180413.612$un@newsreader.com> <ylel7sv72r.fsf@windlord.stanford.edu>
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!news.uchicago.edu!yellow.newsread.com!netaxs.com!newsread.com!feed3.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com Subscriber
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com eE86hN@POO5LJxHbupAV@H4DfpWNvVWpKfgD7xDIBC9P+@aQH/
Lines: 82