Commit Graph

76 Commits (master)

Author SHA1 Message Date
Dirk Engling 022f3e7455 First vector has size 1, not 0 in debug vector 2008-10-28 00:23:32 +00:00
Dirk Engling 55cc5df1b7 Move more complicated stats code to its own thread 2008-10-24 00:01:42 +00:00
Dirk Engling 344067166c Fix debug output for addresses >127 2008-10-17 15:21:11 +00:00
Dirk Engling e076dab883 added live sync code
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-10-04 05:40:48 +00:00
Dirk Engling 432cf92e7c Embarrasing counter direction bug :) 2008-01-25 17:22:55 +00:00
Dirk Engling 6b2cb4396a Forgot to #ifdef some code only interesting when doing live network logging. 2008-01-17 15:34:50 +00:00
Dirk Engling a7c47dce53 Introducing live busy network detection. 2008-01-17 10:46:25 +00:00
Dirk Engling f57eb9661c Enable revision watching from the internet 2007-12-20 06:04:15 +00:00
Dirk Engling e767fae72a Introduce some kind of versioning 2007-12-20 05:59:34 +00:00
Dirk Engling 4a9cc17e2f Forgot to unlock bucket in case of malloc error, thanks to Astro for reporting. 2007-12-17 18:55:38 +00:00
Denis Ahrens bc104ff4d5 add support for more stats:
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-14 22:01:13 +00:00
Denis Ahrens c05e406d9a add mrtgstyle stats for number of torrents 2007-12-08 18:47:16 +00:00
Dirk Engling 5c1c1c94d8 / can now be redirected to any URL 2007-12-05 01:40:24 +00:00
Dirk Engling 168f9f504c Count invalid requests 2007-12-04 23:57:29 +00:00
Dirk Engling 52a607c055 print ip addresses from unsigned chars 2007-12-04 23:04:24 +00:00
Dirk Engling ae823c17db Fix a broken merge result 2007-12-03 01:20:44 +00:00
Dirk Engling c3ef0c6e97 Drop ot_{byte,word,dword} and use uint{8,16,32}_t, also move run time keeping and FULLSCRAPE stderr output to ot_stats 2007-12-03 01:05:32 +00:00
Denis Ahrens bfe37ff99b add scrape stats and small correction to udp stats 2007-12-02 03:58:36 +00:00
Dirk Engling a4fcb52331 Stats are tasks now. 2007-11-18 16:45:27 +00:00
Dirk Engling c37d25fd75 The expensive DMEM stats is gone. No need for it, too much potential to DOS. 2007-11-06 18:02:01 +00:00
Dirk Engling 31dedcd9cf Missing newline warning, missing include fixed 2007-11-06 17:53:14 +00:00
Dirk Engling 2e2c1762d3 Move stats out of opentracker.c, also have an own file handle udp requests. 2007-11-06 17:50:41 +00:00
Dirk Engling 6e77a7563a Fixed a forgotten unlock and a messed up string pointer 2007-11-06 12:20:32 +00:00
Dirk Engling d84f1ff4eb Fixed ntohl include 2007-11-06 12:04:05 +00:00
Dirk Engling c718b15168 Fixed warnings about newlines at end of file 2007-11-06 12:03:11 +00:00
Dirk Engling fed78043a6 No one can get access to buckets now without locking them. Also split up the trackerlogic.c-monster in functional sub-units. HEADS UP: this code is untested and not considered stable. 2007-11-06 11:58:12 +00:00