Setting up a torrent tracker and seeder

bittorrent

I'm one of the leaders of revora.net, a creative gaming network that freely hosts lots of game (modding) projects. Lately, bandwidth has been an issue somewhat. To alleviate this we want to give our users the option to share their huge files with BitTorrent.

What we'd like to do is that people can upload their files via the FTP account they already have. They can then go to a custom web"site" where they can enable those files to be shared via BitTorrent.

We'd like our server to be the tracker (unless using another one is easier) and also act as a permanent seeder (so there's always at least one). We need to be able to control both (tracker and seeder-client) from PHP and other scripts.

What's the best way to set this up?

Best Answer

rtorrent is:

  • able to watch directories (so, for example, if you want to seed a.torrent, you put a.torrent in a specific directory and rtorrent automatically adds it, if you remove it, rtorrent removes it too)
  • can be controlled and monitored with XMLRPC from scripts, PHP, etc.