Lintchanges some more.

This commit is contained in:
Nick Mathewson
2014-12-30 09:39:12 -05:00
parent 5b770ac7b7
commit b32e10253c
10 changed files with 21 additions and 58 deletions
@@ -1,4 +1,4 @@
o Minor bugfixes:
o Minor bugfixes (Testing networks):
- Add "internal" to some bootstrap statuses when no exits are available.
If the consensus does not contain Exits, Tor will only build internal
circuits. In this case, relevant statuses will contain the word
@@ -6,4 +6,4 @@
completes, Tor will be ready to handle an application requesting an
internal circuit to hidden services at ".onion" addresses.
If a future consensus contains Exits, exit circuits may become available.
Consequential change from #13718.
Fixes part of bug 13718; bugfix on 0.2.4.10-alpha. Patch by "teor".
+2 -2
View File
@@ -1,8 +1,8 @@
o Minor bugfixes:
o Minor bugfixes (Test networks):
- Avoid excluding guards from path building in minimal test networks,
when we're in a test network, and excluding guards would exclude
all nodes. This typically occurs in incredibly small tor networks,
and those using TestingAuthVoteGuard *
This fix only applies to minimal, testing tor networks,
so it's no less secure.
Discovered as part of #13718.
Fixes part of bug 13718; bugfix on 0.1.1.11-alpha. Patch by "teor".
-6
View File
@@ -1,6 +0,0 @@
o Minor enhancement:
- Check if there are exits in the consensus.
Add router_have_consensus_path() which reports whether
the consensus has exit paths, internal paths, or whether it
just doesn't know.
Used by #13718 and #13814.
@@ -1,8 +0,0 @@
o Minor refactoring:
- Refactor count_usable_descriptors to use named enums for exit_only.
count_usable_descriptors now uses named exit_only values:
* USABLE_DESCRIPTOR_ALL
* USABLE_DESCRIPTOR_EXIT_ONLY
- Add debug logging code for descriptor counts.
This resolves nickm's request in bug 13718 to improve argument
readability.
+7 -24
View File
@@ -1,25 +1,8 @@
o Minor bugfixes:
- Avoid building exit circuits from a consensus with no exits
Tor can now build circuits from a consensus with no exits.
But if it tries to build exit circuits, they fail and flood the logs.
The circuit types in the Exit Circuits list below will only be
built if the current consensus has exits. If it doesn't,
only the Internal Circuits will be built. (This can change
with each new consensus.)
Fixes bug #13814, causes fewer path failures due to #13817.
o Minor features (Testing networks):
- Avoid building exit circuits from a consensus with no exits.
Now thanks to our fix for 13718,
we accept a no-exit network as not wholly lost, but
we need to remember not to try to build exit circuits on it.
Closes ticket 13814;
patch by "teor".
Exit Circuits:
Predicted Exit Circuits
User Traffic Circuits
Most AP Streams
Circuits Marked Exit
Build Timeout Circuits (with exits)
Internal Circuits:
Hidden Service Server Circuits
Hidden Service Client Circuits
Hidden Service AP Streams
Hidden Service Intro Point Streams
Circuits Marked Internal
Build Timeout Circuits (with no exits)
Other Circuits?
+4 -10
View File
@@ -1,15 +1,9 @@
o Minor bugfixes:
- Allow tor to build circuits using a consensus with
o Minor bugfixes (Testing networks):
- Allow Tor to build circuits using a consensus with
no exits. If the consensus has no exits (typical of
a bootstrapping test network), allow tor to build
a bootstrapping test network), allow Tor to build
circuits once enough descriptors have been
downloaded.
When there are no exits, we always have "enough"
exit descriptors. (We treat the proportion of
available exit descriptors as 100%.)
This assists in bootstrapping a testing Tor
network.
Fixes bug 13718.
Makes bug 13161's TestingDirAuthVoteExit
non-essential.
(But still useful for speeding up a bootstrap.)
Fixes bug 13718; bugfix on 0.2.4.10-alpha. Patch by "teor".
+1 -1
View File
@@ -6,4 +6,4 @@
This assists in quickly bootstrapping a testing
Tor network.
Fixes bugs 13718 and 13823; bugfix on 0.2.0.3-alpha.
Patch by "teor".
@@ -3,6 +3,5 @@
TestingTorNetwork. Instead, when TestingMinExitFlagThreshold is 0,
ignore exit bandwidthcapacity.
This assists in bootstrapping a testing Tor network.
Fixes bugs parts of bugs 13718 and 13839;
Makes bug 13161's TestingDirAuthVoteExit non-essential.
Bugfix on 0.2.0.3-alpha.
Fixes parts of bugs 13718 and 13839;
bugfix on 0.2.0.3-alpha. Patch by "teor".
+2 -2
View File
@@ -1,7 +1,7 @@
o Minor bugfixes:
o Minor bugfixes (Testing networks)
- Stop assuming that private addresses are local when checking
reachability in a TestingTorNetwork. Instead, when testing, assume
all OR connections are remote. (This is necessary due to many test
scenarios running all nodes on localhost.)
This assists in bootstrapping a testing Tor network.
Fixes bugs 13718 & 13924.
Fixes bug 13924; bugfix on 0.1.0.1-rc. Patch by "teor".
@@ -5,3 +5,4 @@
interval is very short.
This assists in bootstrapping a testing Tor network.
Fixes parts of bugs 13718 and 13963; bugfix on 0.2.0.3-alpha.
Patch by "teor".