1
0
mirror of git://erdgeist.org/opentracker synced 2025-01-13 08:20:06 +00:00
opentracker – An open and free bittorrent tracker
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
2007-01-29 02:02:03 +00:00
Makefile We now answer as soon as the first \n is seen 2007-01-29 02:02:03 +00:00
opentracker.c We now answer as soon as the first \n is seen 2007-01-29 02:02:03 +00:00
README account downloaded before early returns 2007-01-27 16:06:13 +00:00
README_v6 account downloaded before early returns 2007-01-27 16:06:13 +00:00
scan_urlencoded_query.c account downloaded before early returns 2007-01-27 16:06:13 +00:00
scan_urlencoded_query.h account downloaded before early returns 2007-01-27 16:06:13 +00:00
testsuite.sh -m64 is not usually a correct compile option 2007-01-20 01:50:28 +00:00
trackerlogic.c We now answer as soon as the first \n is seen 2007-01-29 02:02:03 +00:00
trackerlogic.h account downloaded before early returns 2007-01-27 16:06:13 +00:00

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.