public
Description: Tiny PHP+mySQL BitTorrent tracker
Homepage: http://soultcer.net/wiki/Code/nanotrack
Clone URL: git://github.com/soult/nanotrack.git
nanotrack / README
100644 33 lines (27 sloc) 1.295 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
== About ==
nanotrack is my small toy BitTorrent tracker. My goal was to create a fast
BitTorrent tracker with PHP and mySQL as backend. If you really want a
high-speed tracker and have more than just PHP webspace you should consider
using opentracker[1].
 
== Install ==
* Edit config.inc.php
* Create the MySQL table (execute table.sql)
* Upload announce.php, config.inc.php and cron.php
* Create a cronjob that calls cron.php every now and then
+ Optional: Add a redirect from announce to announce.php
 
== Bugs ==
PHP has a bug that excludes data from $_GET if the value contains a nullbyte,
therefore info-hashes with nullbytes can't be tracked. I am thinking about
implementing a workaround.
You might also consider as a bug that nanotracker only "estimates" the ratio
of seeders to leechers based on the total number of peers.
The scrape protocol is not supported at the moment, I am not even sure if it's
worth adding it.
Last but not least, no IPv6 support. Would only bloat the code for a very
small group of very early adopters. Maybe when IPv6 has more users.
 
== bencode.php ==
This file is not needed for running the tracker. It includes two functions,
bencode() and bdecode(). Maybe they are helpful to someone.
 
-----
1: http://erdgeist.org/arts/software/opentracker/
 
vim:tw=78: