A
A
alkhankhel2012-01-20 07:27:58
bittorrent
alkhankhel, 2012-01-20 07:27:58

Magnet in BitTorrent, where does the .torrent file come from?

I am the holder of a simple retreker in a small local network. There is a desire to turn the dull info_hash list into something more informative. But I can't find information anywhere (it's hard to google) about how the system for obtaining the structure of a torrent file works when we have only the name of the tracker and info_hash. As I understand it, there is a way to get this structure from the sources themselves, but I did not find a description of this process in the description of the protocol = \
Request those who know where to find information or have encountered this question themselves, do not skimp on the answer :)
Ps since I am not a programmer in C / C ++, picking in the source codes of torrent clients, did not bring much success.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evengard, 2012-01-20
@Evengard

www.ghacks.net/2010/06/05/what-is-a-magnet-link-and-how-does-it-differ-from-torrents/
>Without going into to much detail, the hash of the magnet link is used to find peers using DHT.
Everything I found. It turns out that info_hash is simply searched in DHT, and not on the tracker. Although this is even logical - the magnet uri does not contain the address of the tracker. In fact, there is just info_hash of the torrent.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question