getting info_hash from tracker (Page 1) / Protocol Design Discussion / µTorrent Community Forums
 

#1 2011-11-13 00:25:42

rpy3uH
Member

getting info_hash from tracker

my client gets first peers list from torrent tracker (via HTTP requests). and uses given peer list for connect to DHT-network.

main problem : request to tracker must contain registered on tracker info_hash. my client on first start don't know any info_hash, and to join to DHT-network he must use some info_hash

Is possible to get most popular info_hash from torrent tracker? or last registered? or info_hash of random registered torrent?

sorry my bad english.... thanks

Last edited by rpy3uH (2011-11-13 02:47:11)

Offline

#2 2011-11-13 03:03:07

DreadWingKnight
I never claimed to be nice.

Re: getting info_hash from tracker

You don't need an infohash to join the DHT. Only to get peers. Please re-consult the DHT documentation.


FAQ and Search - Use them.
If guides ask for info, provide it before I have to ask for it.

Offline

#3 2011-11-13 03:43:14

rpy3uH
Member

Re: getting info_hash from tracker

in first start my client don't have any peers, and can't join to DHT-network.
So that, for get basic peer list client request to torrent tracker. I write info_hash hard in source code (for, example http://bt.rutor.org:2710/announce?info_ … %4a%3a%42) this is, not good solution! because, torrent may be deleted from tracker.
I want more universal way.

I think this method will be universal
1. request most popular torrents (info_hash's) from tracker, or 5-10 random torrents in last 4 hours
2. request from tracker peer list for given torrents (info_hash's)

Last edited by rpy3uH (2011-11-13 03:49:37)

Offline

#4 2011-11-13 03:53:12

DreadWingKnight
I never claimed to be nice.

Re: getting info_hash from tracker

Then define a static DHT entry node and have it point to a system that you keep a DHT-linked client running all the time.


FAQ and Search - Use them.
If guides ask for info, provide it before I have to ask for it.

Offline

#5 2011-11-13 05:15:40

rpy3uH
Member

Re: getting info_hash from tracker

DreadWingKnight wrote:

Then define a static DHT entry node and have it point to a system that you keep a DHT-linked client running all the time.

this way does not suit me, because it require server. and method depends on the server. I do not need any dependences.

I need method for getting peers from trackers. As I understand, HTTP-trackers don't provide access to registered info_hashs.

Offline

#6 2011-11-13 06:24:08

rpy3uH
Member

Re: getting info_hash from tracker

idea:
1. load page http://thepiratebay.org/top/all or similar page on other trackers
2. parse page and extract magnet-links
3. request peers for info_hashs from given magnet-links

Last edited by rpy3uH (2011-11-13 06:30:09)

Offline

#7 2011-11-13 06:36:23

DreadWingKnight
I never claimed to be nice.

Re: getting info_hash from tracker

Don't do it automatically. That would be potentially a DoS attack.

Just parse DHT nodes from peers you get from trackers on torrents that people load.


FAQ and Search - Use them.
If guides ask for info, provide it before I have to ask for it.

Offline

Board footer

Powered by FluxBB

©2013 BitTorrent, Inc. µTorrent is a trademark of BitTorrent, Inc.