465 Commits (abe840d52997e6d47610ca6adf5d6e357bf9cbc5)
 

Author SHA1 Message Date
Dirk Engling abe840d529 Add a stat option the count bucket stalls 13 years ago
Dirk Engling e6b16afb19 Value of off is not used, so don't calculate it 13 years ago
Dirk Engling bd44fd7c4d Remove superfluous test for == NULL, when variable has been used, anyway 13 years ago
Dirk Engling 7628ed7201 Reset delta_torrentcount to zero on each pass 13 years ago
Dirk Engling d418d1ad81 Formatting 13 years ago
Dirk Engling 9357435207 Formatting 13 years ago
Dirk Engling 57b8f256d5 Forgot to notify central counter about torrent removal 13 years ago
Dirk Engling b3f716a3e7 Add workaround to openbsd's broken v6 API 13 years ago
Dirk Engling c958c53d40 unify lock and unlock code style 13 years ago
Dirk Engling 3f59235960 make live sync aware of v6 mapped v4 addresses 13 years ago
Dirk Engling b591b15f2f Read action codes from correct location and tell ot_stats the correct number of incoming peers. 13 years ago
Dirk Engling faa38f1518 Formatting 13 years ago
Dirk Engling fae0329fe9 Reverse logic... do only fail if scan_ip6 cant parse 13 years ago
Dirk Engling bf362a914d Reverse logic... do only sync those NOT coming from multi cast 13 years ago
Denis Ahrens 6c618f1015 decrease the udp multicast packetsize so it fits into one ether frame 13 years ago
Dirk Engling b8394881a4 Forgot to copy the stats?mode=tcp4 parameter 13 years ago
Dirk Engling 74d96438c6 Make snprintf write to the correct location 13 years ago
Dirk Engling 4b77b8b776 Lot of Gehacktes around this keyword scanner. Don't return a match if string to compare is shorter than key from table. 13 years ago
Dirk Engling 78626b6453 This memmove was for real... 13 years ago
Dirk Engling 679016139d Limit comparison of strings to the length of the shorter string 13 years ago
Dirk Engling b73fc5042c 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. 13 years ago
Dirk Engling 0b6f30c847 Remove debug message 13 years ago
Dirk Engling 4e7e39dc1c Use a self pipe to wake from io_wait when a thread finished his work. 13 years ago
Dirk Engling 0987307ea3 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 13 years ago
Dirk Engling 83d62ba0fb Some premature optimization lead to always only 8bytes of ot_peers being copied 13 years ago
Dirk Engling 9b12b745ae Make v4 and v6 modes v4/v6-ONLY 13 years ago
Dirk Engling eb98ff8fe3 We sent an incorrect reply dictionary vor v6 announces 13 years ago
Dirk Engling c6dd258244 fix parser 13 years ago
Dirk Engling 6337649b08 V6 13 years ago
Dirk Engling b2ca164922 * 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. 13 years ago
Dirk Engling 823f93a96f Make opentracker ANSI C again. 13 years ago
Dirk Engling 49ec59cbbe * opentracker now drops permissions in correct order and really chroots() if ran as root 13 years ago
Dirk Engling 621c8462be Introduce new flag WANT_SYNC_SCRAPE 13 years ago
Dirk Engling 508e170d30 Fix incorrect prototype for accesslist_deinit 13 years ago
Dirk Engling 2cf9b92729 minor white space 13 years ago
Dirk Engling ea4bff6bdc minoe white space 13 years ago
Dirk Engling e6ceb56796 Fix badly formed bencoded answer to stopped events 13 years ago
Dirk Engling d0c417d9f3 Fix: Did not time stamp a torrent correctly, that once timed out and came back to life 13 years ago
Dirk Engling 6b57113bf0 Propose a scrape sync protocol. 13 years ago
Dirk Engling 343169385e Make all torrents in their buckets sorted again. 13 years ago
Dirk Engling 32edd0dff8 Fix: auto increment in += is not a post increment... 13 years ago
Dirk Engling 3557e9edd7 Fix post increase on wrong pointer type. 13 years ago
Dirk Engling efce908bbc Used wrong variable as offset into hash to copy 13 years ago
Dirk Engling 04e5bac4c3 Handle program end more politely 13 years ago
Dirk Engling 675dad9b3a Avoid cast warning on 64bit machines 13 years ago
Dirk Engling fa6c870315 Renamed OT_FLAG to OT_PEERFLAG to make code easier to read 13 years ago
Dirk Engling 95b6c3b498 Format for full scrapes was not parsed correctly. 13 years ago
Dirk Engling cec9b44738 Make mutex_lock_bucket_by_hash generic to any OT_BUCKET_COUNT 13 years ago
Dirk Engling d46a8a5d06 Forgot one define READ32 13 years ago
Dirk Engling 545dab2c18 Tidy up unnecessary includes 13 years ago