diff options
author | teor (Tim Wilson-Brown) <teor2345@gmail.com> | 2016-03-24 20:59:49 +1100 |
---|---|---|
committer | teor (Tim Wilson-Brown) <teor2345@gmail.com> | 2016-03-24 20:59:49 +1100 |
commit | 355f78364a7d1fa3c2de0a93e68153ae65526e02 (patch) | |
tree | 727e3dd3227bf83c48eb0569dbfcb82bac927c8a /src/or/routerlist.c | |
parent | f2a344e3974eeba860434884bd70f8d11cca94ea (diff) | |
download | tor-355f78364a7d1fa3c2de0a93e68153ae65526e02.tar.gz tor-355f78364a7d1fa3c2de0a93e68153ae65526e02.zip |
Clarify ReachableAddress log messages
Make it clearer that they are about outgoing connection attempts.
Specify the options involved where they were missing from one log
message.
Clarify a comment.
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r-- | src/or/routerlist.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c index f065c3c202..10246230f3 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -1561,8 +1561,9 @@ router_picked_poor_directory_log(const routerstatus_t *rs) * This might be a bug. */ if (!rs) { static int logged_backtrace = 0; - log_info(LD_BUG, "Firewall denied all OR and Dir addresses for all relays " - "when searching for a directory."); + log_info(LD_BUG, "Wanted to make an outgoing directory connection, but " + "all OR and Dir addresses for all relays were not reachable. " + "Check ReachableAddresses, ClientUseIPv4, and similar options."); if (!logged_backtrace) { log_backtrace(LOG_INFO, LD_BUG, "Node search initiated by"); logged_backtrace = 1; @@ -1571,7 +1572,7 @@ router_picked_poor_directory_log(const routerstatus_t *rs) && !fascist_firewall_allows_rs(rs, FIREWALL_DIR_CONNECTION, 1) ) { log_info(LD_BUG, "Selected a directory %s with non-preferred OR and Dir " - "addresses for launching a connection: " + "addresses for launching an outgoing connection: " "IPv4 %s OR %d Dir %d IPv6 %s OR %d Dir %d", routerstatus_describe(rs), fmt_addr32(rs->addr), rs->or_port, |