summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-07-01 09:54:08 -0400
committerNick Mathewson <nickm@torproject.org>2016-07-01 09:54:08 -0400
commit903ec20c0b4e3bc5de9fe7925380cbf87c107058 (patch)
treec39bd0b079816f04ce174fe7b58dd00b42d1716a /src
parent64ee7bcd0c8e154269145b626a7cd56b9d6264a1 (diff)
parent744077dd155c347092002d2fa642ebdaca651608 (diff)
downloadtor-903ec20c0b4e3bc5de9fe7925380cbf87c107058.tar.gz
tor-903ec20c0b4e3bc5de9fe7925380cbf87c107058.zip
Merge branch 'maint-0.2.8'
Diffstat (limited to 'src')
-rw-r--r--src/or/routerlist.c18
1 files changed, 8 insertions, 10 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index d8319afe19..bd6fc86463 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -1764,20 +1764,18 @@ router_picked_poor_directory_log(const routerstatus_t *rs)
#endif
/* We couldn't find a node, or the one we have doesn't fit our preferences.
- * This might be a bug. */
+ * Sometimes this is normal, sometimes it can be a reachability issue. */
if (!rs) {
- static int logged_backtrace = 0;
- 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;
- }
+ /* This happens a lot, so it's at debug level */
+ log_debug(LD_DIR, "Wanted to make an outgoing directory connection, but "
+ "we couldn't find a directory that fit our criteria. "
+ "Perhaps we will succeed next time with less strict criteria.");
} else if (!fascist_firewall_allows_rs(rs, FIREWALL_OR_CONNECTION, 1)
&& !fascist_firewall_allows_rs(rs, FIREWALL_DIR_CONNECTION, 1)
) {
- log_info(LD_BUG, "Selected a directory %s with non-preferred OR and Dir "
+ /* This is rare, and might be interesting to users trying to diagnose
+ * connection issues on dual-stack machines. */
+ log_info(LD_DIR, "Selected a directory %s with non-preferred OR and Dir "
"addresses for launching an outgoing connection: "
"IPv4 %s OR %d Dir %d IPv6 %s OR %d Dir %d",
routerstatus_describe(rs),