opentracker – An open and free bittorrent tracker
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
erdgeist 6eeb16123c Cleanup s24s code, remove an ugly mem leak, thanks to Vasya P. for pointing at the bug and suggesting a fix 15 years ago
opentracker.xcodeproj The BIG refactoring [tm]. Too many changes to count them. If it doesn't suite you, revert to last version. 16 years ago
tests The BIG refactoring [tm]. Too many changes to count them. If it doesn't suite you, revert to last version. 16 years ago
Makefile add option to log the numwants over time 15 years ago
README Move stats out of opentracker.c, also have an own file handle udp requests. 17 years ago
README_v6 account downloaded before early returns 18 years ago
opentracker.c Omit a warning where signed chars can't hold 0xff. Initialisen them with -1 15 years ago
opentracker.conf.sample Allow /stats to be located anywhere in your trackers path 16 years ago
ot_accesslist.c Introducing the concept of vectors of nets into opentracker 15 years ago
ot_accesslist.h Introducing the concept of vectors of nets into opentracker 15 years ago
ot_clean.c Formatting 16 years ago
ot_clean.h The BIG refactoring [tm]. Too many changes to count them. If it doesn't suite you, revert to last version. 16 years ago
ot_fullscrape.c Fix white spaces 16 years ago
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 16 years ago
ot_http.c Temporary feature: log amount of numwants. See if we can save traffic if we reduce max numwant to something less than 200 15 years ago
ot_http.h Allow /stats to be located anywhere in your trackers path 16 years ago
ot_iovec.c Formatting 16 years ago
ot_iovec.h The BIG refactoring [tm]. Too many changes to count them. If it doesn't suite you, revert to last version. 16 years ago
ot_livesync.c Formatting 16 years ago
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 16 years ago
ot_mutex.c Remove unnecessary =NULL initialization of static pointers. 16 years ago
ot_mutex.h Temporary feature: log amount of numwants. See if we can save traffic if we reduce max numwant to something less than 200 15 years ago
ot_stats.c Cleanup s24s code, remove an ugly mem leak, thanks to Vasya P. for pointing at the bug and suggesting a fix 15 years ago
ot_stats.h Enable limiting fullscrapes to only every 5 minutes per IP 15 years ago
ot_sync.c Whitespace fixes 16 years ago
ot_sync.h Whitespace fixes 16 years ago
ot_udp.c Dont log connection id missmatches anymore 16 years ago
ot_udp.h V6 16 years ago
ot_vector.c Nicer formatting for value-- 15 years ago
ot_vector.h The BIG refactoring [tm]. Too many changes to count them. If it doesn't suite you, revert to last version. 16 years ago
proxy.c Double definition of all_torrents 16 years ago
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. 16 years ago
scan_urlencoded_query.h V6 16 years ago
sync_daemon.pl Gimmi Beer! 18 years ago
trackerlogic.c Order peers by whether they seed. This way clients can chose if they prefer leechers (at the beginning) or leechers (at the end of the list). 16 years ago
trackerlogic.h Enable limiting fullscrapes to only every 5 minutes per IP 15 years ago

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.