summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-08-14Looking into pointer arithmetics issueerdgeist
2010-08-14tidy up peer count parser codeerdgeist
2010-08-14Fix encoding of peer count in proxy sync packeterdgeist
2010-08-14enable proxy.debug targeterdgeist
2010-08-13Tidy up sync proxy codeerdgeist
2010-08-09Reset http request input array on error caseerdgeist
2010-08-09the keep-alive loop must not run, if no keep alive is configured or requested for connectionerdgeist
2010-07-30We have been too overly cautious not to read beyond the boundary.erdgeist
2010-05-05Make whitelist parser more robust against comments. I assumed perfectly arranged white lists until nowerdgeist
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