[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/release-0.3.0] Initialize the HS cache at startup



commit 3b8888c544f3186f12295bc436cbbec1a99cbf02
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Mon May 15 13:49:29 2017 -0400

    Initialize the HS cache at startup
    
    Failure to do this caused an assertion failure with #22246 . This
    assertion failure can be triggered remotely, so we're tracking it as
    medium-severity TROVE-2017-002.
---
 changes/bug22246 | 6 ++++++
 src/or/main.c    | 1 +
 2 files changed, 7 insertions(+)

diff --git a/changes/bug22246 b/changes/bug22246
new file mode 100644
index 0000000..dbdf31a
--- /dev/null
+++ b/changes/bug22246
@@ -0,0 +1,6 @@
+  o Major bugfixes (hidden service directory, security):
+    - Fix an assertion failure in the hidden service directory code, which
+      could be used by an attacker to remotely cause a Tor relay process to
+      exit. Relays running earlier versions of Tor 0.3.0.x should upgrade.
+      This security issue is tracked as tracked as
+      TROVE-2017-002. Fixes bug 22246; bugfix on 0.3.0.1-alpha.
diff --git a/src/or/main.c b/src/or/main.c
index 5549f97..bc7b3db 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -2926,6 +2926,7 @@ tor_init(int argc, char *argv[])
   rep_hist_init();
   /* Initialize the service cache. */
   rend_cache_init();
+  hs_cache_init();
   addressmap_init(); /* Init the client dns cache. Do it always, since it's
                       * cheap. */
 



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits