Giter Site home page Giter Site logo

raybbb / bttracker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from qq431169079/bttracker

0.0 1.0 0.0 139 KB

BEP-15 (UDP Tracker Protocol for BitTorrent) implementation in C.

License: BSD 3-Clause "New" or "Revised" License

Makefile 0.94% M4 1.09% C 97.97%

bttracker's Introduction

BtTracker

BtTracker is a BEP-15 (UDP Tracker Protocol for BitTorrent) implementation in C.

Disclaimer: This is experimental software. Do not use it in production.

Features

  • 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

Supported Platforms

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)

Building

First, make sure you have the required toolchain in order to compile it:

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.

Running

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.

Installing

I don't recommend you to make install this package because it is not yet complete.

Donate

If this project is useful for you, buy me a beer!

Bitcoin: bc1qtwyfcj7pssk0krn5wyfaca47caar6nk9yyc4mu

License

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.

bttracker's People

Contributors

danielfm avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.