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
Romain Porte c4fc41a831 opentracker.c: check set*id return values
This commit fix the following similar warnings:

    opentracker.c:562:7: warning: ignoring return value of ‘setegid’
    declared with attribute ‘warn_unused_result’ [-Wunused-result]
    […]

The man page of these functions ask users to explicitly check the return
value in case of any error happening.
3 years ago
opentracker.xcodeproj new flag to enforce gzip even if client did not request it 13 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 Obey DESTDIR macro. Thanks to Romain Porte 3 years ago
README Fix spelling error ;) 12 years ago
README_v6 v6 works since january 15 years ago
opentracker.c opentracker.c: check set*id return values 3 years ago
opentracker.conf.sample Add functionality to distribute udp to several workers 13 years ago
ot_accesslist.c Make accesslists work again by testing the actual result of bsearch. Thanks to Hanno 4 years ago
ot_accesslist.h Get rid of some warnings regarding header guards 8 years ago
ot_clean.c Make woodpecker spotting more usable by adjusting count every 2 minutes 13 years ago
ot_clean.h Get rid of some warnings regarding header guards 8 years ago
ot_fullscrape.c Split huge iovecs over multiple io_batches 4 years ago
ot_fullscrape.h Get rid of some warnings regarding header guards 8 years ago
ot_http.c Fix two issues when splitting an iovec to large iobatches 4 years ago
ot_http.h Split huge iovecs over multiple io_batches 4 years ago
ot_iovec.c Remove old mman header 4 years ago
ot_iovec.h Turn mmaps into malloc 4 years ago
ot_livesync.c Protect static data by mutex 10 years ago
ot_livesync.h Get rid of some warnings regarding header guards 8 years ago
ot_mutex.c Turn mmaps into malloc 4 years ago
ot_mutex.h incorporate a more verbose ascii dump, provided by Tom <tom@foscore.com> 8 years ago
ot_rijndael.c Add rijndael to version report 13 years ago
ot_rijndael.h Get rid of some warnings regarding header guards 8 years ago
ot_stats.c Forgot to include one error code. Thanks to Lars Seipel 9 years ago
ot_stats.h Get rid of some warnings regarding header guards 8 years ago
ot_sync.c Whitespace fixes 16 years ago
ot_sync.h Get rid of some warnings regarding header guards 8 years ago
ot_udp.c Add newline to debug string 4 years ago
ot_udp.h Get rid of some warnings regarding header guards 8 years ago
ot_vector.c Nicer formatting for value-- 16 years ago
ot_vector.h Get rid of some warnings regarding header guards 8 years ago
proxy.c Use arc4random whereever we need strong entropy 4 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 Get rid of some warnings regarding header guards 8 years ago
sync_daemon.pl Gimmi Beer! 18 years ago
trackerlogic.c Turn random() to nrand48 in inner loop where it is not cryptographically relevant to avoid futex storm. Thanks and credits to Bart Smienk 4 years ago
trackerlogic.h Use arc4random whereever we need strong entropy 4 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 agreed 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.