From f27694626dbceac03e60700593eaa363169d5d0f Mon Sep 17 00:00:00 2001 From: Zachary Boyd Date: Wed, 6 Apr 2016 16:54:00 -0400 Subject: [PATCH] _ --- config/torrc | 5 ++++- lib/Tor.js | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/config/torrc b/config/torrc index 8969caf..31c953b 100644 --- a/config/torrc +++ b/config/torrc @@ -1,4 +1,7 @@ Log notice stdout SocksPort 0.0.0.0:9050 DataDirectory /data -DNSPort 0.0.0.0:9053 \ No newline at end of file +DNSPort 0.0.0.0:9053 +ExcludeSingleHopRelays 0 +NewCircuitPeriod 10 +EnforceDistinctSubnets 0 \ No newline at end of file diff --git a/lib/Tor.js b/lib/Tor.js index 0a746f7..881ad78 100644 --- a/lib/Tor.js +++ b/lib/Tor.js @@ -81,6 +81,7 @@ const Tor = (function () { }, function (path, $next) { tor.docker.run(TOR_IMAGE, [], null, { ExposedPorts: { '9050/tcp':{}, '9053/udp':{} } }, { Binds: [ path+':/etc/tor/torrc:ro' ] }, function (error, data, container) { + console.log(error) container.remove(); }).on('container', (function (container) { var tor = this;