[BitTorrent] hash-based requests
Olaf van der Spek
OvdSpek at LIACS.NL
Mon Feb 14 18:30:09 EST 2005
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:
<*> To unsubscribe from this group, send an email to:
BitTorrent-unsubscribe at yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
More information about the BitTorrent