Radiance is a BitTorrent tracker written in C++ for the Luminance project. It supports requests over TCP and can track both IPv4 and IPv6 peers in a dual-stack mixed swarm.
- GCC/G++ (4.7+ required; 4.8.1+ recommended)
- LLVM/clang++ (3.3+ required; 3.4+ recommended) (alternative to GCC/G++)
- Boost (1.55.0+ required)
- libev (required)
- MySQL++ (3.2.0+ required)
- jemalloc (optional, but highly recommended - preferred over tcmalloc)
- TCMalloc (optional)
- Create the following tables:
options
torrents
users_freeleeches
users_slots
users_main
xbt_client_blacklist
xbt_files_users
xbt_peers_history
xbt_snatched
-
Edit
radiance.conf
to your liking. -
Build Radiance:
autoreconf ./configure make make install
--with-jemalloc
is recommended
--with-tcmalloc
is a good alternative to jemalloc
--enable-debug
can help to find the source of crashes
-c <path/to/radiance.conf>
- Path to config file. If unspecified, the current working directory is used.-d
- Fork to the background and run as a service daemon.
SIGHUP
- Reload configSIGUSR1
- Reload torrent list, user list and client whitelist