Re: hash-based requests
Olaf van der Spek <[email protected]> Tue, 15 Feb 2005 00:30:09 +0100
| Newsgroups | gmane.network.bit-torrent.general |
|---|---|
| Message-ID | <[email protected]> |
Justin Cormack wrote:
>
> Have been thinking about the idea of making all requests and have messages
> refer to hashes rather than block offsets.
>
> It all works pretty well except that at the beginning when you only have the
> root hash, you can be sent a have message for a block you know nothing about
> because you dont yet have the tree (you dont even know which torrent it is
> from yet). Has anyone thought of a solution to this yet? You could store them
Doesn't that happen more often then just the beginning?
For example, if I don't have a subtree yet.
> but this gives a potential DoS by just making up random numbers and saying you
> have those pieces.
>
> The other alternative is a two-phase protocol where you first obtain the Merkle
> tree before you can do anything else.
>
> Or is there some better way?
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/BitTorrent/
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/