On Saturday 04 November 2006 22:36, Raphael Manfredi wrote:
> Quoting wixor <[EMAIL PROTECTED]> from ml.softs.gtk-gnutella.devel:
> :Well... there is an issue however - just try to download Nothing
> : Else Matters (choose the most popular sha1) and see how gtkg
> : rejects each download because for some reason (like
> : riaa-evil-doing) sha1 never matches...... With tigertree hashes
> : this does not occur.
>
> That's nonsense.  With TTH, you'd simply keep losing the chunks you
> downloaded as being "bad".  In the end, you would not get the whole
> file either.

Not quite. If your file has 1000 sources, and only one of these sources 
is "evil", then a bad chunk will on the next try very likely be 
downloaded from another source, and will thus be correct. Which is the 
whole point of TTH.

On the other hand, even if you wouldn't get the correct file anyway, it 
would be helpful to know this as early as possible. Nothing is more 
frustrating than a very big file that took days to download being 
rejected because of a bad SHA1.

That said, I still wouldn't consider TTH the most important feature.
In practice, I only see problems with evil sources when the file is 
comparatively small, and when there are very many sources. And in these 
cases, there will always be alternative versions of the desired file 
with a moderately lower number of sources that will download correctly.

bye,
Hauke Hachmann

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Gtk-gnutella-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to