Article View: news.software.nntp
Article #62454Re: xBin (Power-Post 2003 - requesting input from authorities..)
From: Kjetil Torgrim Homme
Date: Fri, 27 Dec 2002 17:23
Date: Fri, 27 Dec 2002 17:23
65 lines
3906 bytes
3906 bytes
[Rene]: > > Sorry, it was defaulted to on in the webinterface here... should > be off from now on unless I made a mistake. it was still on. > > anyway, consider that a file on Usenet often is a gigabyte in size, > > and that each part seldom is larger than 500 kB. that means 2000 > > parts. the hash of each part is 160 bytes. if all hashes are > > Nope, an SHA-1 hash is 160bits long, doh! > > included in all articles, you add 320 kB to each part, which clearly > > But there is no need to add them all over and over again. That's > the beauty of the hash'es one-way function. You post under the > file hash, this is the single most important identifier. Then for > example, send as the "0" part all the block-hashes, once only. I don't want a scheme which relies on part 0. > More yet, since this information probably should be forced to be > in the first message posted, it becomes very hard to manipulate > and attack it. you don't know what order articles will arrive in. > > the every other article attack was well spotted. I think it suffices > > that part 3 includes the hash of part 4 and vice versa to solve it, > > though. > > Yes that would solve it. But it adds yet another hash to every > part. not a problem. that 1 GB file in 2000 500 kB chunks will have a hash tree which is only 11 levels deep. adding the neighbouring hash means that each part needs to include 12 hashes, each 20 bytes large, for a total of 240 bytes. the overhead is negligible, but the robustness is very much increased. > As I said, when you have all the leave-hashes, you can reconstruct > the file hash AND you can ensure that all parts are going to be > what they should be. by including the tree hash, you don't need to download all the articles to check that. > Just to be more precise, the "l" hash in the ASCII picture is a > different one than the one I would be constructing. The "l" hash > would really need the calculation of the tree to get. My version > simply takes all the leaves in order and creates the "root" or > file-hash out of that. No pairings, simply feed them into the hash > algorithm, one after another and get the resulting hash. yes, I understand. I just don't like it for this application, since it relies on _all_ data being downloaded before doing any analysis on its integrity. -- Kjetil T. | read and make up your own mind | http://www.cactus48.com/truth.html
Technical Details
Message-ID:
<1rfzsjz87r.fsf@sjau.ifi.uio.no>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!syros.belnet.be!news.belnet.be!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed1.e.nsc.no!nsc.no!nextra.com!uio.no!nntp.uio.no!ifi.uio.no!not-for-mailReferences:
<cdda0v4h6t52ov7abf1j0qkpo843itf4se@4ax.com> <cfka0vsbjdlbdmtv2gg8qnehok033qh5f1@4ax.com> <20021223041127.986$6M_-_@newsreader.com> <1rfzsoaacf.fsf@vingodur.ifi.uio.no> <20021223150103.132$Bb@newsreader.com> <1rd6ns9y06.fsf@tolf.ifi.uio.no> <20021223181329.108$LI@newsreader.com>Show Full Headers
Complete Article Headers
Message-ID: <1rfzsjz87r.fsf@sjau.ifi.uio.no> Subject: Re: xBin (Power-Post 2003 - requesting input from authorities..) Date: Fri, 27 Dec 2002 17:23:52 +0000 From: Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> References: <cdda0v4h6t52ov7abf1j0qkpo843itf4se@4ax.com> <cfka0vsbjdlbdmtv2gg8qnehok033qh5f1@4ax.com> <20021223041127.986$6M_-_@newsreader.com> <1rfzsoaacf.fsf@vingodur.ifi.uio.no> <20021223150103.132$Bb@newsreader.com> <1rd6ns9y06.fsf@tolf.ifi.uio.no> <20021223181329.108$LI@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!syros.belnet.be!news.belnet.be!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed1.e.nsc.no!nsc.no!nextra.com!uio.no!nntp.uio.no!ifi.uio.no!not-for-mail Newsgroups: news.software.nntp Organization: Dept. of Informatics, Univ. of Oslo, Norway Lines: 64 NNTP-Posting-Host: sjau.ifi.uio.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: maud.ifi.uio.no 1041009832 8368 129.240.65.207 (27 Dec 2002 17:23:52 GMT) X-Complaints-To: abuse@ifi.uio.no NNTP-Posting-Date: 27 Dec 2002 17:23:52 GMT User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7