David Goulet
|
1a4fc9cddf
|
test: DoS test to make sure we exclude known relays
Part of #25193
Signed-off-by: David Goulet <dgoulet@torproject.org>
|
2018-02-09 11:31:01 -05:00 |
|
Nick Mathewson
|
22a5d3dd2a
|
remove a redundant semicolon
|
2018-02-06 08:13:11 -05:00 |
|
Nick Mathewson
|
3bed8fdb91
|
Use tt_u64_op() for uint64_t inputs.
|
2018-02-02 15:23:55 -05:00 |
|
teor
|
1f4a73133c
|
test: Add unit tests for overflows and underflows in cc_stats_refill_bucket
Closes #25094.
Signed-off-by: David Goulet <dgoulet@torproject.org>
|
2018-01-31 09:27:59 -05:00 |
|
teor
|
a09d5f5735
|
dos: Make sure cc_stats_refill_bucket can't overflow while calculating
Debug log the elapsed time in cc_stats_refill_bucket
Part of #25094.
Signed-off-by: David Goulet <dgoulet@torproject.org>
|
2018-01-31 09:27:59 -05:00 |
|
teor
|
b45ae1b002
|
test: Remove a redundant round from test_dos_bucket_refill
This round is left over from the tenths of a second code.
Part of #25094.
|
2018-01-31 09:19:39 -05:00 |
|
George Kadianakis
|
c3c2b55dec
|
test: Add unit tests for the DoS subsystem
Signed-off-by: David Goulet <dgoulet@torproject.org>
|
2018-01-30 09:18:16 -05:00 |
|