🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #64975

Re: xBin library version 0.1

#64975
From: Curt Welch
Date: Tue, 22 Apr 2003 00:12
32 lines
2745 bytes
"Mirco Romanato" <painlord2k@yahoo.it> wrote:
> TTH http://sourceforge.net/projects/tigertree/
> here there is the standard Java and C implementation (8 days old) with
> tha last fixes.
> You are lucky, they must change the code 3 times in 6 months.

The only difference I spot in that code is that they prepend a 0 valued
byte to the leaf blocks (so that makes it 1025 bytes to hash) before
calculating the hash for the block, and a 1 valued byte in front of the two
hash values for each of the nodes.  This is the stuff you pointed out
before which I didn't understand and we decided wasn't in the tigertree
code we had seen.  It prevents the construnction of obvious collisions by
simply creating a file which contins the two hash values from the top node
of the hash tree.

It does notthing to solve the file size problem that we have with the
Usenet application of this (or which any network would have if you were
going to try and transport partial files securly though the network.

> I reccoment to use the project above like standards, because they are
> used like standards for Gnutella (and eMule).
> I think others network will use the same code in future, because it work
> well.

Unfortunately, they have missed the file size problem when you try to
securely transport partial file segments and don't submit the entire file
to the network for transport.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20030421201204.318$Ng@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!feed1.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
References: <pan.2003.04.08.05.21.36.142899@canada.com> <l_Cka.19193$iy5.537691@twister2.libero.it> <pan.2003.04.08.17.40.39.978437@canada.com> <20030421115343.200$MS@newsreader.com> <VkWoa.55726$iy5.1660618@twister2.libero.it>

Show Full Headers
Complete Article Headers
Message-ID: <20030421201204.318$Ng@newsreader.com>
Subject: Re: xBin library version 0.1
Date: Tue, 22 Apr 2003 00:12:04 +0000
From: curt@kcwc.com (Curt Welch)
References: <pan.2003.04.08.05.21.36.142899@canada.com> <l_Cka.19193$iy5.537691@twister2.libero.it> <pan.2003.04.08.17.40.39.978437@canada.com> <20030421115343.200$MS@newsreader.com> <VkWoa.55726$iy5.1660618@twister2.libero.it>
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!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 etZcwcqNkb9ffE@LXf@ixkD3TtatUkIsknrGaLiFW8s4d8nod
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: 31