diff options
author | David Goulet <dgoulet@torproject.org> | 2018-01-25 15:54:58 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2018-01-30 09:18:15 -0500 |
commit | 64149353dda6336488e7d011534a7132b3f01acc (patch) | |
tree | 13a89db732985554b68897d6e9225f678980cc67 /src/or/include.am | |
parent | 93b826faaa7cca351c68256ce60a7f7e6c5fda5b (diff) | |
download | tor-64149353dda6336488e7d011534a7132b3f01acc.tar.gz tor-64149353dda6336488e7d011534a7132b3f01acc.zip |
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>
Diffstat (limited to 'src/or/include.am')
-rw-r--r-- | src/or/include.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/include.am b/src/or/include.am index ae493b7225..5108a08e53 100644 --- a/src/or/include.am +++ b/src/or/include.am @@ -43,6 +43,7 @@ LIBTOR_A_SOURCES = \ src/or/dirvote.c \ src/or/dns.c \ src/or/dnsserv.c \ + src/or/dos.c \ src/or/fp_pair.c \ src/or/geoip.c \ src/or/entrynodes.c \ @@ -151,6 +152,7 @@ ORHEADERS = \ src/or/dns.h \ src/or/dns_structs.h \ src/or/dnsserv.h \ + src/or/dos.h \ src/or/ext_orport.h \ src/or/fallback_dirs.inc \ src/or/fp_pair.h \ |