]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Warning message when bug 10722 would trigger
authorNick Mathewson <nickm@torproject.org>
Sun, 16 Feb 2014 17:11:07 +0000 (12:11 -0500)
committerNick Mathewson <nickm@torproject.org>
Sun, 16 Feb 2014 17:11:07 +0000 (12:11 -0500)
If somebody's excludenodes settings are keeping their hidden service
connections from working, they should probably get notified about it.

changes/bug10722_msg [new file with mode: 0644]
src/or/rendclient.c

diff --git a/changes/bug10722_msg b/changes/bug10722_msg
new file mode 100644 (file)
index 0000000..fbfa37c
--- /dev/null
@@ -0,0 +1,5 @@
+  o Minor bugfixes:
+    - Log an improved message when excluding hidden service directory
+      nodes prevents a hidden service from working.
+      Improves on our fix for bug #10722, which was a bugfix on
+      0.2.0.10-alpha.
\ No newline at end of file
index 634a98c271d77aca8104a4430a3e6fb51196119b..174511f55b76c81da4dfcf901d4043ed53099e91 100644 (file)
@@ -668,8 +668,9 @@ directory_get_from_hs_dir(const char *desc_id, const rend_data_t *rend_query)
                       "service directories, because we requested them all "
                       "recently without success.");
     if (options->StrictNodes && excluded_some) {
-      log_info(LD_REND, "There are others that we could have tried, but "
-               "they are all excluded, and StrictNodes is set.");
+      log_warn(LD_REND, "Could not pick a hidden service directory for the "
+               "requested hidden service: they are all either down or "
+               "excluded, and StrictNodes is set.");
     }
     return 0;
   }