Skip to content
Snippets Groups Projects
Commit 929a8f19 authored by George Kadianakis's avatar George Kadianakis Committed by Nick Mathewson
Browse files

Decrease the amount of rend circ relaunches for hidden services.

parent c1b36488
No related branches found
No related tags found
No related merge requests found
o Minor features (DoS-resistance):
- Decrease the amount of reattempts that a hidden service is
willing to perform when its rendezvous circuits fail. This
reduces the computational cost for hidden service under heavy
load. Resolves ticket #11447.
\ No newline at end of file
......@@ -90,7 +90,7 @@ typedef struct rend_service_port_config_t {
#define MAX_INTRO_CIRCS_PER_PERIOD 10
/** How many times will a hidden service operator attempt to connect to
* a requested rendezvous point before giving up? */
#define MAX_REND_FAILURES 8
#define MAX_REND_FAILURES 1
/** How many seconds should we spend trying to connect to a requested
* rendezvous point before giving up? */
#define MAX_REND_TIMEOUT 30
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment