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 c2cbe1dc27 A simple script that fills up opentracker with some peers, if -DWANT_IP_FROM_QUERY_STRING is specifierd 17 years ago
opentracker.xcodeproj Reflect changes for ot_http.* in project file 17 years ago
tests A simple script that fills up opentracker with some peers, if -DWANT_IP_FROM_QUERY_STRING is specifierd 17 years ago
Makefile Introduce new ot_http.c and ot_http.h 17 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 / can now be redirected to any URL 17 years ago
ot_accesslist.c Move blessed IP handling code to accesslist objects 17 years ago
ot_accesslist.h Move blessed IP handling code to accesslist objects 17 years ago
ot_clean.c Simplify includes 17 years ago
ot_clean.h Simplify includes 17 years ago
ot_fullscrape.c Be a little more verbose about why increases fail 17 years ago
ot_fullscrape.h Drop ot_{byte,word,dword} and use uint{8,16,32}_t 17 years ago
ot_http.c add mrtgstyle stats for number of torrents 17 years ago
ot_http.h Count invalid requests 17 years ago
ot_iovec.c make ot_iovecs fix last interface more sane, also add a convenience function that handles the task of fixing, allocating and - if necessary - freeing 17 years ago
ot_iovec.h Simplify includes 17 years ago
ot_mutex.c Simplify includes 17 years ago
ot_mutex.h add mrtgstyle stats for number of torrents 17 years ago
ot_stats.c add mrtgstyle stats for number of torrents 17 years ago
ot_stats.h / can now be redirected to any URL 17 years ago
ot_sync.c Simplify includes 17 years ago
ot_sync.h Drop ot_{byte,word,dword} and use uint{8,16,32}_t, also simplify includes 17 years ago
ot_udp.c Drop ot_{byte,word,dword} and use uint{8,16,32}_t, also simplify includes 17 years ago
ot_udp.h Missing newline warning, missing include fixed 17 years ago
ot_vector.c Drop ot_{byte,word,dword} and use uint{8,16,32}_t, also simplify includes 17 years ago
ot_vector.h Simplify includes 17 years ago
scan_urlencoded_query.c I accidently put space on the list of non-terminating characters... 17 years ago
scan_urlencoded_query.h Save a lot of work when skipping through uninteresting http request parameters 17 years ago
sync_daemon.pl Gimmi Beer! 18 years ago
trackerlogic.c Fix include for iovecs 17 years ago
trackerlogic.h Drop ot_{byte,word,dword} and use uint{8,16,32}_t, also simplify includes 17 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.