David Goulet
|
78d6cb5870
dos: We can put less token than the current amount
|
7 years ago |
Nick Mathewson
|
3bed8fdb91
Use tt_u64_op() for uint64_t inputs.
|
7 years ago |
David Goulet
|
475218c108
Merge branch 'ticket25122_029_02' into ticket24902_029_05
|
7 years ago |
David Goulet
|
e758d659a0
geoip: Add clientmap_entry_new() function
|
7 years ago |
David Goulet
|
4d812e29b9
geoip: Increment and decrement functions for the geoip client cache
|
7 years ago |
David Goulet
|
51839f4765
geoip: Hook the client history cache into the OOM handler
|
7 years ago |
Nick Mathewson
|
9cbc40e376
Merge remote-tracking branch 'teor/bug25070_031' into maint-0.3.1
|
7 years ago |
Fernando Fernandez Mancera
|
33d9889a2b
channel_tls_get_remote_addr_method now returns real_addr.
|
7 years ago |
Nick Mathewson
|
5fc0437e74
But in most Earth cultures, there are 60s in a minute.
|
7 years ago |
Nick Mathewson
|
86e6cb6409
add a rate-limit.
|
7 years ago |
teor
|
1f4a73133c
test: Add unit tests for overflows and underflows in cc_stats_refill_bucket
|
7 years ago |
teor
|
a09d5f5735
dos: Make sure cc_stats_refill_bucket can't overflow while calculating
|
7 years ago |
teor
|
b45ae1b002
test: Remove a redundant round from test_dos_bucket_refill
|
7 years ago |
David Goulet
|
9aca7d4730
dos: Add changes file for ticket 24902
|
7 years ago |
David Goulet
|
e58a4fc6cf
dos: Make circuit rate limit per second, not tenths anymore
|
7 years ago |
David Goulet
|
a3714268f6
dos: Man page entry for DoS mitigation
|
7 years ago |
George Kadianakis
|
c3c2b55dec
test: Add unit tests for the DoS subsystem
|
7 years ago |
David Goulet
|
82de4ea900
dos: Clear connection tracked flag if geoip entry is removed
|
7 years ago |
David Goulet
|
14a8b87852
dos: Add a heartbeat log
|
7 years ago |
David Goulet
|
36a0ae151f
dos: Add the DoSRefuseSingleHopClientRendezvous option
|
7 years ago |
David Goulet
|
acf7ea77d8
dos: Add the connection DoS mitigation subsystem
|
7 years ago |
David Goulet
|
1bfc91a029
dos: Apply defense for circuit creation DoS
|
7 years ago |
David Goulet
|
97abb3543b
dos: Detect circuit creation denial of service
|
7 years ago |
David Goulet
|
c05272783d
dos: Track new and closed OR client connections
|
7 years ago |
David Goulet
|
51fda85c23
geoip: Remember client stats if DoS mitigation is enabled
|
7 years ago |
David Goulet
|
64149353dd
dos: Initial code of Denial of Service mitigation
|
7 years ago |
teor
|
9656ad3232
Changes file for 25070
|
7 years ago |
teor
|
a8e5e3a492
Add Link protocol version 5 to the supported protocols list in protover.c
|
7 years ago |
Nick Mathewson
|
9c2bc441f8
If out-of-disk when saving a consensus cache entry, don't BUG.
|
7 years ago |
David Goulet
|
93b826faaa
geoip: Add a lookup function for client map entry
|
7 years ago |