From 8bc211d413055c8b96ddb740278145a671222fa2 Mon Sep 17 00:00:00 2001 From: Benjamin Dweck Date: Thu, 22 Oct 2020 08:51:01 +0200 Subject: [PATCH] Changed default local Tor proxy host from 'localhost' to '127.0.0.1' --- torch_agent/torch_agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torch_agent/torch_agent.py b/torch_agent/torch_agent.py index 02c4c26..81a2d2c 100755 --- a/torch_agent/torch_agent.py +++ b/torch_agent/torch_agent.py @@ -35,7 +35,7 @@ def main(): print("Reading configuration file at '%s'" % (configuration_file_path)) config.read(configuration_file_path) - tor_proxy_host = config['tor'].get('ProxyHost', fallback="localhost") + tor_proxy_host = config['tor'].get('ProxyHost', fallback="127.0.0.1") tor_proxy_port = config['tor'].getint('ProxyPort', fallback=9050) tor_controller_port = config['tor'].getint('ControllerPort', fallback=9051)