655 Commits (9000f5d67a2bab28ae925b54f6b8a6508dc77ea2)
 

Author SHA1 Message Date
erdgeist 1a40cebcbd Read action codes from correct location and tell ot_stats the correct number of incoming peers. 16 years ago
erdgeist 4c0d5c1c08 Formatting 16 years ago
erdgeist 9c25f99b3d Reverse logic... do only fail if scan_ip6 cant parse 16 years ago
erdgeist 01408992b7 Reverse logic... do only sync those NOT coming from multi cast 16 years ago
denis c3003dfd6f decrease the udp multicast packetsize so it fits into one ether frame 16 years ago
erdgeist 6e3ef99daf Forgot to copy the stats?mode=tcp4 parameter 16 years ago
erdgeist f8185878fb Make snprintf write to the correct location 16 years ago
erdgeist 1d821b95cb Lot of Gehacktes around this keyword scanner. Don't return a match if string to compare is shorter than key from table. 16 years ago
erdgeist de5dbad258 This memmove was for real... 16 years ago
erdgeist b019607ba5 Limit comparison of strings to the length of the shorter string 16 years ago
erdgeist 2d3718151d Fix a pointer arithmetic issue leading to incorrect peer data being copied. Allocate correct size for debugbuffer. Expect exact values on find keywords, not only prefix match. 16 years ago
erdgeist 0b875273d4 Remove debug message 16 years ago
erdgeist f12fa4c362 Use a self pipe to wake from io_wait when a thread finished his work. 16 years ago
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 16 years ago
erdgeist 4ced0484ab Some premature optimization lead to always only 8bytes of ot_peers being copied 16 years ago
erdgeist 02b3abbab6 Make v4 and v6 modes v4/v6-ONLY 16 years ago
erdgeist 930495a0db We sent an incorrect reply dictionary vor v6 announces 16 years ago
erdgeist d1a452e98a fix parser 16 years ago
erdgeist 131211b4da V6 16 years ago
erdgeist 779d6c235f * http and udp routines now use thread local buffers passed in workstruct containers. In other words they do not use static_buffer anymore and are considered to be thread safe. 16 years ago
erdgeist 8bdc0d73f6 Make opentracker ANSI C again. 16 years ago
erdgeist 2df09905f5 * opentracker now drops permissions in correct order and really chroots() if ran as root 16 years ago
erdgeist 548e2b8338 Introduce new flag WANT_SYNC_SCRAPE 16 years ago
erdgeist 20257202af Fix incorrect prototype for accesslist_deinit 16 years ago
erdgeist 38c073e6dd minor white space 16 years ago
erdgeist 5c99e50e25 minoe white space 16 years ago
erdgeist 3ee8991200 Fix badly formed bencoded answer to stopped events 16 years ago
erdgeist 3df5e476d0 Fix: Did not time stamp a torrent correctly, that once timed out and came back to life 16 years ago
erdgeist 6d4845149c Propose a scrape sync protocol. 16 years ago
erdgeist a9ab9b0c0d Make all torrents in their buckets sorted again. 16 years ago
erdgeist bca8bee623 Fix: auto increment in += is not a post increment... 16 years ago
erdgeist 5f5007883e Fix post increase on wrong pointer type. 16 years ago
erdgeist 5a0146f810 Used wrong variable as offset into hash to copy 16 years ago
erdgeist c6947b160f Handle program end more politely 16 years ago
erdgeist ad8c9ee1ef Avoid cast warning on 64bit machines 16 years ago
erdgeist 08c7162783 Renamed OT_FLAG to OT_PEERFLAG to make code easier to read 16 years ago
erdgeist a4ed31d517 Format for full scrapes was not parsed correctly. 16 years ago
erdgeist 256f2c6f98 Make mutex_lock_bucket_by_hash generic to any OT_BUCKET_COUNT 16 years ago
erdgeist 258cae746f Forgot one define READ32 16 years ago
erdgeist 5fb58458f6 Tidy up unnecessary includes 16 years ago
erdgeist 08d9c342d4 Add specialized vector functions to handle peers in sorted lists 16 years ago
erdgeist 23be5c4d55 Let's give a damn about syntactical correctness of peer's http strings. It's too expensive on both sides to check and to reject. 16 years ago
erdgeist 7120799379 Now enforce that peers do not come back before our interval by giving out a 'min interval' in responses. 16 years ago
erdgeist 405ef01dd3 printf is buffered, write not. Use printf for all. 16 years ago
erdgeist 76da780220 fix size of 0 issue 16 years ago
erdgeist eda3ae7f91 Add debug code to spot peers that come back too early 16 years ago
erdgeist 2c7c10138b Add debug code to store peer id 16 years ago
erdgeist e2199cc504 New peer flag to see, whether peer came from announce or sync 16 years ago
erdgeist 0523b429ae Aid spotting bad clients... 16 years ago
denis bfbb5ecb44 stats fuer sync 16 years ago