Changed default local Tor proxy host from 'localhost' to '127.0.0.1'

This commit is contained in:
B.J. Dweck 2020-10-22 08:51:01 +02:00
parent 67758f6eb3
commit 8bc211d413

View File

@ -35,7 +35,7 @@ def main():
print("Reading configuration file at '%s'" % (configuration_file_path)) print("Reading configuration file at '%s'" % (configuration_file_path))
config.read(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_proxy_port = config['tor'].getint('ProxyPort', fallback=9050)
tor_controller_port = config['tor'].getint('ControllerPort', fallback=9051) tor_controller_port = config['tor'].getint('ControllerPort', fallback=9051)