tor/src/common
David Goulet 64149353dd dos: Initial code of Denial of Service mitigation
This commit introduces the src/or/dos.{c|h} files that contains the code for
the Denial of Service mitigation subsystem. It currently contains basic
functions to initialize and free the subsystem. They are used at this commit.

The torrc options and consensus parameters are defined at this commit and
getters are implemented.

Signed-off-by: David Goulet <dgoulet@torproject.org>
2018-01-30 09:18:15 -05:00
..
address.c Switch from "AF_UNIX is always equal" to "always unequal" to avoid wacky bugs. See discussion on 20261 2016-10-11 11:11:21 -04:00
address.h Keep make check-spaces happy 2016-06-12 21:47:14 +00:00
aes.c Always Use EVP_aes_*_ctr() with openssl 1.1 2016-12-05 07:54:22 -05:00
aes.h In aes.c, support 192-bit and 256-bit keys. 2016-09-16 09:51:51 -04:00
backtrace.c checkSpace.pl now forbids more identifiers. 2016-09-06 12:35:37 -04:00
backtrace.h Update the copyright year. 2016-02-27 18:48:19 +01:00
ciphers.inc Update ciphers.inc to match ff28 2014-04-08 11:42:07 -04:00
compat.c Fix mixed-sign comparison warning in fix for 22797. 2017-09-11 16:29:06 -04:00
compat.h Fix cases where the tests were doing closesocket() on a non-socket 2016-09-09 10:28:12 -04:00
compat_libevent.c Merge remote-tracking branch 'public/Fix_19450' 2016-08-12 16:11:28 -04:00
compat_libevent.h Merge remote-tracking branch 'public/Fix_19450' 2016-08-12 16:11:28 -04:00
compat_openssl.h Stop implying that we support openssl 1.0.0; we don't. 2016-10-06 12:58:49 -04:00
compat_pthreads.c Backport the other sierra fix in 20865. 2016-12-07 18:24:28 -05:00
compat_threads.c Merge remote-tracking branch 'public/thread_coverage' 2016-06-19 12:15:55 -04:00
compat_threads.h Update the copyright year. 2016-02-27 18:48:19 +01:00
compat_time.c Withstand failures in CLOCK_MONOTONIC_COARSE 2016-12-21 08:17:26 -05:00
compat_time.h loony mingwcross bug: insist we dont have clock_gettime. 2016-07-21 14:09:00 +02:00
compat_winthreads.c Update the copyright year. 2016-02-27 18:48:19 +01:00
container.c Merge branch 'maint-0.2.6' into maint-0.2.7-redux 2017-02-07 09:59:12 -05:00
container.h checkSpace.pl now forbids more identifiers. 2016-09-06 12:35:37 -04:00
crypto.c Merge branch 'maint-0.2.8' into maint-0.2.9 2017-11-30 12:07:59 -05:00
crypto.h Add support for AES256 and AES192 2016-09-16 11:21:33 -04:00
crypto_curve25519.c Fix a syntax problem 2016-10-17 10:25:13 -04:00
crypto_curve25519.h Write a bunch of module documentation. 2016-10-17 10:16:59 -04:00
crypto_ed25519.c Write a bunch of module documentation. 2016-10-17 10:16:59 -04:00
crypto_ed25519.h Introduce ed25519_{sign,checksig}_prefixed functions(). 2016-08-23 14:53:01 +03:00
crypto_format.c Write a bunch of module documentation. 2016-10-17 10:16:59 -04:00
crypto_format.h Update the copyright year. 2016-02-27 18:48:19 +01:00
crypto_pwbox.c Mark three lines unreachable, with extensive docs and use of BUG macros 2016-05-16 08:25:53 -04:00
crypto_pwbox.h Rudimentary-but-sufficient passphrase-encrypted box code. 2014-09-25 11:58:13 -04:00
crypto_s2k.c Merge branch 'maint-0.2.8' 2016-05-25 10:21:15 -04:00
crypto_s2k.h Update the copyright year. 2016-02-27 18:48:19 +01:00
di_ops.c Reduce make check-spaces noise 2016-06-09 11:50:25 +00:00
di_ops.h Reduce make check-spaces noise 2016-06-09 11:50:25 +00:00
handles.h Basic 'handle' implementation and tests. 2016-04-19 14:07:43 -04:00
include.am Also ship compat_time.h in release tarballs. Fixes bug #19746 2016-07-25 09:07:29 +02:00
linux_syscalls.inc Move code-generation scripts to scripts/codegen 2014-05-07 01:17:41 -04:00
log.c dos: Initial code of Denial of Service mitigation 2018-01-30 09:18:15 -05:00
Makefile.nmake Clean up the MVSC nmake files so they work again. 2014-09-09 10:27:05 -04:00
memarea.c Merge branch 'maint-0.2.8' 2016-05-25 09:27:47 -04:00
memarea.h Update the copyright year. 2016-02-27 18:48:19 +01:00
procmon.c Address review comments from cypherpunks 2016-07-04 16:34:40 +02:00
procmon.h Update the copyright year. 2016-02-27 18:48:19 +01:00
pubsub.c Fix bad allocation in pubsub.c 2016-05-12 09:56:42 -04:00
pubsub.h Reduce make check-spaces noise 2016-06-09 11:50:25 +00:00
sandbox.c Allow setsockopt(IPV6_V6ONLY) in sandbox. 2017-07-05 13:09:21 -04:00
sandbox.h Use the Autoconf macro AC_USE_SYSTEM_EXTENSIONS 2016-06-17 10:17:44 -04:00
testsupport.h Add support for mocking functions declared with attributes without causing gcc warnings 2016-06-30 07:03:26 +00:00
timers.c convert timers.c to use real monotonic time. 2016-07-19 11:40:46 +02:00
timers.h Keep make check-spaces happy 2016-07-29 05:05:12 +00:00
torgzip.c One more implicit fallthrough warning to fix on GCC 7 2017-09-12 09:22:50 -04:00
torgzip.h Update the copyright year. 2016-02-27 18:48:19 +01:00
torint.h Update the copyright year. 2016-02-27 18:48:19 +01:00
torlog.h dos: Initial code of Denial of Service mitigation 2018-01-30 09:18:15 -05:00
tortls.c Improve documentation on get_{peer,own}_certificate() 2017-06-05 15:27:33 -04:00
tortls.h Test prerequisites: function to dup a cert, make get_own_cert mockable. 2017-06-05 15:27:33 -04:00
util.c Suppress clang4-specific -Wdouble-promotion warnings 2017-07-26 12:53:00 -04:00
util.h Allow a unix: address to contain a C-style quoted string. 2016-10-04 15:43:20 -04:00
util_bug.c Treat all nonfatal assertion failures as unit test failures. 2016-09-08 13:27:30 -04:00
util_bug.h Fix build warnings from Coverity related to our BUG macro 2017-07-26 12:57:49 -04:00
util_format.c It is not a bug to attempt to base32_decode a non-base32 string 2016-08-31 14:31:00 -04:00
util_format.h Fix base32 API to take any source length in bytes 2016-06-17 13:53:47 -04:00
util_process.c Add the -Wextra-semi warning from clang, and fix the cases where it triggers 2016-06-11 10:11:54 -04:00
util_process.h Update the copyright year. 2016-02-27 18:48:19 +01:00
workqueue.c Write a bunch of module documentation. 2016-10-17 10:16:59 -04:00
workqueue.h Grammar. 2016-07-05 12:10:12 -04:00