aboutsummaryrefslogtreecommitdiff
path: root/changes
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-12-30 09:06:47 -0500
committerNick Mathewson <nickm@torproject.org>2014-12-30 09:06:47 -0500
commit5b770ac7b7d8c44a28666da53921be3a2dedc94c (patch)
treee1adf1d2ba532a4de20258160ca4d003123a6cee /changes
parentdc1aaa5b969e0fc8c7ce1eab2676588aab44abe2 (diff)
parent2b8e1f91336db7297803f4e7d2f324d6960a676c (diff)
downloadtor-5b770ac7b7d8c44a28666da53921be3a2dedc94c.tar.gz
tor-5b770ac7b7d8c44a28666da53921be3a2dedc94c.zip
Merge branch 'no-exit-bootstrap-squashed'
Diffstat (limited to 'changes')
-rw-r--r--changes/bug13718-add-internal-bootstrap-statuses9
-rw-r--r--changes/bug13718-avoid-excluding-guards8
-rw-r--r--changes/bug13718-check-consensus-exits6
-rw-r--r--changes/bug13718-make-nodelist-args-readable8
-rw-r--r--changes/bug13814-avoid-exit-paths-no-exits25
-rw-r--r--changes/bug13814-reachability-without-exits15
-rw-r--r--changes/bug13924-fix-testing-reachability7
7 files changed, 78 insertions, 0 deletions
diff --git a/changes/bug13718-add-internal-bootstrap-statuses b/changes/bug13718-add-internal-bootstrap-statuses
new file mode 100644
index 0000000000..d3e9a7709c
--- /dev/null
+++ b/changes/bug13718-add-internal-bootstrap-statuses
@@ -0,0 +1,9 @@
+ o Minor bugfixes:
+ - 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
+ "internal" as indicated in the Tor control-spec.txt. When bootstrap
+ 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.
diff --git a/changes/bug13718-avoid-excluding-guards b/changes/bug13718-avoid-excluding-guards
new file mode 100644
index 0000000000..bf80d2a7e7
--- /dev/null
+++ b/changes/bug13718-avoid-excluding-guards
@@ -0,0 +1,8 @@
+ o Minor bugfixes:
+ - 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.
diff --git a/changes/bug13718-check-consensus-exits b/changes/bug13718-check-consensus-exits
new file mode 100644
index 0000000000..5ca4b115eb
--- /dev/null
+++ b/changes/bug13718-check-consensus-exits
@@ -0,0 +1,6 @@
+ 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.
diff --git a/changes/bug13718-make-nodelist-args-readable b/changes/bug13718-make-nodelist-args-readable
new file mode 100644
index 0000000000..7377a81d38
--- /dev/null
+++ b/changes/bug13718-make-nodelist-args-readable
@@ -0,0 +1,8 @@
+ 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.
diff --git a/changes/bug13814-avoid-exit-paths-no-exits b/changes/bug13814-avoid-exit-paths-no-exits
new file mode 100644
index 0000000000..8b0446f5f0
--- /dev/null
+++ b/changes/bug13814-avoid-exit-paths-no-exits
@@ -0,0 +1,25 @@
+ 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.
+
+ 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?
diff --git a/changes/bug13814-reachability-without-exits b/changes/bug13814-reachability-without-exits
new file mode 100644
index 0000000000..43a326b847
--- /dev/null
+++ b/changes/bug13814-reachability-without-exits
@@ -0,0 +1,15 @@
+ o Minor bugfixes:
+ - 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
+ 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.)
diff --git a/changes/bug13924-fix-testing-reachability b/changes/bug13924-fix-testing-reachability
new file mode 100644
index 0000000000..914a159007
--- /dev/null
+++ b/changes/bug13924-fix-testing-reachability
@@ -0,0 +1,7 @@
+ o Minor bugfixes:
+ - 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.