Fix Reachability self-tests in test 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.
This commit is contained in:
teor
2014-12-20 21:44:16 +11:00
committed by Nick Mathewson
parent c3a4201faa
commit 2b8e1f9133
2 changed files with 11 additions and 2 deletions
@@ -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.