Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tor
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
jarl
tor
Commits
929a8f19
Commit
929a8f19
authored
10 years ago
by
George Kadianakis
Committed by
Nick Mathewson
10 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Decrease the amount of rend circ relaunches for hidden services.
parent
c1b36488
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
changes/bug11447
+5
-0
5 additions, 0 deletions
changes/bug11447
src/or/rendservice.c
+1
-1
1 addition, 1 deletion
src/or/rendservice.c
with
6 additions
and
1 deletion
changes/bug11447
0 → 100644
+
5
−
0
View file @
929a8f19
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
This diff is collapsed.
Click to expand it.
src/or/rendservice.c
+
1
−
1
View file @
929a8f19
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment