Commit Graph

21 Commits

Author SHA1 Message Date
Dirk Engling 8a870f3d0a Add spotting woodpeckers, thanks to Vasya P. again 2009-09-02 02:18:33 +00:00
Dirk Engling f22a20de6a Enable limiting fullscrapes to only every 5 minutes per IP 2009-08-29 13:55:57 +00:00
Dirk Engling 87b156262d include overall completed count in stats 2009-03-24 16:55:28 +00:00
Dirk Engling abe840d529 Add a stat option the count bucket stalls
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-03-04 14:35:21 +00:00
Dirk Engling 0987307ea3 Add 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 default handler for the second SIGINT 2009-01-15 23:01:36 +00:00
Dirk Engling 6337649b08 V6 2009-01-13 22:41:16 +00:00
Denis Ahrens 8614b83456 stats fuer sync 2008-12-03 20:36:16 +00:00
Dirk Engling c0dab929ab The BIG refactoring [tm]. Too many changes to count them. If it doesn't suite you, revert to last version. 2008-11-28 22:21:09 +00:00
Dirk Engling c8daa7bf86 Add stats about when peers renew their announces. 2008-11-03 01:26:37 +00:00
Dirk Engling 7dcd727ce6 Whitespace fixes 2008-10-28 01:27:21 +00:00
Dirk Engling 55cc5df1b7 Move more complicated stats code to its own thread 2008-10-24 00:01:42 +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 a7c47dce53 Introducing live busy network detection. 2008-01-17 10:46:25 +00:00
Dirk Engling e767fae72a Introduce some kind of versioning 2007-12-20 05:59:34 +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 5b3eb23f5f Drop ot_{byte,word,dword} and use uint{8,16,32}_t, also simplify includes 2007-12-03 01:06:33 +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 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 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