No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Latest commit 323311f Nov 14, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
install Radiance v1.1.4 Release Oct 10, 2018
m4 Radiance v1.1.3 Release Oct 1, 2018
src Support FreeBSD Nov 17, 2018
.gitignore Radiance v1.1.4 Release Oct 10, 2018
CHANGES Radiance v1.1.4 Release Oct 10, 2018
LICENSE Radiance v1.1 Release Jun 19, 2017
Makefile.am Radiance v1.1 Release Jun 19, 2017
README.md Support FreeBSD Nov 17, 2018
configure.ac Radiance v1.1.4 Release Oct 10, 2018

README.md

Radiance

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.

Radiance Compile-time Dependencies

  • 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)

Standalone Installation

  • 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 -i
./configure
make
sudo make install
  • On FreeBSD:
pkg update
pkg install autoconf automake autotools boost-libs clang35 gcc8 git gmake libev llvm35 mysql++-mysql56 google-perftools
git clone https://github.com/SebbaGerra/Radiance.git
cd Radiance/ && autoreconf -i && ./configure --with-tcmalloc && make && make install

Configure options:

--with-jemalloc is recommended

--with-tcmalloc is a good alternative to jemalloc

--enable-debug can help to find the source of crashes

Obs: Configure flags --with-jemalloc and --enable-debug doesn't work on FreeBSD, --with-jemalloc work's since you have google-perftools installed.

Running Radiance

Run-time options:

  • -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.
  • -v - Print version string and exit.

Signals

  • SIGHUP - Reload config
  • SIGUSR1 - Reload torrent list, user list and client blacklist