diff --git a/src/torcontrol.cpp b/src/torcontrol.cpp index 2b1df4f1384..0e42b6e9235 100644 --- a/src/torcontrol.cpp +++ b/src/torcontrol.cpp @@ -404,9 +404,9 @@ void TorController::get_socks_cb(TorControlConnection& _conn, const TorControlRe Assume(resolved.IsValid()); LogDebug(BCLog::TOR, "Configuring onion proxy for %s\n", resolved.ToStringAddrPort()); - // With m_randomize_credentials = true, generates unique SOCKS credentials per proxy connection (e.g., Tor). - // Prevents connection correlation and enhances privacy by forcing different Tor circuits. - // Requires Tor's IsolateSOCKSAuth (default enabled) for effective isolation (see IsolateSOCKSAuth section in https://2019.www.torproject.org/docs/tor-manual.html.en). + // Add Tor as proxy for .onion addresses. + // Enable stream isolation to prevent connection correlation and enhance privacy, by forcing a different Tor circuit for every connection. + // For this to work, the IsolateSOCKSAuth flag must be enabled on SOCKSPort (which is the default, see the IsolateSOCKSAuth section of Tor's manual page). Proxy addrOnion = Proxy(resolved, /*tor_stream_isolation=*/ true); SetProxy(NET_ONION, addrOnion);