summaryrefslogtreecommitdiff
path: root/trackerlogic.h
AgeCommit message (Expand)Author
2007-11-06Move stats out of opentracker.c, also have an own file handle udp requests.erdgeist
2007-11-06No 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 ...erdgeist
2007-11-06Make to_hex thread safe. Get rid off old /24 counting code. Protect more bucket accesses by locks.erdgeist
2007-11-06We do now use the tools for locking buckets in order to prepare MT codeerdgeist
2007-11-03Introducing first tools to make opentracker multithreaded.erdgeist
2007-11-02Introduce configuration dependent number of parameters in a nicer wayerdgeist
2007-11-01Allow for more than one admin ip addresserdgeist
2007-10-31Add more full scrape statserdgeist
2007-10-29Reenabled syncingerdgeist
2007-10-27Number of buckets is 1024 nowerdgeist
2007-10-19Introducing multiscrapeerdgeist
2007-10-19After studying opentracker live data, I decided to radically reduce default allocation for vectors and making it grow faster instead: Most pools only had one...erdgeist
2007-10-19Increase check interval for timeouted sockets to 10 seconds. That may prevent some disrupted scrapes.erdgeist
2007-10-17Increase send timeout. Also use an own variable for that.erdgeist
2007-10-13since gettimeofday is rather expansive, we do only fetch time once in a 5 second period, when we are delivered a SIGALRM.erdgeist
2007-10-12make 64bit safeerdgeist
2007-09-26New stats for s24s code, this is debug, do not use in real worlderdgeist
2007-09-10An announce with event=stopped now returns correct number of leechers and seeders. In TCP and UDP.erdgeist
2007-08-18Added whitelisting to reimplement the WANT_CLOSED_TRACKER functionalityerdgeist
2007-07-22some subnet stats... still ugly and untested.erdgeist
2007-07-22* fixed "nobody " -> "nobody" fuckup when getpwnam-ingerdgeist
2007-03-27Added inbound part of sync. This also meant to remove the black/whitelisting as we did by now. A more scalable way to blacklist will follow.erdgeist
2007-03-27Added outbound part of sync Proposed format: d4:syncd20:<info_hash>8*N:(xxxxyy)*Nee, therefore had to refactor torrent cleanup now that it will hit all torre...erdgeist
2007-03-16support for udp scrapedenis
2007-03-15new modes for udp4 and tcp4 statsdenis
2007-03-06udp is working in theory, return_peers_for_torrent accepts a switch to request an udp answer. Fixed prototypes.erdgeist
2007-02-02increased the interval random variationdenis
2007-02-01make the interval with random an average value around the real value and not additionaldenis
2007-02-01Make timeouts more human readableerdgeist
2007-02-01Wasted too much space for minimum element count. Now minimum elements in vektor is 16, it grows and shrinks by a factor of 4 and a shrinking hysteresis of a ...erdgeist
2007-02-01el cheapo vector debuggingerdgeist
2007-01-30On linux time.h must be included to use time()erdgeist
2007-01-27account downloaded before early returnserdgeist
2007-01-26Introduce another unspec'd command: sync which syncs the most recent peer pool for a torrent out. Do some variable type clean up. Do some code structure clea...erdgeist
2007-01-25return random check back intervals to our clientserdgeist
2007-01-20Full scrape, kinda testederdgeist
2007-01-18From now the OT_CLIENT_TIMEOUT will be enforced, even if some data arrived inside this intervalerdgeist
2007-01-17Simple top5 by peers/seeders tableerdgeist
2007-01-16Rudimentary statserdgeist
2007-01-11Documentation improved, some reindenting (again), variable types checked, unnecessary defines removederdgeist
2007-01-05Be more helpfulerdgeist
2007-01-05added closed tracker and blacklist codeerdgeist
2007-01-05README\!erdgeist
2007-01-04simplified binary_search, it always does a memcmp. began to implement dump knowledgeerdgeist
2007-01-03Added option to get ip from query string + parser, fixed two bugs concerning grow/shrink of vectors. Now cleans up a torrent BEFORE trying to remove a peer -...erdgeist
2006-12-15Fix port again ;) Include headers in Makefile dependencieserdgeist
2006-12-15fixed setport fuckuperdgeist
2006-12-15Make code endianess saveerdgeist
2006-12-14Now actually seems to work for the most partserdgeist
2006-12-13Trackerlogic done... not tested yeterdgeist