Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bittorrent tracker request

Using a torrent file from

http://torrent.ubuntu.com:6969/

I am calculating its hash which matches with the hash on the page.

Then i make a request to the tracker. Like

http://torrent.ubuntu.com:6969/announce?info_hash=9a81333c1b16e4a83c10f3052c1590aadf5e2e20

But i get

d14:failure reason63:Requested download is not authorized for use with this tracker.e

According to the spec this should work?

Tracker Spec General Spec

like image 552
Hamza Yerlikaya Avatar asked Jun 19 '09 18:06

Hamza Yerlikaya


People also ask

What does a BitTorrent tracker do?

The "tracker" server keeps track of where file copies reside on peer machines, which ones are available at time of the client request, and helps coordinate efficient transmission and reassembly of the copied file.

What does tracker mean in Torrenting?

If you aren't familiar with BitTorrent jargon, a tracker is a server that coordinates the peer-to-peer connections in a swarm. It doesn't host any files but connects you to the other users sharing the files you want.

Is BitTorrent tracked?

Your internet service provider can't instantly tell if you're using BitTorrent, nor can they tell what you're downloading on it. Most torrent clients have some form of encryption, which makes it harder for ISPs (and your home router) to pin down that BitTorrent traffic.


1 Answers

You specified the info_hash in hex, rather than URL-encoding. The bytes of the SHA-1 hash should be encoded directly, like this:

http://torrent.ubuntu.com:6969/file?info_hash=%9A%813%3C%1B%16%E4%A8%3C%10%F3%05%2C%15%90%AA%DF%5E.%20

Also, for the announce URL, some additional parameters like peer_id are usually required.

like image 140
mark4o Avatar answered Oct 13 '22 00:10

mark4o