summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-04-22** struct ot_workstruct gets ritcher (and will become even ritcher soon).erdgeist
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.
2010-04-22Get rid of SYNC_SCRAPE madness. It's overkill and no one uses it.erdgeist
2010-04-21Fix white spaceserdgeist
2010-04-21Add our own time stamps to the completed logs.erdgeist
2010-04-09Make opentracker's user runtime configurable. Also add more debug output to aid finding problems.erdgeist
2010-04-09Fix segfault in stats?mode=everything, an additional errorcode was not commited to ot_statserdgeist
2010-04-09Only chroot if -d option or tracker.rootdir are seterdgeist
2009-12-01Fixed including another error messageerdgeist
2009-11-18Make header parsing more efficient, prepare multithreading and keep-alive.erdgeist
2009-11-18Preparing more efficient header parsingerdgeist
2009-11-16prevent infinite loop when looking for X-Forwarded-For: Headerserdgeist
2009-11-12Allow logging of completed events to syslogerdgeist
2009-11-05Fixed parser error for v6 addresseserdgeist
2009-10-15Should not report sync scrape packets in stderrerdgeist
2009-10-15Reenable statedumperdgeist
2009-10-15Need to compile sources for proxyerdgeist
2009-10-15Add source files to proxy projecterdgeist
2009-10-08v6 works since januaryerdgeist
2009-10-02Log successful incoming connectionserdgeist
2009-10-02Report connection duplicationerdgeist
2009-10-02Network connection code seems to be working nowerdgeist
2009-10-01Network handling code skeleton stands, is untested and no configure code there, yet.erdgeist
2009-09-29Reaching completion soonerdgeist
2009-09-02Update project to use 10.6 CLang by default.erdgeist
2009-09-02#define closed too earlyerdgeist
2009-09-02Add spotting woodpeckers, thanks to Vasya P. againerdgeist
2009-09-02Going to the forest, spotting woodpeckerserdgeist
2009-09-01Cleanup s24s code, remove an ugly mem leak, thanks to Vasya P. for pointing at the bug and suggesting a fixerdgeist
2009-08-30add option to log the numwants over timeerdgeist
2009-08-30Temporary feature: log amount of numwants. See if we can save traffic if we reduce max numwant to something less than 200erdgeist
2009-08-30Limit shifting in s24s cleanup code to a non-overflowing sizeerdgeist
2009-08-29Put the WANT_MODEST_FULLSCRAPES option into Makefileerdgeist
2009-08-29Enable limiting fullscrapes to only every 5 minutes per IPerdgeist
2009-08-26Enable Networks debugging in Makefileerdgeist
2009-08-26Nicer formatting for value--erdgeist
2009-08-26Add some subnet debugging featureserdgeist
2009-08-26Introducing the concept of vectors of nets into opentrackererdgeist
2009-08-26binary search speedup was buggy.erdgeist
2009-08-26Optimize binary_search functionerdgeist
2009-08-26Introduce the concept of an ot_net into opentracker.erdgeist
2009-08-26Omit a warning where signed chars can't hold 0xff. Initialisen them with -1erdgeist
2009-07-17Make accesslists thread safe. Signal handler is working in its own thread now, waiting for a signal. All other threads ignore signals.erdgeist
2009-07-17Debug information only in debug mode.erdgeist
2009-07-17Make opentracker HUGE-accesslist-ready. Parse, then sort.erdgeist
2009-07-16Double definition of all_torrentserdgeist
2009-07-16Add a new proxy daemon to opentrackererdgeist
2009-07-15Make opentracker return tracker id in stats=everything requesterdgeist
2009-07-15Missed the last info_hasherdgeist
2009-07-14Parse accesslist file by mmaping the whole thing and searching for lines by ourself. fgets is slooooooow on linux.erdgeist
2009-07-14Order 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).erdgeist