Commit Graph

91 Commits

Author SHA1 Message Date
Dirk Engling 342e3a25c0 account downloaded before early returns 2007-01-27 16:06:13 +00:00
Denis Ahrens 35e60201ad fix for corrupt fullscrape. did never work until now 2007-01-27 08:57:11 +00:00
Dirk Engling 96e5b5a076 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. 2007-01-26 16:26:49 +00:00
Dirk Engling 0f85392889 return random check back intervals to our clients 2007-01-25 14:16:26 +00:00
Dirk Engling 5f75f9e90f Return empty dictionary for unknown scrapes 2007-01-24 21:26:50 +00:00
Dirk Engling c5d5867900 Full scrape, kinda tested 2007-01-20 11:13:30 +00:00
Dirk Engling f05ed877ed From now the OT_CLIENT_TIMEOUT will be enforced, even if some data arrived inside this interval 2007-01-18 13:06:49 +00:00
Dirk Engling cc07b8ca2c Simple top5 by peers/seeders table 2007-01-17 11:51:55 +00:00
Dirk Engling a32ca2676c Prevent each invocation of clean_peerlist to call time() 2007-01-16 03:57:19 +00:00
Dirk Engling 1012fd9c7e Use mrtg to do periodical cleanup. Hopefully that wont make too much load for stats. 2007-01-16 03:44:13 +00:00
Dirk Engling f51335b9b8 Rudimentary stats 2007-01-16 02:57:32 +00:00
Denis Ahrens 313bfee080 set interval to default value from original tracker 2007-01-15 23:40:58 +00:00
Dirk Engling 134779877b New, fixpoint distinct random algorithm for choosing peers from the list... may contain bugs. Feedback welcome 2007-01-13 19:06:39 +00:00
Dirk Engling 0369a9f6e9 casting does floor() by itself 2007-01-12 01:22:03 +00:00
Dirk Engling afa05fad96 Documentation improved, some reindenting (again), variable types checked, unnecessary defines removed 2007-01-11 01:06:10 +00:00
Dirk Engling f5f4c3e2ce Fixed a bug where I didn't replace new buffer pointer after realloc. Fixed a bug where I didnt copy enough memory when shrinking vectors. Now save some extra bytes in header. 2007-01-09 06:30:37 +00:00
Dirk Engling def981fe44 Apply some limits 2007-01-06 22:24:08 +00:00
Dirk Engling b5c344ea97 black listing was the wrong way around 2007-01-05 17:00:41 +00:00
Dirk Engling a6e28732a1 really check g_check_blacklist flag 2007-01-05 16:25:02 +00:00
Dirk Engling 9957e9ea1f Be more helpful 2007-01-05 13:00:05 +00:00
Dirk Engling 1c97e9cd8c added closed tracker and blacklist code 2007-01-05 12:25:44 +00:00
Dirk Engling a3ac795bec README\! 2007-01-05 00:00:41 +00:00
Dirk Engling e8100db396 simplified binary_search, it always does a memcmp. began to implement dump knowledge 2007-01-04 16:14:21 +00:00
Dirk Engling aa444b6e18 Added 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 -> this may remove peer already and must be done anyway. 2007-01-03 05:11:48 +00:00
Dirk Engling a86c72c43b random 2006-12-15 23:53:24 +00:00
Dirk Engling dd3589f57e Make code endianess save 2006-12-15 23:28:23 +00:00
Dirk Engling 300a580250 sorted bencoded order 2006-12-15 22:40:33 +00:00
Dirk Engling ed84edb53e Fixed mem leak, inmplemented mrtg_scrape 2006-12-15 22:07:33 +00:00
Dirk Engling aae002d475 announce now returns all mandatory answer dictionary entries 2006-12-14 02:54:08 +00:00
Dirk Engling 7d1d51cc05 Now actually seems to work for the most parts
Added scraping
Added graceful disconnect
2006-12-14 02:44:50 +00:00
Dirk Engling 01bdb5495f Reacts more appropriate, however EXC_BAD_ACCESS triggered 2006-12-13 14:44:14 +00:00
Dirk Engling 95f6864f4f Trackerlogic done... not tested yet 2006-12-13 02:44:39 +00:00
Dirk Engling 2039029366 This is a complete rewrite... assume nothing works. 2006-12-12 02:37:18 +00:00
Dirk Engling 39c23f5f71 Fixed parser 2006-12-09 12:50:42 +00:00
Dirk Engling dd31159531 Logic now actually initialized and deinitialized 2006-12-08 22:53:32 +00:00
Dirk Engling 3c2f9bbea2 Should work now *cough* *cough* 2006-12-08 21:36:25 +00:00
Dirk Engling d6b963d80a Our scanner routine for the URI query string 2006-12-08 19:20:51 +00:00
Dirk Engling a605dd8dc5 Started to implement glue 2006-12-07 02:58:02 +00:00
Dirk Engling d3aeec1b4c Reloading peer_list files works in theory 2006-12-07 01:31:11 +00:00
Dirk Engling e738f614b4 Cleaned up type namespace, mapping now works, introduced anonymous mapping, made init/deinit code, time now works.... Glue code and init code still missing 2006-12-06 18:37:46 +00:00
Dirk Engling 2a1b78e33b Kickoff 2006-12-05 12:56:56 +00:00