e87978860bgzip iovecs always end on the boundary and don't need to be fixed
Dirk Engling
2021-04-22 03:03:55 +0200
1a349bfa43Add a handler for the EAGAIN reason code to iob_send
Dirk Engling
2021-04-21 20:14:58 +0200
bfc398182fRework fullscrape worker, unifying non-gzip and gzip code was a bad idea
Dirk Engling
2021-04-21 14:41:59 +0200
27f8189d84accesslist checker should not operate on an empty list
Dirk Engling
2021-04-20 22:34:23 +0200
58dedd001dsrandomdev is not available on linuxes by default
Dirk Engling
2021-04-20 04:14:11 +0200
b73b3b17ccUse arc4random whereever we need strong entropy
Dirk Engling
2021-04-20 04:05:50 +0200
ccef1d0ccdUse dev random by default
Dirk Engling
2021-04-20 03:49:58 +0200
616119ee22Turn 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
0695b48870White space
Dirk Engling
2021-04-20 03:31:58 +0200
00bd3b2009unmap file if a memory allocation error occurs
Dirk Engling
2021-04-19 22:36:24 +0200
102ba9075bMake 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
fde79836e6Try accessing the access lists without locks by making the replacement process as atomic as possible.
Dirk Engling
2021-04-19 22:12:50 +0200
fca2b993a9Increase number of locks to accomodate for more cores on contemporary CPUs
Dirk Engling
2015-06-08 01:44:57 +0200
f0026ed1e0Avoid 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
27499d7a55Fix typo in stat reporting, use udp and not tcp counter. Thanks to zebulon
Dirk Engling
2015-04-27 22:04:45 +0200
6c60309745Protect static data by mutex
erdgeist
2014-10-07 01:34:00 +0200
77c13fe6efOnly kick off udp handlers, when everything is initialised
erdgeist
2014-10-07 00:32:07 +0200
9816750420Initialise all values of aes key
erdgeist
2014-10-07 00:01:30 +0200
954f5029dfFix immediate overwrite in the X-forwarded-for passing case. Thanks to Alexander Luetjen.
erdgeist
2013-08-04 10:05:35 +0000
8d025a1745Tidy up sync proxy code
erdgeist
2010-08-13 12:47:15 +0000
730d4bb6aeReset http request input array on error case
erdgeist
2010-08-09 14:22:12 +0000
a75c824187the keep-alive loop must not run, if no keep alive is configured or requested for connection
erdgeist
2010-08-09 14:20:02 +0000
426c5f30c2We have been too overly cautious not to read beyond the boundary.
erdgeist
2010-07-30 15:02:57 +0000
3636be6cc7Make 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
ae9ab76941Get rid of SYNC_SCRAPE madness. It's overkill and no one uses it.
erdgeist
2010-04-22 21:55:28 +0000
3baa1abc56Fix white spaces
erdgeist
2010-04-21 14:43:36 +0000
66cda4bc75Add our own time stamps to the completed logs.
erdgeist
2010-04-21 13:23:40 +0000
85e6880233Make opentracker's user runtime configurable. Also add more debug output to aid finding problems.
erdgeist
2010-04-09 10:15:51 +0000
fc48cbed01Fix segfault in stats?mode=everything, an additional errorcode was not commited to ot_stats
erdgeist
2010-04-09 09:40:12 +0000
a1eec929a1Only chroot if -d option or tracker.rootdir are set
erdgeist
2010-04-09 09:33:39 +0000
a7cd2084dfFixed including another error message
erdgeist
2009-12-01 02:56:33 +0000
f3c0359876Make header parsing more efficient, prepare multithreading and keep-alive.
erdgeist
2009-11-18 04:00:26 +0000
90e7262d9dPreparing more efficient header parsing
erdgeist
2009-11-18 03:56:26 +0000
1665c54179prevent infinite loop when looking for X-Forwarded-For: Headers
erdgeist
2009-11-16 18:58:34 +0000
f4409df68aAllow logging of completed events to syslog
erdgeist
2009-11-12 10:18:27 +0000
b1bf030f92Fixed parser error for v6 addresses
erdgeist
2009-11-05 20:20:48 +0000
48f67314b6Should not report sync scrape packets in stderr
erdgeist
2009-10-15 19:52:17 +0000