opentracker – An open and free bittorrent tracker
 
 
 
 
 
Go to file
erdgeist 91f5fa20a7 include overall completed count in stats
opentracker.xcodeproj The BIG refactoring [tm]. Too many changes to count them. If it doesn't suite you, revert to last version.
tests The BIG refactoring [tm]. Too many changes to count them. If it doesn't suite you, revert to last version.
Makefile There seems to be more broken v6 APIs than just the OpenBSD one. Linux smells as well.
README Move stats out of opentracker.c, also have an own file handle udp requests.
README_v6 account downloaded before early returns
opentracker.c If we don't want v6, tell libowfat not to worry about it.
opentracker.conf.sample Document WANT_RESTRICT_STATS in sample config file
ot_accesslist.c Fix white spaces
ot_accesslist.h Add a stat option the count bucket stalls
ot_clean.c Formatting
ot_clean.h The BIG refactoring [tm]. Too many changes to count them. If it doesn't suite you, revert to last version.
ot_fullscrape.c Fix white spaces
ot_fullscrape.h Add comments, rename our struct http_data h to cookie, all clientsockets to sock, all size_t from socket_recvs to byte_count. Make signal handler set default handler for the second SIGINT
ot_http.c include overall completed count in stats
ot_http.h V6
ot_iovec.c Formatting
ot_iovec.h The BIG refactoring [tm]. Too many changes to count them. If it doesn't suite you, revert to last version.
ot_livesync.c Formatting
ot_livesync.h Add comments, rename our struct http_data h to cookie, all clientsockets to sock, all size_t from socket_recvs to byte_count. Make signal handler set default handler for the second SIGINT
ot_mutex.c Add a stat option the count bucket stalls
ot_mutex.h include overall completed count in stats
ot_stats.c include overall completed count in stats
ot_stats.h include overall completed count in stats
ot_sync.c Whitespace fixes
ot_sync.h Whitespace fixes
ot_udp.c Add comments, rename our struct http_data h to cookie, all clientsockets to sock, all size_t from socket_recvs to byte_count. Make signal handler set default handler for the second SIGINT
ot_udp.h V6
ot_vector.c Add comments, rename our struct http_data h to cookie, all clientsockets to sock, all size_t from socket_recvs to byte_count. Make signal handler set default handler for the second SIGINT
ot_vector.h The BIG refactoring [tm]. Too many changes to count them. If it doesn't suite you, revert to last version.
scan_urlencoded_query.c Lot of Gehacktes around this keyword scanner. Don't return a match if string to compare is shorter than key from table.
scan_urlencoded_query.h V6
sync_daemon.pl Gimmi Beer!
trackerlogic.c include overall completed count in stats
trackerlogic.h Fix white spaces

README

This is opentracker. An open bittorrent tracker.

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

Steps to go:

cvs -d :pserver:cvs@cvs.fefe.de:/cvs -z9 co libowfat
cd libowfat
make
cd ..
cvs -d:pserver:anoncvs@cvs.erdgeist.org:/home/cvsroot co opentracker
cd opentracker
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.