summaryrefslogtreecommitdiff
path: root/ot_stats.c
AgeCommit message (Collapse)Author
2010-04-21Fix white spaceserdgeist
2010-04-21Add our own time stamps to the completed logs.erdgeist
2010-04-09Fix segfault in stats?mode=everything, an additional errorcode was not commited to ot_statserdgeist
2009-11-12Allow logging of completed events to syslogerdgeist
2009-09-02#define closed too earlyerdgeist
2009-09-02Add spotting woodpeckers, thanks to Vasya P. againerdgeist
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-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-26Add some subnet debugging featureserdgeist
2009-07-15Make opentracker return tracker id in stats=everything requesterdgeist
2009-06-17Remove unnecessary =NULL initialization of static pointers.erdgeist
2009-06-16Display v4 addresses in v4 mode nicererdgeist
2009-06-15Major rewrite of live bad network logging. You can now limit logging to any netmask. HTTP interface for that coming soon.erdgeist
2009-03-25Make our stats xml validate againerdgeist
2009-03-24include overall completed count in statserdgeist
2009-03-18Fix XML syntaxerdgeist
2009-03-17Fix white spaceserdgeist
Introduce loading tracker states with -l Alter tracker state to a human readable form
2009-03-12Found some minor issues in busy network detection code.erdgeist
2009-03-12Re-implement logging busy networks to handle v6 API.erdgeist
Implement a state dump for later reparsing.
2009-03-04Add a everything stats page. So you won't have to remember what all those switches were.erdgeist
Remove the prepared Add/Remove-Torrent count until we implement it. Remove the start/stop count until we implement it.
2009-03-04Add a stat option the count bucket stallserdgeist
Add an iterator for all torrents. It's slower but for stats it's okay. Move some stats collection stuff to the new iterator. More to come. Start a "report all stats" page. Start fixing the code to identify "busy" networks. Add the concept of hosts allowed to proxy. Add a parser for the X-Forwarded-For: HTTP header. Clean up HTTP Header handling code. (Remove some left overs of now vanished sync code).
2009-02-03Formattingerdgeist
2009-01-26Make snprintf write to the correct locationerdgeist
2009-01-21This memmove was for real...erdgeist
2009-01-15Add comments, rename our struct http_data h to cookie, all clientsockets to sock, all size_t from socket_recvs to byte_count. Make signal handler set ↵erdgeist
default handler for the second SIGINT
2009-01-13V6erdgeist
2009-01-03Make opentracker ANSI C again.erdgeist
2009-01-02* opentracker now drops permissions in correct order and really chroots() if ran as rooterdgeist
* lock passing between add_peer_to_torrent and return_peers_for_torrent is now avoided by providing a more general add_peer_to_torrent_and_return_peers function that can be used with NULL parameters to not return any peers (in sync case) * in order to keep a fast overview how many torrents opentracker maintains, every mutex_bucket_unlock operation expects an additional integer parameter that tells ot_mutex.c how many torrents have been added or removed. A function mutex_get_torrent_count has been introduced.
2008-12-07Handle program end more politelyerdgeist
2008-12-03fix size of 0 issueerdgeist
2008-12-03stats fuer syncdenis
2008-11-28The BIG refactoring [tm]. Too many changes to count them. If it doesn't suite you, revert to last version.erdgeist
2008-11-03Bugfix: Number of Pools << Number of Bucketserdgeist
2008-11-03Add stats about when peers renew their announces.erdgeist
2008-10-28Whitespace fixeserdgeist
2008-10-28First vector has size 1, not 0 in debug vectorerdgeist
2008-10-24Move more complicated stats code to its own threaderdgeist
2008-10-17Fix debug output for addresses >127erdgeist
2008-10-04added live sync codeerdgeist
added a config file parser added tracker id changed WANT_CLOSED_TRACKER and WANT_BLACKLIST into WANT_ACCESS_WHITE and WANT_ACCESS_BLACK changed WANT_TRACKER_SYNC to WANT_SYNC_BATCH and added WANT_SYNC_LIVE added an option to switch off fullscrapes cleaned up many internal hardcoded values, like PROTO_FLAG,
2008-01-25Embarrasing counter direction bug :)erdgeist
2008-01-17Forgot to #ifdef some code only interesting when doing live network logging.erdgeist
2008-01-17Introducing live busy network detection.erdgeist
2007-12-20Enable revision watching from the interneterdgeist
2007-12-20Introduce some kind of versioningerdgeist
2007-12-17Forgot to unlock bucket in case of malloc error, thanks to Astro for reporting.erdgeist
2007-12-14add support for more stats:denis
1. stats for added and removed torrents 2. stats for start and stopped events from peers this should help to detect DoS attacks and is useful for profiling
2007-12-08add mrtgstyle stats for number of torrentsdenis
2007-12-05/ can now be redirected to any URLerdgeist
2007-12-04Count invalid requestserdgeist