summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
19 hoursAdd test for the correct order of partial scrapesDirk Engling
19 hoursAdd test for the error packet when a hash is blacklisted (the part I forgot in last commit)Dirk Engling
19 hoursAdd test for the error packet when a hash is blacklistedDirk Engling
19 hoursRemove enum for a retired stats modeDirk Engling
19 hoursClean build artefacts on macos, tooDirk Engling
19 hoursAdd DWANT_KEEPALIVE to integration test flags to test the whole sub systemDirk Engling
19 hoursSend udp error packet in case of blacklisted torrentDirk Engling
19 hoursFix: Forgot to add the actual keep alive flagDirk Engling
19 hoursSort info_hashes in a scrape so that the reply forms a valid bencoded dictDirk Engling
19 hoursAdd new test for connection keep aliveDirk Engling
19 hoursRevive http keep alive to save tcp connection setup costsDirk Engling
21 hoursretrieve the address of the sending socket for comparison. In jails it might be forced to its primary addressDirk Engling
21 hoursAdding the actual tests to do aforementioned 'Massively increase coverage by pulling fullscrapes and sending udp packets'Dirk Engling
21 hoursMassively increase coverage by pulling fullscrapes and sending udp packetsDirk Engling
21 hoursFix some sanitizer findings, mostly UB if no accesslist is configured and thread join problemsDirk Engling
22 hoursadd more checkers to the sanitizer and integration check runsDirk Engling
22 hoursDrop -lz as Makefile.gzip already carries itDirk Engling
23 hoursAvoid an UB of adding NULL + 0 by keeping an offset instead of advancing the pointer into a vector structDirk Engling
23 hoursAdd integration test and its runnerDirk Engling
23 hoursreplace all calls to sprintf with a format helper that advances a cursor. Also convert the meta-formatter (i.e. results printer) to this schemeDirk Engling
24 hoursPotentially overlapping areas need memmove, not memcpyDirk Engling
25 hoursMake sure to not accept mere prefixes of addresses from query stringDirk Engling
25 hoursWith libowfat gone, we don't need to disable the auto free feature for older versionsDirk Engling
26 hoursReplace libowfat's event waiter with our own abstractionDirk Engling
It's with a heavy heart that I remove libowfat as my event library from opentracker. libowfat is what taught opentracker to walk and then fly. The tracker was literally standing on the shoulder of giants when I started writing it in 2006. For its time, the event abstraction was unparalleled and it has held up for many years, and it served the bittorrent community greatly. https://erdgeist.org/gitweb/opentracker/commit/?id=ad472597c569568bad0526d116b601dfcb36638c Unfortunately, it is very likely that libowfat will not be maintained anymore for the foreseeable future, it is already not easy to get its source from upstream and opentracker started receiving bug reports that I can not reasonably answer or patch. Before the project gets more dependent on the limitations of libowfat's current state, I need to teach opentracker to stand on its own feet and fly by itself. I've learned a great deal in the process and have even more respect now for what libowfat pioneered. The path for opentracker is cleared now. Ground work has already been laid in the migration process to support multi threaded http processing while keeping the aggressive reduction of syscalls alive that made the libowfat+opentracker combo so scalable. Here be some dragons, though: Even though there is a unit test suite now, the event loop's rewrite has not been battle tested yet. So you might want to hold up for a bit before jumping on the solo band wagon. What awaits at the end will be a long overdue v1.0, which will be named in honour of Felix.
27 hoursAdd poll/epoll/kqueue wrapper to wait for eventsDirk Engling
28 hoursThird run of making variable and function names more readable, integer scans and ip parsersDirk Engling
29 hoursSecond run of making variable and function names more readable, urlencoder now matches overall naming schemeDirk Engling
29 hoursFirst run of making variable names more readableDirk Engling
29 hoursUse new fdstate subsystem to store per fd cookie and timeoutDirk Engling
32 hoursIntroduce a sub system that can store io cookies for file descriptors, thread safely soDirk Engling
47 hoursFactor out the timeout setter, will probably go later once we do the io loop ourselfDirk Engling
48 hoursReplace libowfat's iobatch with our own smaller (and probably only temporary) ot_batchDirk Engling
2 daysPrevent UAF when resizing iobatchesDirk Engling
2 daysAdd mutex unit testDirk Engling
2 daysBe stricter about const char*, Wwrite-strings will warn in the future and we don't want to try to overwrite string literalsDirk Engling
2 daysFor workqueue tasks, class has to be in the tasktype or no worker will ever claim the task, forgot oneDirk Engling
2 daysFor workqueue tasks, class has to be in the tasktype or no worker will ever claim the taskDirk Engling
2 dayswhite space fixesDirk Engling
2 daysSplit options parsing and config code from opentracker.c, it has grown humongousDirk Engling
2 daysFix build. Last commit was too huge ;)Dirk Engling
2 daysDecouple config parsing from binding and worker spawningDirk Engling
* Options are parsed now into a listener description list before binding them at once and starting the workers later * UDP workers can now be configured per connection * socket reuse is now done more sensibly, mcast sockets always reused * Hold-off logic after spawning udp workers removed
2 daysClean up peer re-distribution between single bucket vectors and bucket lists, add testsDirk Engling
3 daysDrop dead test helperDirk Engling
3 daysRemove dead code left over from refactoringDirk Engling
3 daysRemove test for length only mode of the url escaperDirk Engling
3 daysRemove unused length calc code from urlencoderDirk Engling
3 daysa suffix rule takes no prerequisites, so make the deps explicitDirk Engling
3 daysmake all headers self containingDirk Engling
3 daysDon't let the new iovec allocation dangle in case of a malloc failure for its new dataDirk Engling
3 daysUse the new ot_socket abstraction for socket creation, read and writeDirk Engling