Commit Graph

  • 9a20ebe3f2 Fix typo. Thanks to Romain Porte Dirk Engling 2021-07-27 23:15:48 +0200
  • 68a17b3ae4 Obey DESTDIR macro. Thanks to Romain Porte Dirk Engling 2021-07-27 23:14:47 +0200
  • 80faf1c452 Using strip from enviroment to allow different strippers Dirk Engling 2021-06-06 03:02:14 +0200
  • 298fe52f52 Make accesslists work again by testing the actual result of bsearch. Thanks to Hanno Dirk Engling 2021-06-05 11:25:55 +0200
  • 3168071175 Fix two issues when splitting an iovec to large iobatches Dirk Engling 2021-05-09 00:07:32 +0200
  • 99544a1030 Handle eagain case in trywrite Dirk Engling 2021-05-09 00:02:13 +0200
  • e33efb5086 Add newline to debug string Dirk Engling 2021-05-09 00:00:55 +0200
  • 0178c27662 Merge branch 'split-iobatches' of erdgeist.org:opentracker into split-iobatches Dirk Engling 2021-04-25 18:24:05 +0200
  • dfe687aa81 Remove old mman header Dirk Engling 2021-04-25 18:23:57 +0200
  • 397cd035a4 Turn mmaps into malloc Dirk Engling 2021-04-25 18:23:00 +0200
  • 2f228c27c2 Retry successful writes immediately Dirk Engling 2021-04-25 13:30:24 +0200
  • 95f1780f0b Split huge iovecs over multiple io_batches Dirk Engling 2021-04-24 03:25:30 +0200
  • e87978860b gzip iovecs always end on the boundary and don't need to be fixed Dirk Engling 2021-04-22 03:03:55 +0200
  • 1a349bfa43 Add a handler for the EAGAIN reason code to iob_send Dirk Engling 2021-04-21 20:14:58 +0200
  • bfc398182f Rework fullscrape worker, unifying non-gzip and gzip code was a bad idea Dirk Engling 2021-04-21 14:41:59 +0200
  • 27f8189d84 accesslist checker should not operate on an empty list Dirk Engling 2021-04-20 22:34:23 +0200
  • 58dedd001d srandomdev is not available on linuxes by default Dirk Engling 2021-04-20 04:14:11 +0200
  • b73b3b17cc Use arc4random whereever we need strong entropy Dirk Engling 2021-04-20 04:05:50 +0200
  • ccef1d0ccd Use dev random by default Dirk Engling 2021-04-20 03:49:58 +0200
  • 616119ee22 Turn random() to nrand48 in inner loop where it is not cryptographically relevant to avoid futex storm. Thanks and credits to Bart Smienk Dirk Engling 2021-04-20 03:48:50 +0200
  • 0695b48870 White space Dirk Engling 2021-04-20 03:31:58 +0200
  • 00bd3b2009 unmap file if a memory allocation error occurs Dirk Engling 2021-04-19 22:36:24 +0200
  • 102ba9075b Make accesslist reload thread safe. The last commit actually would make a free possible while another thread was bsearching that memory Dirk Engling 2021-04-19 22:33:23 +0200
  • fde79836e6 Try accessing the access lists without locks by making the replacement process as atomic as possible. Dirk Engling 2021-04-19 22:12:50 +0200
  • 7c905ba729 De-bottleneck mutex access code Dirk Engling 2021-04-19 03:25:18 +0200
  • 6411f1567f Remove debug code for self pipes Dirk Engling 2018-05-26 00:28:10 +0200
  • d6d4fb0668 Tell libowfat about EWOULDBLOCK conditions Dirk Engling 2018-05-26 00:25:59 +0200
  • 48c9c6172b register both ends of self pipe to libowfat in order to use them Dirk Engling 2018-01-29 17:32:22 +0000
  • 9c7be324f5 break belongs inside the guard Dirk Engling 2017-04-28 15:43:14 +0200
  • d1e6e4486c incorporate a more verbose ascii dump, provided by Tom <tom@foscore.com> Dirk Engling 2017-04-28 15:42:17 +0200
  • d4598cc930 Get rid of some warnings regarding header guards Dirk Engling 2017-04-28 15:41:24 +0200
  • 0ebc0ed6a3 Avoid double free when iob_addbuf_free fails, thanks to Sami Farin Dirk Engling 2016-10-02 18:47:16 +0200
  • ba25d2b2a8 Forgot to include one error code. Thanks to Lars Seipel Dirk Engling 2015-12-11 17:57:53 +0100
  • 75c216c82d dont count scrapes as full scrapes, fall through fail Dirk Engling 2015-11-26 20:30:00 +0100
  • a215479d1a Accept was counted twice Dirk Engling 2015-11-25 02:11:29 +0100
  • a06c3cfeb7 Add missing enum value. Thanks to zhangdongmao Dirk Engling 2015-08-30 23:56:56 +0200
  • fca2b993a9 Increase number of locks to accomodate for more cores on contemporary CPUs Dirk Engling 2015-06-08 01:44:57 +0200
  • 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. Dirk Engling 2015-06-05 13:34:19 +0200
  • 27499d7a55 Fix typo in stat reporting, use udp and not tcp counter. Thanks to zebulon Dirk Engling 2015-04-27 22:04:45 +0200
  • 6c60309745 Protect static data by mutex erdgeist 2014-10-07 01:34:00 +0200
  • 77c13fe6ef Only kick off udp handlers, when everything is initialised erdgeist 2014-10-07 00:32:07 +0200
  • 9816750420 Initialise all values of aes key erdgeist 2014-10-07 00:01:30 +0200
  • 954f5029df Fix immediate overwrite in the X-forwarded-for passing case. Thanks to Alexander Luetjen. erdgeist 2013-08-04 10:05:35 +0000
  • 4b6f7a7a54 Fix spelling error ;) erdgeist 2013-06-07 14:03:37 +0000
  • 85dfec1822 Dont make srandomdev the default, it exists only in BSDs erdgeist 2012-06-08 19:21:46 +0000
  • 5233046241 Make woodpecker spotting more usable by adjusting count every 2 minutes erdgeist 2012-06-03 04:06:32 +0000
  • 8741c91a7d Calculate the old hash for the ip address only, when the current one mismatches erdgeist 2012-06-03 00:17:07 +0000
  • 7e2bef9bf7 Dont ruin the srandomdev initialisation in trackerlogic's init erdgeist 2012-06-03 00:15:59 +0000
  • eed4a42292 Forgot variable declaration erdgeist 2012-05-31 22:58:36 +0000
  • f6c9dd8a13 reduce zlib warnings to when there really is something failing erdgeist 2012-05-29 22:10:14 +0000
  • 7d36ea2732 new flag to enforce gzip even if client did not request it denis 2012-05-29 20:42:00 +0000
  • 0d4909e631 Add rijndael to version report erdgeist 2012-05-29 03:41:49 +0000
  • 95a4ed9043 Remove debug info erdgeist 2012-05-28 19:08:01 +0000
  • dc90c8867c Report connection id missmatch count erdgeist 2012-05-28 19:05:02 +0000
  • 37db5f94fa udp now generates a cryptographically secure token for connecting clients. This is later verified. erdgeist 2012-05-28 15:26:13 +0000
  • 3eeb536a44 Init prng before udp code needs it. erdgeist 2012-05-28 15:24:33 +0000
  • ae16a23ae0 Add connection id missmatch code erdgeist 2012-05-28 15:15:32 +0000
  • 44e004ac9a Adding rijndael code for udp connection id calculation erdgeist 2012-05-28 14:47:58 +0000
  • 8e683affd1 Do not always grow the vector, shrink the first iovec to 0 before filling the second one erdgeist 2012-05-18 08:45:32 +0000
  • 50b5c750cc Need more space for top100 erdgeist 2012-05-18 08:34:35 +0000
  • 05e0de1a5f Add a top100 for most popular torrents erdgeist 2012-05-18 05:16:57 +0000
  • 914e0ac302 Add functionality to distribute udp to several workers erdgeist 2012-04-25 05:48:16 +0000
  • ae413a675b undo last change, it did not work well erdgeist 2012-04-01 04:11:27 +0000
  • 8bf40b6717 fix tiny issue erdgeist 2012-04-01 03:23:50 +0000
  • 09f1234aa9 fix prototype erdgeist 2012-04-01 03:22:15 +0000
  • 1af67bab1d Try to act upon all udp packets at once erdgeist 2012-03-31 20:01:05 +0000
  • 1968f47d74 silenced some clang warnings denis 2011-11-16 00:41:16 +0000
  • 85df3dbc01 Open syslog connection before dropping privileges erdgeist 2010-12-11 15:50:56 +0000
  • 09adf4a9e1 Prevent infinite loop if whitelist ends in several returns erdgeist 2010-08-26 01:36:32 +0000
  • 216447492a Chomp all trailing space characters, including new lines, when parsing the config file erdgeist 2010-08-18 00:43:12 +0000
  • aae0227ee6 Load state only after initialising all structs. Thanks to Michael S. Combs for pointing out the buf erdgeist 2010-08-17 01:06:22 +0000
  • 894bd4625f Stop sending tracker id with every packet erdgeist 2010-08-15 16:38:43 +0000
  • 470a690e0d Don't only walk through outgoing connections to search for connected peers erdgeist 2010-08-15 14:54:40 +0000
  • 4b3189eb44 Address reconnecting issues erdgeist 2010-08-15 13:59:08 +0000
  • 3e30fa32aa Fixed sync loss bug erdgeist 2010-08-15 01:59:09 +0000
  • 4fe2f35595 Looking into pointer arithmetics issue erdgeist 2010-08-14 15:22:20 +0000
  • 9cfab8dbc6 tidy up peer count parser code erdgeist 2010-08-14 11:30:54 +0000
  • c8d1ae0468 Fix encoding of peer count in proxy sync packet erdgeist 2010-08-14 10:56:14 +0000
  • c005b42be4 enable proxy.debug target erdgeist 2010-08-14 01:08:13 +0000
  • 8d025a1745 Tidy up sync proxy code erdgeist 2010-08-13 12:47:15 +0000
  • 730d4bb6ae Reset http request input array on error case erdgeist 2010-08-09 14:22:12 +0000
  • a75c824187 the keep-alive loop must not run, if no keep alive is configured or requested for connection erdgeist 2010-08-09 14:20:02 +0000
  • 426c5f30c2 We have been too overly cautious not to read beyond the boundary. erdgeist 2010-07-30 15:02:57 +0000
  • 3636be6cc7 Make whitelist parser more robust against comments. I assumed perfectly arranged white lists until now erdgeist 2010-05-05 12:56:13 +0000
  • d42bf5a031 ** struct ot_workstruct gets ritcher (and will become even ritcher soon). This is where we encapsulate all per-request data from peer to hash to peer_id, so that it is available everywhere without passing hundreds of pointers down the stack. Most functions that do work down the stack now accept an ot_workstruct and some flags. So it can end up in the stats/event-handler where it will be the default parameter in the future. erdgeist 2010-04-22 22:08:42 +0000
  • ae9ab76941 Get rid of SYNC_SCRAPE madness. It's overkill and no one uses it. erdgeist 2010-04-22 21:55:28 +0000
  • 3baa1abc56 Fix white spaces erdgeist 2010-04-21 14:43:36 +0000
  • 66cda4bc75 Add our own time stamps to the completed logs. erdgeist 2010-04-21 13:23:40 +0000
  • 85e6880233 Make opentracker's user runtime configurable. Also add more debug output to aid finding problems. erdgeist 2010-04-09 10:15:51 +0000
  • fc48cbed01 Fix segfault in stats?mode=everything, an additional errorcode was not commited to ot_stats erdgeist 2010-04-09 09:40:12 +0000
  • a1eec929a1 Only chroot if -d option or tracker.rootdir are set erdgeist 2010-04-09 09:33:39 +0000
  • a7cd2084df Fixed including another error message erdgeist 2009-12-01 02:56:33 +0000
  • f3c0359876 Make header parsing more efficient, prepare multithreading and keep-alive. erdgeist 2009-11-18 04:00:26 +0000
  • 90e7262d9d Preparing more efficient header parsing erdgeist 2009-11-18 03:56:26 +0000
  • 1665c54179 prevent infinite loop when looking for X-Forwarded-For: Headers erdgeist 2009-11-16 18:58:34 +0000
  • f4409df68a Allow logging of completed events to syslog erdgeist 2009-11-12 10:18:27 +0000
  • b1bf030f92 Fixed parser error for v6 addresses erdgeist 2009-11-05 20:20:48 +0000
  • 48f67314b6 Should not report sync scrape packets in stderr erdgeist 2009-10-15 19:52:17 +0000
  • c27631e516 Reenable statedump erdgeist 2009-10-15 19:33:30 +0000
  • 9d4f0e66d0 Need to compile sources for proxy erdgeist 2009-10-15 18:23:20 +0000