No description, website, or topics provided.
C++ Shell
Latest commit 972c8d6 Jan 27, 2015 Git Ocelot 1.0
Permalink
Failed to load latest commit information.
m4 Ocelot 1.0 Jan 27, 2015
.gitignore Ocelot 0.1 alpha Sep 2, 2014
CHANGES Ocelot 1.0 Jan 27, 2015
LICENSE Ocelot 0.5 Sep 2, 2014
Makefile.am Ocelot 1.0 Jan 27, 2015
Makefile.in Ocelot 1.0 Jan 27, 2015
README.md Ocelot 1.0 Jan 27, 2015
aclocal.m4 Ocelot 1.0 Jan 27, 2015
compile Ocelot 1.0 Jan 27, 2015
config.cpp Ocelot 1.0 Jan 27, 2015
config.guess Ocelot 0.8 Sep 2, 2014
config.h Ocelot 1.0 Jan 27, 2015
config.sub Ocelot 0.8 Sep 2, 2014
configure Ocelot 1.0 Jan 27, 2015
configure.ac Ocelot 1.0 Jan 27, 2015
db.cpp Ocelot 1.0 Jan 27, 2015
db.h Ocelot 1.0 Jan 27, 2015
depcomp Ocelot 0.8 Sep 2, 2014
events.cpp Ocelot 1.0 Jan 27, 2015
events.h Ocelot 1.0 Jan 27, 2015
install-sh Ocelot 0.5 Sep 2, 2014
misc_functions.cpp Ocelot 1.0 Jan 27, 2015
misc_functions.h Ocelot 1.0 Jan 27, 2015
missing Ocelot 1.0 Jan 27, 2015
ocelot.conf.dist Ocelot 1.0 Jan 27, 2015
ocelot.cpp Ocelot 1.0 Jan 27, 2015
ocelot.h Ocelot 1.0 Jan 27, 2015
report.cpp Ocelot 1.0 Jan 27, 2015
report.h Ocelot 1.0 Jan 27, 2015
response.cpp Ocelot 1.0 Jan 27, 2015
response.h Ocelot 1.0 Jan 27, 2015
schedule.cpp Ocelot 1.0 Jan 27, 2015
schedule.h Ocelot 1.0 Jan 27, 2015
site_comm.cpp Ocelot 1.0 Jan 27, 2015
site_comm.h Ocelot 1.0 Jan 27, 2015
user.cpp Ocelot 1.0 Jan 27, 2015
user.h Ocelot 1.0 Jan 27, 2015
worker.cpp Ocelot 1.0 Jan 27, 2015
worker.h Ocelot 1.0 Jan 27, 2015

README.md

Ocelot

Ocelot is a BitTorrent tracker written in C++ for the Gazelle project. It supports requests over TCP and can only track IPv4 peers.

Ocelot Compile-time Dependencies

Installation

The Gazelle installation guides include instructions for installing Ocelot as a part of the Gazelle project.

Standalone Installation

  • Create the following tables according to the Gazelle database schema:

    • torrents
    • users_freeleeches
    • users_main
    • xbt_client_whitelist
    • xbt_files_users
    • xbt_snatched
  • Edit ocelot.conf to your liking.

  • Build Ocelot:

    ./configure
    make
    make install
    

Running Ocelot

Run-time options:

  • -c <path/to/ocelot.conf> - Path to config file. If unspecified, the current working directory is used.
  • -v - Print queue status every time a flush is initiated.

Signals

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