Article View: news.software.nntp
Article #62497Re: Power-Post 2003 - requesting input from authorities..
From: Curt Welch
Date: Sun, 29 Dec 2002 04:28
Date: Sun, 29 Dec 2002 04:28
115 lines
7239 bytes
7239 bytes
Jeremy <jeremy@exit109.com> wrote: > I'm missing something significant. This thread is giving me a headache. > The whole thing seems awfully complicated, and I can't figure out why any > of it is necessary. > > Why not just use a cryptographic signature on the posts? That solves a completly different problem than what we are trying to solve. A cryptographic signature proves the post came from someone holding the key. But to veryify that, you have to go get his key and check it against his post. Otherwise, by itself, the crypto signature tells you nothing. This xBin convention does a bunch of things, but I'll point out the big ones related to the hash and the "crypto" issues. The first is simply to define a uniqe file identifier. Not a uniq message identifyer, but a file identifier. Any hash standard hash could be used for that. The idea is to put this unique identifier in the header so download tools would have a "real" way to identify parts of a file and not have to play the subject guessing game" that is used now. And to pick a convention what could be used for all binary files posted to Usenet. This way, if the same file is posted a week later in a different group, by a different user, the download tool could spot it on it's own, and automatically use this second post to fill in missing parts. So, to make that work, you need not only the unique identifier in the header, but you need to know the segment offset, and size, so you know exactly which bytes from the file are included in each article so the download tool can make use of the article even if the file is split up differently in a repost or a second post of the same file. All this is to make downloading multipart files, and reposts, completly automatic and fool-proof. The download tool has all the machine-readable information it needs to find and automatically download parts. If you see one article of a multipart file you "want", you don't have to wait for all the parts to show up, you just tell your download tool to "get it". It puts the uniqe file-id in it's list of files it's looking for, and starts searching for parts and downloading them. Even if you don't get all the parts, the tool can keep the file-id and partially built file in it's "to get" list, and if it sees the same file reposted a month later, it can grap the parts and complete the set. And, if someone wants to post a 2000 part file, 100 parts per day over 3 weeks, they can do that. Everyone can just starts downlading and waits for all the parts to show up. Anyone can do a repost of various parts, even if the file name and article size and Subject is all different from the original and everyone trying to get this 2000 part file will be able to take advantage of the repost. Partial reposts can even intentially be done in smaller part sizes to help make sure the guys that missed the large articles the first time get the repost. But here comes the probem. If you make it all this automatic, then posting forged messages to intentially fuck up someones multipart post becomes real easy. The download tool won't be smart about looking at the headers to figure out if the parts are real, or fakes. And if you just downloaded 2000 parts, and 20 were fakes, knowing the convential hash of the entire file is not going to make life easy for the tool to automatcially figure out which parts are the fakes. Enter the tree hash. The tree hash is a type of hash which like any hash, will give us a unique hash ID to identify the entire file. So that's our File-ID. But, with a standard hash, the only way to verify an individual chunk of a file, is to combine it with the rest of the file data, and calcuate the hash for all the data, and then see if the hash matches. We could do this of course. For everh 200KB post, we could include 20MB of "extra" data in the headers so each part could be verified as valid. :) However, unlike a conventional hash, the advantage of the tree hash is that it allows us to add just a little bit more information to every post to allow the entire file hash to be recalcuated given only the data in the article, plus and handfull of extra hash information. That "extra information" is bascially the hash value for the rest of the missing file data. And beacuse of how the tree hash works, we can use that to recalcuate the hash, which proves that the data in the article is truely what it says it is - part of the larger file with the unique-file-hash we are looking for. For typical posts, we are talking about adding only 500 bytes of data in the header to allow this. This prevents anyone from disrupting this totally automated system of finding parts of a multipart post. People can still post fakes of course. And to figure out if they are a fake, the download tool will still have to download the entire article. But, unlike with the conventional hash, the download can verify that the article is valid without the help of any other external information. Just be looking at the article, you can "prove" that the data matches the file-hash. And because of that, we can put this hash verification code into popular spam filters, and/or post fitlers, and reject all posts that are marked as xBin format articles, but which have invalid data. And that is done only by looking at the article without any help of external keys, or external "hash set articles" etc. So, if the article says it's a segment of file with hash-id XYZYXYYZ, then by looking at that article, and that article alone, we can prove if it is or isn't part of that file. The tree hash may seem complicated when we debate fine points for hours, but it is in fact very simple. And the power it gives us to make all binary files on usenet work better is really quite neat. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<20021228232812.093$8R@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-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed1.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mailReferences:
<cdda0v4h6t52ov7abf1j0qkpo843itf4se@4ax.com> <20021223080451.779$Fm@newsreader.com> <WqFN9.1114$T41.1465@amstwist00> <20021223125304.154$SI@newsreader.com> <1041111529.600230@ok-corral.gunslinger.net>Show Full Headers
Complete Article Headers
Message-ID: <20021228232812.093$8R@newsreader.com>
Subject: Re: Power-Post 2003 - requesting input from authorities..
Date: Sun, 29 Dec 2002 04:28:12 +0000
From: curt@kcwc.com (Curt Welch)
References: <cdda0v4h6t52ov7abf1j0qkpo843itf4se@4ax.com> <20021223080451.779$Fm@newsreader.com> <WqFN9.1114$T41.1465@amstwist00> <20021223125304.154$SI@newsreader.com> <1041111529.600230@ok-corral.gunslinger.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!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 E,_2gOYEwIlXIC/+mYP9@B5Iy23fHB.RPXO5DCFCE8oj4Wv
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: 114