Commit Graph

665 Commits (ffa7b816905cb99e0395b6b02412ea09946f9105)
 

Author SHA1 Message Date
Dirk Engling 0178c27662 Merge branch 'split-iobatches' of erdgeist.org:opentracker into split-iobatches 4 years ago
Dirk Engling dfe687aa81 Remove old mman header 4 years ago
Dirk Engling 397cd035a4 Turn mmaps into malloc 4 years ago
Dirk Engling 2f228c27c2 Retry successful writes immediately 4 years ago
Dirk Engling 95f1780f0b Split huge iovecs over multiple io_batches 4 years ago
Dirk Engling e87978860b gzip iovecs always end on the boundary and don't need to be fixed 4 years ago
Dirk Engling 1a349bfa43 Add a handler for the EAGAIN reason code to iob_send 4 years ago
Dirk Engling bfc398182f Rework fullscrape worker, unifying non-gzip and gzip code was a bad idea 4 years ago
Dirk Engling 27f8189d84 accesslist checker should not operate on an empty list 4 years ago
Dirk Engling 58dedd001d srandomdev is not available on linuxes by default 4 years ago
Dirk Engling b73b3b17cc Use arc4random whereever we need strong entropy 4 years ago
Dirk Engling ccef1d0ccd Use dev random by default 4 years ago
Dirk Engling 616119ee22 Turn random() to nrand48 in inner loop where it is not cryptographically relevant to avoid futex storm. Thanks and credits to Bart Smienk 4 years ago
Dirk Engling 0695b48870 White space 4 years ago
Dirk Engling 00bd3b2009 unmap file if a memory allocation error occurs 4 years ago
Dirk Engling 102ba9075b Make accesslist reload thread safe. The last commit actually would make a free possible while another thread was bsearching that memory 4 years ago
Dirk Engling fde79836e6 Try accessing the access lists without locks by making the replacement process as atomic as possible. 4 years ago
Dirk Engling 7c905ba729 De-bottleneck mutex access code 4 years ago
Dirk Engling 6411f1567f Remove debug code for self pipes 7 years ago
Dirk Engling d6d4fb0668 Tell libowfat about EWOULDBLOCK conditions 7 years ago
Dirk Engling 48c9c6172b register both ends of self pipe to libowfat in order to use them 7 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 d4598cc930 Get rid of some warnings regarding header guards 8 years ago
Dirk Engling 0ebc0ed6a3 Avoid double free when iob_addbuf_free fails, thanks to Sami Farin 8 years ago
Dirk Engling ba25d2b2a8 Forgot to include one error code. Thanks to Lars Seipel 9 years ago
Dirk Engling 75c216c82d dont count scrapes as full scrapes, fall through fail 9 years ago
Dirk Engling a215479d1a Accept was counted twice 9 years ago
Dirk Engling a06c3cfeb7 Add missing enum value. Thanks to zhangdongmao 9 years ago
Dirk Engling fca2b993a9 Increase number of locks to accomodate for more cores on contemporary CPUs 10 years ago
Dirk Engling f0026ed1e0 Avoid reacting to our own error packets, should the happen to end up on our interface with a spoofed source IP. Thanks to zorun. 10 years ago
Dirk Engling 27499d7a55 Fix typo in stat reporting, use udp and not tcp counter. Thanks to zebulon 10 years ago
erdgeist 6c60309745 Protect static data by mutex 10 years ago
erdgeist 77c13fe6ef Only kick off udp handlers, when everything is initialised 10 years ago
erdgeist 9816750420 Initialise all values of aes key 10 years ago
erdgeist 954f5029df Fix immediate overwrite in the X-forwarded-for passing case. Thanks to Alexander Luetjen. 11 years ago
erdgeist 4b6f7a7a54 Fix spelling error ;) 12 years ago
erdgeist 85dfec1822 Dont make srandomdev the default, it exists only in BSDs 13 years ago
erdgeist 5233046241 Make woodpecker spotting more usable by adjusting count every 2 minutes 13 years ago
erdgeist 8741c91a7d Calculate the old hash for the ip address only, when the current one mismatches 13 years ago
erdgeist 7e2bef9bf7 Dont ruin the srandomdev initialisation in trackerlogic's init 13 years ago
erdgeist eed4a42292 Forgot variable declaration 13 years ago
erdgeist f6c9dd8a13 reduce zlib warnings to when there really is something failing 13 years ago
denis 7d36ea2732 new flag to enforce gzip even if client did not request it 13 years ago
erdgeist 0d4909e631 Add rijndael to version report 13 years ago
erdgeist 95a4ed9043 Remove debug info 13 years ago
erdgeist dc90c8867c Report connection id missmatch count 13 years ago
erdgeist 37db5f94fa udp now generates a cryptographically secure token for connecting clients. This is later verified. 13 years ago
erdgeist 3eeb536a44 Init prng before udp code needs it. 13 years ago
erdgeist ae16a23ae0 Add connection id missmatch code 13 years ago