opentracker – An open and free bittorrent tracker
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Go to file
erdgeist 5a3d6b4029 We now answer as soon as the first \n is seen
We do not copy input buffer to socket's input array anymore, if we find \n in first buffer
We simplified parsing of input string
We removed asserts that were needed to debug negative seeder counts
We split static input and output buffers for obvious reasons
We enlarged static output buffer to prepare multi scrape functionality
We removed -lm from Makefile, this lib was only needed, when our random algorithm worked on floats
We close fds now that come with an empty iocookie into write loop, those don't make sense
We documented query string parser in opentracker.c a lot better to help auditing
18 years ago
Makefile We now answer as soon as the first \n is seen 18 years ago
README account downloaded before early returns 18 years ago
README_v6 account downloaded before early returns 18 years ago
opentracker.c We now answer as soon as the first \n is seen 18 years ago
scan_urlencoded_query.c account downloaded before early returns 18 years ago
scan_urlencoded_query.h account downloaded before early returns 18 years ago
testsuite.sh -m64 is not usually a correct compile option 18 years ago
trackerlogic.c We now answer as soon as the first \n is seen 18 years ago
trackerlogic.h account downloaded before early returns 18 years ago

README

This is opentracker. An open bittorrent tracker.

You need libowfat (http://www.fefe.de/libowfat/).

Steps to go:

fetch http://dl.fefe.de/libowfat-0.25.tar.bz2
tar xjf libowfat-0.25.tar.bz2
cd libowfat
make
cd ..
fetch http://erdgeist.org/arts/software/opentracker/opentracker-1.0.tar.bz2
tar xjf opentracker-1.0.tar.bz2
cd opentracker-1.0
make
./opentracker

This tracker is open in a sense that everyone announcing a torrent is welcome to do so and will be informed about anyone else announcing the same torrent. Unless
-DWANT_IP_FROM_QUERY_STRING is enabled (which is meant for debugging purposes only), only source IPs are accepted. The tracker implements a minimal set of
essential features only but was able respond to far more than 10000 requests per second on a Sun Fire 2200 M2 (thats where we found no more clients able to fire
more of our testsuite.sh script).

Some tweaks you may want to try under FreeBSD:

sysctl kern.ipc.somaxconn=1024
sysctl kern.ipc.nmbclusters=32768
sysctl net.inet.tcp.msl=10000
sysctl kern.maxfiles=10240

License information:

Although the libowfat library is under GPL, Felix von Leitner aggreed that the compiled binary may be distributed under the same beer ware license as the source code for opentracker. However, we like to hear from happy customers.