Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
The Tor Project
Core
Tor
Commits
82d1d8b0
Commit
82d1d8b0
authored
6 years ago
by
Nick Mathewson
Browse files
Options
Downloads
Patches
Plain Diff
Remove extra values from InitialDelay defaults
These options are now ignored.
parent
2f792c04
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/or/config.c
+18
-35
18 additions, 35 deletions
src/or/config.c
with
18 additions
and
35 deletions
src/or/config.c
+
18
−
35
View file @
82d1d8b0
...
...
@@ -614,16 +614,10 @@ static config_var_t option_vars_[] = {
VAR
(
"__OwningControllerProcess"
,
STRING
,
OwningControllerProcess
,
NULL
),
VAR
(
"__OwningControllerFD"
,
INT
,
OwningControllerFD
,
"-1"
),
V
(
MinUptimeHidServDirectoryV2
,
INTERVAL
,
"96 hours"
),
V
(
TestingServerDownloadInitialDelay
,
CSV_INTERVAL
,
"0, 0, 0, 60, 60, 120, "
"300, 900, 2147483647"
),
V
(
TestingClientDownloadInitialDelay
,
CSV_INTERVAL
,
"0, 0, 60, 300, 600, "
"2147483647"
),
V
(
TestingServerConsensusDownloadInitialDelay
,
CSV_INTERVAL
,
"0, 0, 60, "
"300, 600, 1800, 1800, 1800, 1800, "
"1800, 3600, 7200"
),
V
(
TestingClientConsensusDownloadInitialDelay
,
CSV_INTERVAL
,
"0, 0, 60, "
"300, 600, 1800, 3600, 3600, 3600, "
"10800, 21600, 43200"
),
V
(
TestingServerDownloadInitialDelay
,
CSV_INTERVAL
,
"0"
),
V
(
TestingClientDownloadInitialDelay
,
CSV_INTERVAL
,
"0"
),
V
(
TestingServerConsensusDownloadInitialDelay
,
CSV_INTERVAL
,
"0"
),
V
(
TestingClientConsensusDownloadInitialDelay
,
CSV_INTERVAL
,
"0"
),
/* With the ClientBootstrapConsensus*Download* below:
* Clients with only authorities will try:
* - at least 3 authorities over 10 seconds, then exponentially backoff,
...
...
@@ -639,13 +633,11 @@ static config_var_t option_vars_[] = {
*
* When clients have authorities and fallbacks available, they use these
* schedules: (we stagger the times to avoid thundering herds) */
V
(
ClientBootstrapConsensusAuthorityDownloadInitialDelay
,
CSV_INTERVAL
,
"6, 11, 3600, 10800, 25200, 54000, 111600, 262800"
/* 3 days + 1 hour */
),
V
(
ClientBootstrapConsensusFallbackDownloadInitialDelay
,
CSV_INTERVAL
,
"0, 1, 4, 11, 3600, 10800, 25200, 54000, 111600, 262800"
),
V
(
ClientBootstrapConsensusAuthorityDownloadInitialDelay
,
CSV_INTERVAL
,
"6"
),
V
(
ClientBootstrapConsensusFallbackDownloadInitialDelay
,
CSV_INTERVAL
,
"0"
),
/* When clients only have authorities available, they use this schedule: */
V
(
ClientBootstrapConsensusAuthorityOnlyDownloadInitialDelay
,
CSV_INTERVAL
,
"0
, 3, 7, 3600, 10800, 25200, 54000, 111600, 262800
"
),
"0"
),
/* We don't want to overwhelm slow networks (or mirrors whose replies are
* blocked), but we also don't want to fail if only some mirrors are
* blackholed. Clients will try 3 directories simultaneously.
...
...
@@ -653,14 +645,12 @@ static config_var_t option_vars_[] = {
V
(
ClientBootstrapConsensusMaxInProgressTries
,
UINT
,
"3"
),
/* When a client has any running bridges, check each bridge occasionally,
* whether or not that bridge is actually up. */
V
(
TestingBridgeDownloadInitialDelay
,
CSV_INTERVAL
,
"10800, 25200, 54000, 111600, 262800"
),
V
(
TestingBridgeDownloadInitialDelay
,
CSV_INTERVAL
,
"10800"
),
/* When a client is just starting, or has no running bridges, check each
* bridge a few times quickly, and then try again later. These schedules
* are much longer than the other schedules, because we try each and every
* configured bridge with this schedule. */
V
(
TestingBridgeBootstrapDownloadInitialDelay
,
CSV_INTERVAL
,
"0, 30, 90, 600, 3600, 10800, 25200, 54000, 111600, 262800"
),
V
(
TestingBridgeBootstrapDownloadInitialDelay
,
CSV_INTERVAL
,
"0"
),
V
(
TestingClientMaxIntervalWithoutRequest
,
INTERVAL
,
"10 minutes"
),
V
(
TestingDirConnectionMaxStall
,
INTERVAL
,
"5 minutes"
),
OBSOLETE
(
"TestingConsensusMaxDownloadTries"
),
...
...
@@ -687,12 +677,10 @@ static const config_var_t testing_tor_network_defaults[] = {
V
(
EnforceDistinctSubnets
,
BOOL
,
"0"
),
V
(
AssumeReachable
,
BOOL
,
"1"
),
V
(
AuthDirMaxServersPerAddr
,
UINT
,
"0"
),
V
(
ClientBootstrapConsensusAuthorityDownloadInitialDelay
,
CSV_INTERVAL
,
"0, 2, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 8, 16, 32, 60"
),
V
(
ClientBootstrapConsensusFallbackDownloadInitialDelay
,
CSV_INTERVAL
,
"0, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 8, 16, 32, 60"
),
V
(
ClientBootstrapConsensusAuthorityDownloadInitialDelay
,
CSV_INTERVAL
,
"0"
),
V
(
ClientBootstrapConsensusFallbackDownloadInitialDelay
,
CSV_INTERVAL
,
"0"
),
V
(
ClientBootstrapConsensusAuthorityOnlyDownloadInitialDelay
,
CSV_INTERVAL
,
"0
, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 8, 16, 32, 60
"
),
"0"
),
V
(
ClientDNSRejectInternalAddresses
,
BOOL
,
"0"
),
V
(
ClientRejectInternalAddresses
,
BOOL
,
"0"
),
V
(
CountPrivateBandwidth
,
BOOL
,
"1"
),
...
...
@@ -707,17 +695,12 @@ static const config_var_t testing_tor_network_defaults[] = {
V
(
TestingAuthDirTimeToLearnReachability
,
INTERVAL
,
"0 minutes"
),
V
(
TestingEstimatedDescriptorPropagationTime
,
INTERVAL
,
"0 minutes"
),
V
(
MinUptimeHidServDirectoryV2
,
INTERVAL
,
"0 minutes"
),
V
(
TestingServerDownloadInitialDelay
,
CSV_INTERVAL
,
"0, 0, 0, 5, 10, 15, "
"20, 30, 60"
),
V
(
TestingClientDownloadInitialDelay
,
CSV_INTERVAL
,
"0, 0, 5, 10, 15, 20, "
"30, 60"
),
V
(
TestingServerConsensusDownloadInitialDelay
,
CSV_INTERVAL
,
"0, 0, 5, 10, "
"15, 20, 30, 60"
),
V
(
TestingClientConsensusDownloadInitialDelay
,
CSV_INTERVAL
,
"0, 0, 5, 10, "
"15, 20, 30, 60"
),
V
(
TestingBridgeDownloadInitialDelay
,
CSV_INTERVAL
,
"10, 30, 60"
),
V
(
TestingBridgeBootstrapDownloadInitialDelay
,
CSV_INTERVAL
,
"0, 0, 5, 10, "
"15, 20, 30, 60"
),
V
(
TestingServerDownloadInitialDelay
,
CSV_INTERVAL
,
"0"
),
V
(
TestingClientDownloadInitialDelay
,
CSV_INTERVAL
,
"0"
),
V
(
TestingServerConsensusDownloadInitialDelay
,
CSV_INTERVAL
,
"0"
),
V
(
TestingClientConsensusDownloadInitialDelay
,
CSV_INTERVAL
,
"0"
),
V
(
TestingBridgeDownloadInitialDelay
,
CSV_INTERVAL
,
"10"
),
V
(
TestingBridgeBootstrapDownloadInitialDelay
,
CSV_INTERVAL
,
"0"
),
V
(
TestingClientMaxIntervalWithoutRequest
,
INTERVAL
,
"5 seconds"
),
V
(
TestingDirConnectionMaxStall
,
INTERVAL
,
"30 seconds"
),
V
(
TestingEnableConnBwEvent
,
BOOL
,
"1"
),
...
...
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