For a while, MAX_REND_FAILURES was set to 30. That's clearly wrong; in #4241 (moved) we set it to 8. But is 8 the right value? We should investigate actual failure rates and pick a value that's more in tune with what we're actually seeing in the wild.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related.
Learn more.
We decided that this ticket will host easy short-term changes, and we will use #15557 (moved) for more intelligent retry logic fixes.
For this ticket, please see branch bug11447 in my repo. It merely changes MAX_REND_FAILURES to 1, so that the HS has one try and one retry to make its rendezvous circuits work.
It's very difficult to actually measure the failure rate in the wild but with #15463 (moved) being seen lately bringing this one to 1 is saner for the HS and Tor network than the current value of 8 which is a pretty high amount of retry. Without DoS defense or counter measures, keeping this one low is ideal in this context.