bittorrent

Django not translating Bittorrent query string properly

Hello, I'm writing a small Bittorrent tracker on top of the Django framework, as part of a larger project. However, I'm having problems with decoding the "info_hash" parameter of the announce request. Basically, uTorrent takes the SHA1 hash of the torrent in question and URL encodes the hex representation of it, which is then sent to t...

Bittorrent: Where do IP addresses come into picture?

I am reading about the Bittorrent protocol and couldn't find this mentioned on the Wiki page. I could understand the role of trackers and publishers but from a practical perspective, I tried contacting a tracker to give me some information and it gave me the following: 7%00%00%04%82%91%F3%CA%D5%92%08%C8%7C%B0%AE%1E4%2B%E4C:0:1 Now, th...

How does Torrentz.com find different trackers for same torrent?

I want to know the logic behind such comparison. Same is being done by BtReannouncer.net Do the torrents have similar hash or do they compare it by size and name? Most torrents on piratebay do not have trackers other than piratebay, but torrentz.com provides a complete list of all the trackers that are tracking the same torrent. ...

How to collect statistics from a bittorrent swarm?

I want to collect statistics from the spreading of a file in a new bittorrent swarm without actually downloading anything (or as little as possible). I need to know which peer has which pieces (to make file based statistics) knowing the number of seeders and leechers or percentages is not enough. Later when there are many peers I need to...

Can someone explain what a wire-level protocol is?

I am not very clear about the idea of wire-level protocols. I heard BitTorrent uses it and read that a wirelevel protocol can be considered an opposite of API. I read RMI calls can be considered wirelevel protocols but am still a little confused. Can someone explain this in a better way? ...

Is there a bittorent client I can easily programatically control from java?

A client wants to add functionality to a system that will distribute large files(~700mb) among 20 servers. The system is written in java. Bittorent seems like a perfect solution for this, is there client available that will allow me to add/remove torrents and track torrent progress programatically from java? ...

Use of bit-torrent for large file download as an alternative to FTP

The company I work for procures large volumes of data and does this by subscribing to FTP locations. I was wondering if it is possible to download the same using a tracker, the major challenge is authentication of the users IMO. Most ftp servers we subscribe to have a restriction of the number of ftp connection attempts. Does any one her...

Is there any libtorrent for C#?

Is there any bittorrent protocol implementation for C#? ...

Extract the SHA1 hash from a torrent file.

I've had a look around for the answer to this, but I only seem to be able to find software that does it for you. Does anybody know how to go about doing this in python? ...

Talking with a Bittorrent client listening on a port?

I have one of my computers seeding a torrent file on port 45000. I am trying to write a small client in python (or perhaps perl) that helps me to determine the types of messages this client supports for which I need to perhaps do a handshake with the client. In Azureus, this is done using a call like peer.getSupportedMessages(). Is it po...

Generate info_hash of torrent for xbtt

Hello, I am trying to create my own torrent tracker but dont know how to generate info_hash that is used xbtt to track torrents. Is this possible with php? I am using this function to bencode and decode http://paste.lisp.org/display/17178 Is this the correct hash? $nn = file_get_contents('my.torrent'); $file = bdecode($nn); $hash = ...

Obtaining IP addresses in Bittorrent

I am trying to get a list of IP addresses serving or downloading a file. What I did was to contact a tracker like openbittorrent.com to get the following (as part of the scrape file): B%00%00%0C%5F%B1%B1l%CAGa%84S%CB%B0%9BG%84%3BE:0:1 Now, the long string in the beginning is the info hash. As a next step, I did this: http://tracker.s...

Check if URL is a torrent in C# .NET

Hi! What's the best way for me to take url like: http://foobar.com/foo.torrent and check if that really is a torrent, not a html page or something else funny. Suggestions? Thank you :) ...

How do I design a torrent application?

I was curious as to the "correct" architecture of a torrent application; with WPF as the front end? ...

How to make software which will work like torrent?

Hey guys How to make software work like torrent work? Bcz always when i see that torrent software then i am really amazed by their sizes and what they do in that sizes? How they managed the download by parts and then all together as soon as u downloaded full part? and as soon as you had great speed then your download speed automatically ...

How To Know the number of seeds/peers for a torrent in PHP

Hi my question is that when you place a .torrent file for download in your website,how can you get the number of Seeds & Peers ,... for that torrent and inform the user of them? ...

How do BitTorrents connect with eachother?

Hey guys, I was just downloading a new distro of linux using uTorrent, and started to wonder how uTorrent (and other bittorrents) send files to eachother through NAT routers? They obviously use the trackers to get introduced, but how do they pass info to eachother? Is there a whitepaper on this? I couldn't find one :/ Thanks, Max ...

Read and output possible unicode torrent contents in C++?

I'm trying to write a simple C++ program to open a torrent file (Passed through argv[1]), read all of it, and then print the entire file's contents verbatim with no alterations, it has to print a carbon copy of the original torrent. The issue is, some of the torrents may contain Japanese, Russian, etc. (FIlenames, description, etc.)... A...

MonoTorrent: no peers connecting apart from webseeds

Hi, I've built a program based on MonoTorrent, which automatically downloads updates for a game. My problem is that no peers ever connect (neither while leeching or seeding), except for webseeds. (I tried it having 3 seeders: webseed, seeding with uTorrent and seeding with the same MonoTorrent client. Only the webseed ever connected, if...

Good BitTorrent libraries in .NET?

Hi all, I'm looking to write an application that uses the BitTorrent protocol to do some file distribution. Said application will be written in C#. Ideally I'm hoping not to have to implement the protocol if someone else has already done it and written it into a library. Has anyone got any ideas? Thanks in advance! ...