summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-04-27Fix typo in stat reporting, use udp and not tcp counter. Thanks to zebulonDirk Engling
2014-10-07Protect static data by mutexerdgeist
2014-10-07Only kick off udp handlers, when everything is initialisederdgeist
2014-10-07Initialise all values of aes keyerdgeist
2013-08-04Fix immediate overwrite in the X-forwarded-for passing case. Thanks to Alexander Luetjen.erdgeist
2013-06-07Fix spelling error ;)erdgeist
2012-06-08Dont make srandomdev the default, it exists only in BSDserdgeist
2012-06-03Make woodpecker spotting more usable by adjusting count every 2 minuteserdgeist
2012-06-03Calculate the old hash for the ip address only, when the current one mismatcheserdgeist
2012-06-03Dont ruin the srandomdev initialisation in trackerlogic's initerdgeist
2012-05-31Forgot variable declarationerdgeist
2012-05-29reduce zlib warnings to when there really is something failingerdgeist
2012-05-29new flag to enforce gzip even if client did not request itdenis
2012-05-29Add rijndael to version reporterdgeist
2012-05-28Remove debug infoerdgeist
2012-05-28Report connection id missmatch counterdgeist
2012-05-28udp now generates a cryptographically secure token for connecting clients. This is later verified.erdgeist
2012-05-28Init prng before udp code needs it.erdgeist
2012-05-28Add connection id missmatch codeerdgeist
2012-05-28Adding rijndael code for udp connection id calculationerdgeist
2012-05-18Do not always grow the vector, shrink the first iovec to 0 before filling the second oneerdgeist
2012-05-18Need more space for top100erdgeist
2012-05-18Add a top100 for most popular torrentserdgeist
2012-04-25Add functionality to distribute udp to several workerserdgeist
2012-04-01undo last change, it did not work wellerdgeist
2012-04-01fix tiny issueerdgeist
2012-04-01fix prototypeerdgeist
2012-03-31Try to act upon all udp packets at onceerdgeist
2011-11-16silenced some clang warningsdenis
2010-12-11Open syslog connection before dropping privilegeserdgeist
2010-08-26Prevent infinite loop if whitelist ends in several returnserdgeist
2010-08-18Chomp all trailing space characters, including new lines, when parsing the config fileerdgeist
2010-08-17Load state only after initialising all structs. Thanks to Michael S. Combs for pointing out the buferdgeist
2010-08-15Stop sending tracker id with every packeterdgeist
2010-08-15Don't only walk through outgoing connections to search for connected peerserdgeist
2010-08-15Address reconnecting issueserdgeist
2010-08-15Fixed sync loss bugerdgeist
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