60 Commits (4baec2592c243b5f881598b150f9e907f7aa4069)

Author SHA1 Message Date
Dirk Engling 3168071175 Fix two issues when splitting an iovec to large iobatches 4 years ago
Dirk Engling 397cd035a4 Turn mmaps into malloc 4 years ago
Dirk Engling 95f1780f0b Split huge iovecs over multiple io_batches 4 years ago
Dirk Engling 9c7be324f5 break belongs inside the guard 8 years ago
Dirk Engling d1e6e4486c incorporate a more verbose ascii dump, provided by Tom <tom@foscore.com> 8 years ago
Dirk Engling a215479d1a Accept was counted twice 9 years ago
erdgeist 954f5029df Fix immediate overwrite in the X-forwarded-for passing case. Thanks to Alexander Luetjen. 11 years ago
denis 7d36ea2732 new flag to enforce gzip even if client did not request it 13 years ago
erdgeist 05e0de1a5f Add a top100 for most popular torrents 13 years ago
erdgeist 730d4bb6ae Reset http request input array on error case 15 years ago
erdgeist d42bf5a031 ** struct ot_workstruct gets ritcher (and will become even ritcher soon). 15 years ago
erdgeist 3baa1abc56 Fix white spaces 15 years ago
erdgeist 85e6880233 Make opentracker's user runtime configurable. Also add more debug output to aid finding problems. 15 years ago
erdgeist a7cd2084df Fixed including another error message 15 years ago
erdgeist f3c0359876 Make header parsing more efficient, prepare multithreading and keep-alive. 15 years ago
erdgeist 1665c54179 prevent infinite loop when looking for X-Forwarded-For: Headers 15 years ago
erdgeist c27631e516 Reenable statedump 15 years ago
erdgeist 0bf88427c6 Add spotting woodpeckers, thanks to Vasya P. again 15 years ago
erdgeist 4c4303a156 Temporary feature: log amount of numwants. See if we can save traffic if we reduce max numwant to something less than 200 15 years ago
erdgeist 478884660f Enable limiting fullscrapes to only every 5 minutes per IP 15 years ago
erdgeist 6073127ad0 Add some subnet debugging features 15 years ago
erdgeist 3afbbc37d0 Don't default the incoming port to 6881 but rather use 0 to indicate a less than valid announce 16 years ago
erdgeist 65d7d9b89c Allow /stats to be located anywhere in your trackers path 16 years ago
erdgeist 2a17f847ae Fix statedump 16 years ago
erdgeist 91f5fa20a7 include overall completed count in stats 16 years ago
erdgeist c7ed890222 Fix white spaces 16 years ago
erdgeist eec51a872c Re-implement logging busy networks to handle v6 API. 16 years ago
erdgeist 255ac58971 Add a everything stats page. So you won't have to remember what all those switches were. 16 years ago
erdgeist 9297967f85 Add a stat option the count bucket stalls 16 years ago
erdgeist 9c25f99b3d Reverse logic... do only fail if scan_ip6 cant parse 16 years ago
erdgeist 6e3ef99daf Forgot to copy the stats?mode=tcp4 parameter 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 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 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 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 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 2c7c10138b Add debug code to store peer id 16 years ago
denis bfbb5ecb44 stats fuer sync 16 years ago
erdgeist 334c6e4bbb The BIG refactoring [tm]. Too many changes to count them. If it doesn't suite you, revert to last version. 16 years ago
erdgeist 9c0b23e28d Add stats about when peers renew their announces. 16 years ago
erdgeist daaee855b2 Whitespace fixes 16 years ago
erdgeist 39ed6a058b Fix stats parse code to allow modes with more than 4 characters. Wir wurden ja langsam zum Gespoett der Leute. 16 years ago
erdgeist 80fd4dc738 Tidy up stats task. 16 years ago
denis 41a1d2d025 fixed the length 16 years ago
erdgeist 719858548d Bugfix: API change missed in two points, when calling return_peers_for_torrent. is_tcp was replaced by FLAG_TCP or FLAG_UDP 16 years ago
erdgeist eac898afd8 white space in comment 16 years ago