]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Don't reduce the weight of exits selected as fallback directories
authorteor (Tim Wilson-Brown) <teor2345@gmail.com>
Tue, 12 Jan 2016 02:56:45 +0000 (13:56 +1100)
committerteor (Tim Wilson-Brown) <teor2345@gmail.com>
Tue, 12 Jan 2016 02:56:45 +0000 (13:56 +1100)
When selecting exits as fallback directories, don't reduce
their weights.

Closes ticket #17888.

changes/bug17888 [new file with mode: 0644]
scripts/maint/updateFallbackDirs.py

diff --git a/changes/bug17888 b/changes/bug17888
new file mode 100644 (file)
index 0000000..04e40b1
--- /dev/null
@@ -0,0 +1,6 @@
+  o Minor fixes (fallback directories):
+    - When selecting exits as fallback directories, don't reduce
+      their weights. (Several operators report having exits with
+      spare capacity.) 
+      Closes ticket #17888. Patch by "teor". Not in any released
+      version of tor.
index 8fe234f20619d07c66fe91dd8a887658cddbc61a..53676c08fa83b2f0e391b11d34a44a02fdd72e70 100755 (executable)
@@ -98,7 +98,7 @@ MIN_FALLBACK_COUNT = 100
 ## Fallback Weight Settings
 
 # Any fallback with the Exit flag has its weight multipled by this fraction
-EXIT_WEIGHT_FRACTION = 0.2
+EXIT_WEIGHT_FRACTION = 1.0
 
 # If True, emit a C #error if we can't satisfy various constraints
 # If False, emit a C comment instead