Commit Graph

22 Commits (dc90c8867cd39a42c85ee15d711b84c7206677cf)

Author SHA1 Message Date
erdgeist ae16a23ae0 Add connection id missmatch code
erdgeist 0bf88427c6 Add spotting woodpeckers, thanks to Vasya P. again
erdgeist 478884660f Enable limiting fullscrapes to only every 5 minutes per IP
erdgeist 91f5fa20a7 include overall completed count in stats
erdgeist 9297967f85 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).
erdgeist 66c906d5d3 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
erdgeist 131211b4da V6
denis bfbb5ecb44 stats fuer sync
erdgeist 334c6e4bbb The BIG refactoring [tm]. Too many changes to count them. If it doesn't suite you, revert to last version.
erdgeist bb1c5d2805 Add stats about when peers renew their announces.
erdgeist daaee855b2 Whitespace fixes
erdgeist e89a8aaf58 Move more complicated stats code to its own thread
erdgeist e534db03c6 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,
erdgeist 408c5f98ed Introducing live busy network detection.
erdgeist c28cf398fd Introduce some kind of versioning
erdgeist bee364a6f3 / can now be redirected to any URL
erdgeist 31d876d53d Count invalid requests
erdgeist 848a06a706 Drop ot_{byte,word,dword} and use uint{8,16,32}_t, also simplify includes
erdgeist edc73298f8 Stats are tasks now.
erdgeist 927ac023ce The expensive DMEM stats is gone. No need for it, too much potential to DOS.
erdgeist 41120f6a0d Move stats out of opentracker.c, also have an own file handle udp requests.
erdgeist 8900cc0dd9 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.