1
0
mirror of git://erdgeist.org/opentracker synced 2025-01-11 23:40:04 +00:00
opentracker – An open and free bittorrent tracker
Go to file
2007-11-22 04:37:41 +00:00
Makefile Make allowing gzip a Makefile tunable 2007-11-22 04:37:41 +00:00
opentracker.c Last user of sendmmapdata is gone. Purge it. 2007-11-21 01:53:17 +00:00
ot_accesslist.c static bufs are not shared anymore, even if that means more memory. 2007-11-21 01:55:59 +00:00
ot_accesslist.h Moving accesslist stuff to its own object 2007-11-12 04:39:53 +00:00
ot_clean.c Make clean_single_torrent return much faster, if nothing is to do 2007-11-20 02:22:21 +00:00
ot_clean.h Formatting 2007-11-21 01:56:14 +00:00
ot_fullscrape.c Documentation fix 2007-11-21 01:54:31 +00:00
ot_fullscrape.h Fullscrape now cleanly finalizes its thread 2007-11-19 21:14:09 +00:00
ot_iovec.c Rather embarrasing arithmetic fuckup 2007-11-13 00:30:17 +00:00
ot_iovec.h Return at end of line missing 2007-11-12 01:45:33 +00:00
ot_mutex.c Tested for a too strict condition, we do need the correct tasktype AND an empty taskid, not the other way around 2007-11-20 02:55:13 +00:00
ot_mutex.h Split sync in and sync out into different tasks 2007-11-21 01:54:52 +00:00
ot_stats.c Stats are tasks now. 2007-11-18 16:45:34 +00:00
ot_stats.h Stats are tasks now. 2007-11-18 16:45:34 +00:00
ot_sync.c Make sync generation multithreaded. 2007-11-21 01:55:15 +00:00
ot_sync.h Reflect changes in multithreaded sync model in header file. 2007-11-21 01:55:42 +00:00
ot_udp.c static bufs are not shared anymore, even if that means more memory. 2007-11-21 01:55:59 +00:00
ot_udp.h Missing newline warning, missing include fixed 2007-11-06 17:53:45 +00:00
ot_vector.c No one can get access to buckets now without locking them. Also split up the trackerlogic.c-monster in functional sub-units. HEADS UP: this code is untested and not considered stable. 2007-11-06 11:58:32 +00:00
ot_vector.h Formatting 2007-11-21 01:56:14 +00:00
README Move stats out of opentracker.c, also have an own file handle udp requests. 2007-11-06 17:50:41 +00:00
README_v6 account downloaded before early returns 2007-01-27 16:06:13 +00:00
scan_urlencoded_query.c I accidently put space on the list of non-terminating characters... 2007-10-23 00:44:22 +00:00
scan_urlencoded_query.h Save a lot of work when skipping through uninteresting http request parameters 2007-10-18 23:33:07 +00:00
sync_daemon.pl Gimmi Beer! 2007-04-02 17:05:06 +00:00
trackerlogic.c Fixing mmap allocation went to ot_mutex.c. Also startup new sync thread. 2007-11-21 01:57:03 +00:00
trackerlogic.h Fixing mmap allocation went to ot_mutex.c. Clean all torrents moved to ot_clean.c. Also make static buffers static 2007-11-21 01:57:39 +00:00

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.