mirror of git://erdgeist.org/opentracker
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.
d42bf5a031
This is where we encapsulate all per-request data from peer to hash to peer_id, so that it is available everywhere without passing hundreds of pointers down the stack. Most functions that do work down the stack now accept an ot_workstruct and some flags. So it can end up in the stats/event-handler where it will be the default parameter in the future. ** peer_id is now being copied by default and moved to ot_workstruct So it is available in stats and subsequent functions. ** sync scrape madness is gone SYNC_SCRAPE was intended to sync tracker state that would normally be lost on restarts i.e. downloaded counts per torrent. The way was to push it in the tracker cloud after finding all neighbouring trackers. This is madness. It never was tested and can be done per tracker by fetching stats/mode=statedump from time to time and starting opentracker with the -l option later. ** livesync thread has its own ot_workstruct now So it can behave like ot_udp and ot_http against trackerlogic.c and get rid of the first half of the embarrassing global variables. The sending half will be fixed soon [tm]. ** stats can log completed events The author recognizes the needs of original content distributors to keep track of the amount of times a work has been downloaded. While not feasible and used on openbittorrent and other open and anonymous tracker installations, a tracker user can now choose to send those events to syslog. |
15 years ago | |
---|---|---|
opentracker.xcodeproj | 16 years ago | |
tests | 16 years ago | |
Makefile | 15 years ago | |
README | 17 years ago | |
README_v6 | 15 years ago | |
opentracker.c | 15 years ago | |
opentracker.conf.sample | 15 years ago | |
ot_accesslist.c | 16 years ago | |
ot_accesslist.h | 16 years ago | |
ot_clean.c | 16 years ago | |
ot_clean.h | 16 years ago | |
ot_fullscrape.c | 16 years ago | |
ot_fullscrape.h | 16 years ago | |
ot_http.c | 15 years ago | |
ot_http.h | 15 years ago | |
ot_iovec.c | 16 years ago | |
ot_iovec.h | 16 years ago | |
ot_livesync.c | 15 years ago | |
ot_livesync.h | 15 years ago | |
ot_mutex.c | 16 years ago | |
ot_mutex.h | 16 years ago | |
ot_stats.c | 15 years ago | |
ot_stats.h | 16 years ago | |
ot_sync.c | 16 years ago | |
ot_sync.h | 16 years ago | |
ot_udp.c | 15 years ago | |
ot_udp.h | 16 years ago | |
ot_vector.c | 16 years ago | |
ot_vector.h | 16 years ago | |
proxy.c | 15 years ago | |
scan_urlencoded_query.c | 16 years ago | |
scan_urlencoded_query.h | 16 years ago | |
sync_daemon.pl | 18 years ago | |
trackerlogic.c | 15 years ago | |
trackerlogic.h | 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.