[bittorrent] Fwd: Tracker response

André Martins andmart at gmail.com
Thu Jun 11 15:10:04 EDT 2009


In thepiratebay.org, I searched for a torrent with many  seeders and
leechers for testing my client. And  I'm using this torrent:

https://thepiratebay.org/torrent/4944727/Delicious_Sandwich_Recepies_-_379_Of_The_World_Greatest_Deliciou

One thing I realised now it's maybe I'm not sending the correct hash.
This torrent has only one file but the pieces entry's length has 300.
So when I try(in python)

info_hash = urllib.quote( info['pieces'][:20])

maybe I'm getting a wrong hash.




2009/6/11 Harold Feit <dwknight at depthstrike.com>:
> Are you the only peer on the torrent?
>
> André Martins wrote:
>> Hi,
>>
>> i'm working on a bt client for a job and I'm stuck in Tracker's
>> announce response.
>>
>> For my request:
>>
>> GET /announce?info_hash=%3A%CF%AD%3A%11%A7%95M%D1C%91%D776_8%0F%29.J&peer_id=-FGW001-RA%3A%3E%60%3C%5Ere4SZM&port=6881&uploaded=0&downloaded=0&left=928002&corrupt=0&event=started&numwant=200&compact=1&no_peer_id=1
>> HTTP/1.1
>> Accept-Encoding: identity
>> Host: tracker.thepiratebay.org
>> Connection: close
>> User-Agent: Python-urllib/2.5
>>
>> I'm receiving a bencoded response where the only Ip address on peers
>> entry is mine.
>>
>> Anyone can give me a hint?
>>
>> Thanks in advance.
>>
>



--
[]'s
André Martins



More information about the BitTorrent mailing list