Commit Graph

27 Commits (7dcd727ce67f8b61b7d0cc531440ee9acb516660)

Author SHA1 Message Date
Dirk Engling 7dcd727ce6 Whitespace fixes 15 years ago
Dirk Engling 022f3e7455 First vector has size 1, not 0 in debug vector 15 years ago
Dirk Engling 55cc5df1b7 Move more complicated stats code to its own thread 15 years ago
Dirk Engling 344067166c Fix debug output for addresses >127 15 years ago
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,
15 years ago
Dirk Engling 432cf92e7c Embarrasing counter direction bug :) 15 years ago
Dirk Engling 6b2cb4396a Forgot to #ifdef some code only interesting when doing live network logging. 15 years ago
Dirk Engling a7c47dce53 Introducing live busy network detection. 15 years ago
Dirk Engling f57eb9661c Enable revision watching from the internet 15 years ago
Dirk Engling e767fae72a Introduce some kind of versioning 15 years ago
Dirk Engling 4a9cc17e2f Forgot to unlock bucket in case of malloc error, thanks to Astro for reporting. 15 years ago
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
16 years ago
Denis Ahrens c05e406d9a add mrtgstyle stats for number of torrents 16 years ago
Dirk Engling 5c1c1c94d8 / can now be redirected to any URL 16 years ago
Dirk Engling 168f9f504c Count invalid requests 16 years ago
Dirk Engling 52a607c055 print ip addresses from unsigned chars 16 years ago
Dirk Engling ae823c17db Fix a broken merge result 16 years ago
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 16 years ago
Denis Ahrens bfe37ff99b add scrape stats and small correction to udp stats 16 years ago
Dirk Engling a4fcb52331 Stats are tasks now. 16 years ago
Dirk Engling c37d25fd75 The expensive DMEM stats is gone. No need for it, too much potential to DOS. 16 years ago
Dirk Engling 31dedcd9cf Missing newline warning, missing include fixed 16 years ago
Dirk Engling 2e2c1762d3 Move stats out of opentracker.c, also have an own file handle udp requests. 16 years ago
Dirk Engling 6e77a7563a Fixed a forgotten unlock and a messed up string pointer 16 years ago
Dirk Engling d84f1ff4eb Fixed ntohl include 16 years ago
Dirk Engling c718b15168 Fixed warnings about newlines at end of file 16 years ago
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. 16 years ago