bittorrent

Python Torrent Library

Does anyone know of an existing python library that I can use for working with / downloading torrent files? I am working with a project where I need to download torrent files, and I would like to not have to implement the specification myself if there is something out there that would make it easier. ...

Torrent library with .net or Lua bindings

I'm looking for a way to download torrents in a C# application. Ideally I would like bindings for a popular torrent library to .net, are there any? Alternatively (this is a bit of a long shot) the application already has Lua built in, so if there are Lua bindings I can also work with that. ...

Is there a recent open source Java BitTorrent library?

I've found Snark but it hasn't been updated since 2003 there have been some important changes to the protocol since then (DHT most importantly). I know I can also use the Azureus core but I'm hoping there is a another project designed as a library that I could use or help get to a usable state. ...

Script for automated torrent downloads (from announce urls in IRC)

Hi! Some time ago I read a discussion in /r/linux and someone mentioned a script that checks new messages in IRC channel (in irssi client) and if they contain announce urls for torrents, they are passed to a torrent client (rtorrent) for downloading. Sadly, I didn't bookmark it, nor I could find it now. Maybe someone has a similar scrip...

How does the Bittorrent protocol handle the data chunks?

How are the data chunks handled within the bittorrent protocol? When a client wants to download e.g. a linux distribution does the tracker return a list of peers which a client then connects to and requests chunks from each peer or does the tracker return a list of peers and info of which peer has what data? Where is the data chunks m...

Ports that are always open? How does softwares like bittorrent manage to communicate even without port forwarding?

Hi, How come bittorrent clients manage to communicate to servers and other peers even if user has not configured port forwarding in their routers? Of course the speed will be very less compared to when port forwarding is done, but still they manage to communicate? How??? Are there any inbound ports which are always open? Regards, ...

Using python and the bittorrent protocol

I wanted to write a program with could send and receive data over a NAT router without having to set up port forwarding first. Do i need to use the bittorrent protocol or is there something better? ...

Getting the SHA hash from info dictionary in torrent file in Erlang

Hi, I have been trying to parse a torrent file in Erlang, So far I was able to extract all the general info like torrent name, files(length, path, name), tracker link... The only thing that is bothering me is the sha1 hash value. I checked many websites online and according to the specification the "info" dictionary is what needs to b...

How do I convert a Bit Torrent info_hash (obtained from Wireshark) to a SHA1 hash

I'm running Snort which detects some P2P activity, specifically the BitTorrent announce request. I see the HTTP GET /announce.php?info_hash=XXX... request and I'm trying to convert this XXX into a proper SHA1 hash to try and get an idea of what is being downloaded. I've read various things that say this is URL encoded, and others that s...

Is there a Ruby on Rails based torrent tracker?

I'm looking for a torrent tracker written in Ruby on Rails (TBDev.net style or so). Is there a ready made package? Another option: Is there a robust torrent tracker software that can act as a backend for which I can write a RoR front end? ...

How To Calculate Torrent Info Hash In VB6

I understand that you must calculate the SHA1 of the info dict in the torrent file, I am struggling Parsing the info dict, Do i Need to decode the bencoded info dict before calculating the sha1 hash?? How do I do it? ...