summaryrefslogtreecommitdiff
path: root/trackerlogic.h
AgeCommit message (Collapse)Author
2007-07-22* fixed "nobody " -> "nobody" fuckup when getpwnam-ingerdgeist
* implemented basic blacklisting: ** the file specified with -b <BLACKLIST> is read and added to a blacklist vector ** if an announce hits a torrent in that blacklist vector, add_peer_to_torrent fails ** sending a SIGHUP to the program forces it to reread the blacklists ** the server returns with a 500, which is not exactly nice but does the job for now ** an adaequat "failure reason:" should be delivered... TODO
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 ↵erdgeist
torrents once every OT_POOL_TIMEOUT units.
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
factor of 5
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 ↵erdgeist
clean up.
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
-> this may remove peer already and must be done anyway.
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
Added scraping Added graceful disconnect
2006-12-13Trackerlogic done... not tested yeterdgeist
2006-12-12This is a complete rewrite... assume nothing works.erdgeist
2006-12-08Should work now *cough* *cough*erdgeist
2006-12-07Started to implement glueerdgeist
2006-12-07Every cool project needs at least one header fileerdgeist