Commit c6e398f8 authored by Matt Traudt's avatar Matt Traudt
Browse files

[broken] Switch to HTTPTunnelPort from SocksPort

parent 5b17ebda
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -38,8 +38,8 @@ control_location = 9051
#control_location = /var/run/tor/control
# Where to connect to Tor for proxying our measurement connections and
# reachability tests
socks_host = 127.0.0.1
socks_port = 9050
http_proxy_host = 127.0.0.1
http_proxy_port = 3128

[cleanup]
# After this many days, compress data files
+2 −2
Original line number Diff line number Diff line
@@ -184,10 +184,10 @@ def _validate_tor(conf):
        'control_type': {'valid': ['port', 'socket']},
    }
    hosts = {
        'socks_host': {},
        'http_proxy_host': {},
    }
    ports = {
        'socks_port': {},
        'http_proxy_port': {},
    }
    unvalidated_keys = ['control_location']
    all_valid_keys = list(enums.keys()) + list(hosts.keys()) + \