61 Commits (511a92e3212e7902d9a0f2fccc33f3c93055c2a8)

Author SHA1 Message Date
erdgeist 206c74ee2f Make ot_try_bind local again. 16 years ago
erdgeist e534db03c6 added live sync code 16 years ago
erdgeist c28cf398fd Introduce some kind of versioning 17 years ago
erdgeist 848a06a706 Drop ot_{byte,word,dword} and use uint{8,16,32}_t, also simplify includes 17 years ago
erdgeist c5e5569770 Fixing mmap allocation went to ot_mutex.c. Clean all torrents moved to ot_clean.c. Also make static buffers static 17 years ago
erdgeist 697e239027 Moving accesslist stuff to its own object 17 years ago
erdgeist a0d12f9ab5 Full scrape moves to its own object 17 years ago
erdgeist 41120f6a0d Move stats out of opentracker.c, also have an own file handle udp requests. 17 years ago
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. 17 years ago
erdgeist 785a9f13bd Make to_hex thread safe. Get rid off old /24 counting code. Protect more bucket accesses by locks. 17 years ago
erdgeist 4a68f8692b We do now use the tools for locking buckets in order to prepare MT code 17 years ago
erdgeist a6b8311812 Introducing first tools to make opentracker multithreaded. 17 years ago
erdgeist 8acc0ff48f Introduce configuration dependent number of parameters in a nicer way 17 years ago
erdgeist 853dc33be2 Allow for more than one admin ip address 17 years ago
erdgeist dc8e889797 Add more full scrape stats 17 years ago
erdgeist 31eada6168 Reenabled syncing 17 years ago
erdgeist b19bbd6a85 Number of buckets is 1024 now 17 years ago
erdgeist 41019c79d8 Introducing multiscrape 17 years ago
erdgeist daf79f694d After studying opentracker live data, I decided to radically reduce default allocation for vectors and making it grow faster instead: Most pools only had one or two peers, wasting 8*15 or 8*14 bytes. 17 years ago
erdgeist b8b1493127 Increase check interval for timeouted sockets to 10 seconds. That may prevent some disrupted scrapes. 17 years ago
erdgeist be117f96a2 Increase send timeout. Also use an own variable for that. 17 years ago
erdgeist 6c1adb8fc8 since gettimeofday is rather expansive, we do only fetch time once in a 5 second period, when we are delivered a SIGALRM. 17 years ago
erdgeist 4c15dc7a70 make 64bit safe 17 years ago
erdgeist c350fa0b3c New stats for s24s code, this is debug, do not use in real world 17 years ago
erdgeist 33c9c530d0 An announce with event=stopped now returns correct number of leechers and seeders. In TCP and UDP. 17 years ago
erdgeist 3e47339b6c Added whitelisting to reimplement the WANT_CLOSED_TRACKER functionality 18 years ago
erdgeist afe966b644 some subnet stats... still ugly and untested. 18 years ago
erdgeist c0b00c0bf5 * fixed "nobody " -> "nobody" fuckup when getpwnam-ing 18 years ago
erdgeist 33774078ab Added 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. 18 years ago
erdgeist b38104b986 Added 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 torrents once every OT_POOL_TIMEOUT units. 18 years ago
denis 8ac7768b96 support for udp scrape 18 years ago
denis 5bb381e20a new modes for udp4 and tcp4 stats 18 years ago
erdgeist 0a90216686 udp is working in theory, return_peers_for_torrent accepts a switch to request an udp answer. Fixed prototypes. 18 years ago
denis 153b5de835 increased the interval random variation 18 years ago
denis 929d375b97 make the interval with random an average value around the real value and not additional 18 years ago
erdgeist 7ab634b6f6 Make timeouts more human readable 18 years ago
erdgeist 401d0759ab Wasted 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 factor of 5 18 years ago
erdgeist f9c49e9759 el cheapo vector debugging 18 years ago
erdgeist 05f0d651cb On linux time.h must be included to use time() 18 years ago
erdgeist c094695add account downloaded before early returns 18 years ago
erdgeist 05420c40e5 Introduce 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 clean up. 18 years ago
erdgeist dffea5da69 return random check back intervals to our clients 18 years ago
erdgeist 5f7c044b54 Full scrape, kinda tested 18 years ago
erdgeist 908649af98 From now the OT_CLIENT_TIMEOUT will be enforced, even if some data arrived inside this interval 18 years ago
erdgeist c16330df6a Simple top5 by peers/seeders table 18 years ago
erdgeist ade8268970 Rudimentary stats 18 years ago
erdgeist 805e46450c Documentation improved, some reindenting (again), variable types checked, unnecessary defines removed 18 years ago
erdgeist c89cfaad5e Be more helpful 18 years ago
erdgeist 2aa03492a5 added closed tracker and blacklist code 18 years ago
erdgeist cdf2fbabed README\! 18 years ago