You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
🌲🍄 65d8fe85d6 Update readme 7 months ago
m4 Ocelot 1.0 7 years ago
mixtape Add WCD 10th anniversary mixtape 7 months ago
.gitignore Ocelot 0.1 alpha 7 years ago
CHANGES Ocelot 1.0 7 years ago
LICENSE Ocelot 0.5 7 years ago
Makefile.am Ocelot 1.0 7 years ago
Makefile.in Ocelot 1.0 7 years ago
README.md Update readme 7 months ago
aclocal.m4 Ocelot 1.0 7 years ago
compile Ocelot 1.0 7 years ago
config.cpp Enable TLS database connections 7 months ago
config.guess Ocelot 0.8 7 years ago
config.h Ocelot 1.0 7 years ago
config.sub Ocelot 0.8 7 years ago
configure Ocelot 1.0 7 years ago
configure.ac Ocelot 1.0 7 years ago
db.cpp Enable TLS database connections 7 months ago
db.h Enable TLS database connections 7 months ago
depcomp Ocelot 0.8 7 years ago
events.cpp Ocelot 1.0 7 years ago
events.h Ocelot 1.0 7 years ago
install-sh Ocelot 0.5 7 years ago
misc_functions.cpp Ocelot 1.0 7 years ago
misc_functions.h Ocelot 1.0 7 years ago
missing Ocelot 1.0 7 years ago
ocelot.conf.dist Enable TLS database connections 7 months ago
ocelot.cpp Ocelot 1.0 7 years ago
ocelot.h Ocelot 1.0 7 years ago
report.cpp Ocelot 1.0 7 years ago
report.h Ocelot 1.0 7 years ago
response.cpp Ocelot 1.0 7 years ago
response.h Ocelot 1.0 7 years ago
schedule.cpp Ocelot 1.0 7 years ago
schedule.h Ocelot 1.0 7 years ago
site_comm.cpp Ocelot 1.0 7 years ago
site_comm.h Ocelot 1.0 7 years ago
user.cpp Ocelot 1.0 7 years ago
user.h Ocelot 1.0 7 years ago
worker.cpp Add WCD 10th anniversary mixtape 7 months ago
worker.h Add WCD 10th anniversary mixtape 7 months ago

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

apt install \
	automake \
	g++ \
	gcc \
	libboost-dev \
	libboost-iostreams-dev \
	libboost-system-dev \
	libev-dev \
	libmysql++-dev \
	libtcmalloc-minimal4 \
	make

Installation

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

Standalone Installation

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

  • Build Ocelot:

cd ocelot/
autoreconf
./configure \
	--with-boost-libdir=/usr/lib/x86_64-linux-gnu \
	--with-ev-lib=/usr/lib/x86_64-linux-gnu \
	--with-mysql-lib=/usr/lib/x86_64-linux-gnu \
	--with-mysqlpp-lib=/usr/lib/x86_64-linux-gnu
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