bittorrent

Parsing a variable-length message

I am implementing the BitTorent protocol using Java via this spec. In the messages section all messages are fixed length except 2 of them; for one of them it's the only variable message after the handshake so I can check others and assume it's a piece message when no other messages met. But for the following message bitfield: <len=0001...

How to implement a secure distributed social network?

I'm interested in how you would approach implementing a BitTorrent-like social network. It might have a central server, but it must be able to run in a peer-to-peer manner, without communication to it: If a whole region's network is disconnected from the internet, it should be able to pass updates from users inside the region to each o...

RubyTorrent Issue

I am trying to create a script to help me move large files accross an internal Windows network, and was hoping that Ruby, in conjunction with BitTorrent would be ideal. However, my code doesnt seem to actually download anything. I know the RubyTorrent project has been abandoned for a long time, so I was hoping one of my fellow Stackove...

Java Thread Performance

I am working on a bittorrent client. While communicating with the peers the easiest way for me to communicate with them is to spawn a new thread for each one of them. But if the user wants to keep connections with large number of peers that my cause me to spawn a lot of threads. Another solution i thought of is have one thread to itera...

BitTorrent tracker announce problem

I've been throwing a little bit of spare time at writing a BitTorrent client, mostly out of curiosity but partly out of a desire to improve my c# skills. I've been using the theory wiki as my guide. I've built up a library of classes for handling BEncoding, which I'm quite confident in; basically because the sanity check is to regenera...

flash torrent client

is there any such web based flash torrent client available either free/commercial? ...

How does a DHT in a Bittorent client get "bootstrapped"?

If I have a torrent w/o any trackers in it, and I just started a bittorent client so I have no peers yet...how do I know who to first connect with in the DHT? It seems like I would have to know at least ONE node in the DHT to get started.... ...

How to count torrent seeders and peers?

How can I create a seeder and peer counter for a torrent tracking site ? ...

How to publish a tracker and build .torrent in bitSharp?

I'm search a step by step to use bitsharp, but I not found. I need to know how to generate .torrent file, and how to build a tracker with that. Can you help me? ...

Adobe Air - BitTorrent?

Has anyone had any experience using Adobe Air to create BitTorrent application? Is there presently any reference on this? Please provide as much information as possible. ...

wget-like bittorrent client or library?

Is there any bittorrent client or (Java|Python|Ruby|Perl) library that I can use like wget or curl? I would like to use simply as a step in a script, like you would use wget. EDIT: Sorry, I should have mentioned I'm using Ubuntu. ...

Bittorrent tracker

Hi, I'm building an application that will serve bittorrent video downloads. Which BT tracker is scalable, fast and efficient, and easy to integrate into an application? I'll probably be using MongoDB's gridFS to store files to be served. I'm not hosting a public tracker, only a tracker for my own video files so that is an important fea...

SSH tunneling + HTTP proxy

Hi! Consider the following scenario: I can connect to SSH_Server to access internet. I can also connect to HTTP_Proxy to access blocked ports. Now I want to use the HTTP_Proxy through the tunnel to the SSH_Server! e.g. [uTorrent] > [SSH_Server] > [HTTP_Proxy] > [peer/tracker] I'm on Windows and I use putty. Will privoxy help? Thank...

How to calculate the scrape URL for a torrent

Hi, so I've read the Bittorrent specification and done a number of searches, trying to find out how I can get the seeds/peers/downloaded data from a torrent tracker (using Python). I can calculate the info hash from a Torrent no problem, which matches up with the info hash given by various working torrent applications. However, when I t...

Create a new instance of an object, or modify the existing one?

I'm attempting to create a BitTorrent library in C# as a side project, for fun. However, I've run into a design issue that could create problems later on if I don't address it now. I currently have a PeerGreeter class, which puts a Socket in a listening state for any peers that try to connect to me, to serve me files in the torrent. Whe...

Network help through socks proxy

Hi, I'm looking networking help. I have a secure tunnel set up which gives me an http proxy on port 8080 and a socks proxy on port 1080. I also have ProxyCap installed which is configured to push all network traffic apart from a few exceptions through the socks proxy. Basically my problem is that if I try to run uTorrent with this met...

Understanding the Bittorrent Protocol

Hi all I am looking for some books, tutorial sites . I want to understand how Bittorrent protocol works and later to implement my own tracker . I don't have a big knowledge in network protocols so I am looking for a newbie stuff . Have seen following posts but they didn't helped me with my issue : http://stackoverflow.com/questions...

How can I generate a .torrent in Java?

I want to generate a .torrent file in Java, but I don't want a big API that does anything like scraping trackers, seeding, etc. This is just for a client that generates meta data. What lightweight solutions exist? I am only generating a .torrent of a single .zip file. Thanks! ...

PHP and BitTorrents

How can I read / decode a .torrent file with PHP? Do I need any specific library to decode such files or is it something simpler? ...

How do torrents work?

Can anyone explain to me or find me an article online, explaining in technical details how torrents work, which technology is used in creating? ...