summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2026-10-29Revert last wake-up experiment. Having each udp worker wake up once a second to check if the tracker stops is wastefulDirk Engling
2026-10-28Fix a test that would over-report success rate when losing the race for cycles to the test targetDirk Engling
2026-10-28Livesync now also gets proper deinit codeDirk Engling
2026-10-28With more workers blockingly waiting on udp sockets, we need to keep track of all sockets to shut them down on exitDirk Engling
2026-10-28Default udp workers to 1, as it is the most sane choice everywhere, also reflect the new udp parallelism in the man pagesDirk Engling
2026-10-28Let the load tester log losses to better gauge performanceDirk Engling
2026-10-28Add load tests to sanitize check the trackerlogic, based on udp requestsDirk Engling
2026-10-28Performance improvement, where it works: Let different udp worker threads have their own socketDirk Engling
2026-10-27The main event loop(s) now also catch an EINTR and return instead of blockingDirk Engling
2026-10-27Add concurrency testDirk Engling
2026-10-27Make global torrent counter atomic and fix the setter and getterDirk Engling
2026-10-27Plug in the new per-thread stats counter, also make sure that the ot_clean sleep does not stall tracker exitDirk Engling
2026-10-27Second half of moving the stat enum defines to trackerlogicDirk Engling
2026-10-27Prepare having each thread keep their own stats to avoid data racesDirk Engling
2026-10-27Turn malloc+memset into callocDirk Engling
2026-10-27Some more g_now_seconds occurrencesDirk Engling
2026-10-27Forgot some g_now_seconds occurencesDirk Engling
2026-10-27All OSes now do have a cheap monotonic clock, so no caching thread is needed. Also add some relative time helpersDirk Engling
2026-10-27While we're at it with the dynamic analyzers, add a tsanDirk Engling
2026-10-27Add test for the revived keep aliveDirk Engling
2026-10-27Fix some tests to match retired stats modes and wrong config file orderingDirk Engling
2026-10-27Add test for the correct order of partial scrapesDirk Engling
2026-10-27Add test for the error packet when a hash is blacklisted (the part I forgot in last commit)Dirk Engling
2026-10-27Add test for the error packet when a hash is blacklistedDirk Engling
2026-10-27Remove enum for a retired stats modeDirk Engling
2026-10-27Clean build artefacts on macos, tooDirk Engling
2026-10-27Add DWANT_KEEPALIVE to integration test flags to test the whole sub systemDirk Engling
2026-10-27Send udp error packet in case of blacklisted torrentDirk Engling
2026-10-27Fix: Forgot to add the actual keep alive flagDirk Engling
2026-10-27Sort info_hashes in a scrape so that the reply forms a valid bencoded dictDirk Engling
2026-10-27Add new test for connection keep aliveDirk Engling
2026-10-27Revive http keep alive to save tcp connection setup costsDirk Engling
2026-10-27retrieve the address of the sending socket for comparison. In jails it might be forced to its primary addressDirk Engling
2026-10-27Adding the actual tests to do aforementioned 'Massively increase coverage by pulling fullscrapes and sending udp packets'Dirk Engling
2026-10-27Massively increase coverage by pulling fullscrapes and sending udp packetsDirk Engling
2026-10-27Fix some sanitizer findings, mostly UB if no accesslist is configured and thread join problemsDirk Engling
2026-10-27add more checkers to the sanitizer and integration check runsDirk Engling
2026-10-26Drop -lz as Makefile.gzip already carries itDirk Engling
2026-10-26Avoid an UB of adding NULL + 0 by keeping an offset instead of advancing the pointer into a vector structDirk Engling
2026-10-26Add integration test and its runnerDirk Engling
2026-10-26replace 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
2026-10-26Potentially overlapping areas need memmove, not memcpyDirk Engling
2026-10-26Make sure to not accept mere prefixes of addresses from query stringDirk Engling
2026-10-26With libowfat gone, we don't need to disable the auto free feature for older versionsDirk Engling
2026-10-26Replace 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.
2026-10-26Add poll/epoll/kqueue wrapper to wait for eventsDirk Engling
2026-10-26Third run of making variable and function names more readable, integer scans and ip parsersDirk Engling
2026-10-26Second run of making variable and function names more readable, urlencoder now matches overall naming schemeDirk Engling
2026-10-26First run of making variable names more readableDirk Engling
2026-10-26Use new fdstate subsystem to store per fd cookie and timeoutDirk Engling