BtTracker is a BEP-15 (UDP Tracker Protocol for BitTorrent) implementation in C.
Disclaimer: This is experimental software. Do not use it in production.
- Uses Redis as data storage
- Worker threads for enhanced concurrency
- Ability to whitelist or blacklist specific torrents
- Syslog integration with detailed logging (debug mode)
- Configurable via
.conf
file
This code is known to compile and run on the following operating systems:
- Linux (tested on ArchLinux and Ubuntu)
- Mac OS X 10.8+ (with Homebrew)
First, make sure you have the required toolchain in order to compile it:
- GCC, or a C-99 compiler
- pkg-config
- Automake
- Autoconf
Also, you need to install the required software/libraries:
Assuming that you've already cloned the repository, open a terminal and run the following commands in its root directory:
$ autoreconf -iv
$ ./configure
$ make
In order to run the unit tests:
$ make test
The tests are minimal since I still didn't settle for a macro design just yet, but the tests will eventually be written.
If you have failing tests, please send us a pull request.
If you have successfully compiled the code, you can now run the program:
$ src/bttracker <config_file>
A default configuration, bttracker.conf
file can be found at the project
root directory.
I don't recommend you to make install
this package because it is not yet
complete.
If this project is useful for you, buy me a beer!
Bitcoin: bc1qtwyfcj7pssk0krn5wyfaca47caar6nk9yyc4mu
Copyright (C) BtTracker Authors
Distributed under the New BSD License. See COPYING for further details.
For a list of names of who's been working in BtTracker, see AUTHORS and THANKS.