600 Commits (102ba9075b8df32627f38074a293d804e04139ba)
 

Author SHA1 Message Date
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
erdgeist 44e004ac9a Adding rijndael code for udp connection id calculation 13 years ago
erdgeist 8e683affd1 Do not always grow the vector, shrink the first iovec to 0 before filling the second one 13 years ago
erdgeist 50b5c750cc Need more space for top100 13 years ago
erdgeist 05e0de1a5f Add a top100 for most popular torrents 13 years ago
erdgeist 914e0ac302 Add functionality to distribute udp to several workers 13 years ago
erdgeist ae413a675b undo last change, it did not work well 13 years ago
erdgeist 8bf40b6717 fix tiny issue 13 years ago
erdgeist 09f1234aa9 fix prototype 13 years ago
erdgeist 1af67bab1d Try to act upon all udp packets at once 13 years ago
denis 1968f47d74 silenced some clang warnings 13 years ago
erdgeist 85df3dbc01 Open syslog connection before dropping privileges 14 years ago
erdgeist 09adf4a9e1 Prevent infinite loop if whitelist ends in several returns 14 years ago
erdgeist 216447492a Chomp all trailing space characters, including new lines, when parsing the config file 14 years ago
erdgeist aae0227ee6 Load state only after initialising all structs. Thanks to Michael S. Combs for pointing out the buf 14 years ago
erdgeist 894bd4625f Stop sending tracker id with every packet 14 years ago