wixor wrote:
> OK, I'm not gnutella guru by any mean, but my point is: I have tried
> to download Nothing Else Matters for 20 times with gtkg and sha1 never
> matched - then I gave up. With FrostWire, I just downloaded the file
> and everything went fine.

Have you checked its checksum? Maybe FrostWire thinks a blip or two
doesn't kill anyone. See http://ghostwhitecrab.com/bitter/ for a
a command-line tool to calculate SHA-1 (base32) and TTH for a file.

> Why - I don't know, but I suspect that it is
> about file checksumming - so it's about having or not tth support. And
> tth is not about checking if the while file is okay - it's about
> checking which part of the file is corrupted and redownloading this
> one without touching the rest.

Sure, that's the idea. We certainly we want TTH even if it's far from
being a perfect solution. However, this has to happen to incrementally
because it's quite tricky to get this right. I think in this case it
would be sufficient to log each chunk, that should show us the culprit.
Albeit I'm a bit surprised anyone is doing this because the most popular
clients support TTH anyway and if they are not trying to send a wrong
TTH, then I don't see point. Maybe they just hate Gtk-Gnutella?

> Of course with small file (this one has
> about 6.8megs) it is not great problem to redownload it for a couple
> of times (but not 20!!), imagine downloading some movie (like 700megs
> large), and having to download it 5 times because just only one stupid
> riaa source gave you /dev/random instead of the file itself...

Well, as said, there's the overlap check. /dev/urandom from a single
source would work but not from multiple - assuming they're not using
the same /dev/urandom or there's at least one good source. I would think
if you cranked the overlap check size up to the maximum, you should
eventually get the correct file especially with such a huge amount of
sources.

-- 
Christian

-------------------------------------------------------------------------
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