summaryrefslogtreecommitdiff
path: root/opentracker.c
AgeCommit message (Collapse)Author
18 hourswhite space fixesDirk Engling
18 hoursSplit options parsing and config code from opentracker.c, it has grown humongousDirk Engling
18 hoursFix build. Last commit was too huge ;)Dirk Engling
18 hoursDecouple 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
36 hoursUse the new ot_socket abstraction for socket creation, read and writeDirk Engling
42 hoursReplace custom int64 with its standardized int64_t typeDirk Engling
45 hoursReplace libowfat's ip scanner and formatters with own ownDirk Engling
2 daysReplace libowfat's array with our new blob abstractionDirk Engling
2 daysInitialise workstruct for each read, so that stale entries will not linger in http error casesDirk Engling
2 daysUse new ranged unsigned int scanner everywhere and squash some bugs along the wayDirk Engling
2 daysadd missing break in config file parserDirk Engling
3 daysReplace all manual hex conversion with the new helperDirk Engling
3 daysUse new entropy fascility and add tests for itDirk Engling
3 daysReplace endianess helpers and remove unused system and libowfat includedDirk Engling
* Replace libowfat big endian packers with htonl/ntohl * Turn bucket derivation in ot_mutex.c into its own helper * remove unused includes
3 daysRework config file parser and tidy up mem initsDirk Engling
2026-04-03turn all int offsets into size_tDirk Engling
2024-04-16Remove CVS version tags, they did not work anymore after moving to gitDirk Engling
2024-04-15Install default signal handlers before spawning first threadDirk Engling
2024-04-15time_caching_worker never returns, but if it would, it should return a valueDirk Engling
2024-04-15clang-formatDirk Engling
2024-04-14SpellingDirk Engling
2024-04-14print when RANDOMTORRENTS were createdDirk Engling
2024-04-14Make the amount of random torrents a tunableDirk Engling
2024-04-14Revert b8ee3dfec11d1c66bee614bfab171ada9fc2bb78Dirk Engling
2024-04-14remove debug fprintfs used to catch a bugDirk Engling
2024-04-14Use the HELPLINE macro for help linesDirk Engling
2024-04-13Cancel chunked transfers on dead sockets, tooDirk Engling
2024-04-13Fix type warnings in debug stringsDirk Engling
2024-04-13Allow opentracker to start with a random set of torrents for debugging purposesDirk Engling
2024-04-13Better track current iobatchDirk Engling
2024-04-13First shot on chunked transfersDirk Engling
2024-04-12Start an extra thread to update timer cache. Using signals was unnecessaryDirk Engling
2024-04-05minor cleanups. Breaks proxy.cDirk Engling
2024-04-03Bind dual stack by defaultDirk Engling
2024-04-03Allow binding to v4 and v6 addresses alwaysDirk Engling
2024-03-29Allow networks to be used instead of ip addresses when blessing is involvedDirk Engling
2024-03-07Merge branch 'master' into erdgeist-fix-top10-statsDirk Engling
2024-03-07handle -1 length reads properlyDirk Engling
2022-11-24Add support for dynamic accesslistsDirk Engling
2021-08-23Fix return code check inversion introduced in last commitDirk Engling
2021-08-22opentracker.c: check set*id return valuesRomain Porte
This commit fix the following similar warnings: opentracker.c:562:7: warning: ignoring return value of ‘setegid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] […] The man page of these functions ask users to explicitly check the return value in case of any error happening.
2021-07-27Fix typo. Thanks to Romain PorteDirk Engling
2021-05-09Handle eagain case in trywriteDirk Engling
2021-04-25Retry successful writes immediatelyDirk Engling
2021-04-24Split huge iovecs over multiple io_batchesDirk Engling
2021-04-21Add a handler for the EAGAIN reason code to iob_sendDirk Engling
2021-04-20Use arc4random whereever we need strong entropyDirk Engling
2021-04-20Turn random() to nrand48 in inner loop where it is not cryptographically relevant to avoid futex storm. Thanks and credits to Bart SmienkDirk Engling
2018-05-26Remove debug code for self pipesDirk Engling
2018-05-26Tell libowfat about EWOULDBLOCK conditionsDirk Engling