[tor-bugs] #32864 [Community/Relays]: Reproduce Arthur's exit failures and then contact or badexit the relays

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jan 21 07:46:31 UTC 2020


#32864: Reproduce Arthur's exit failures and then contact or badexit the relays
-----------------------------------------------+--------------------------
 Reporter:  arma                               |          Owner:  gk
     Type:  enhancement                        |         Status:  assigned
 Priority:  Medium                             |      Milestone:
Component:  Community/Relays                   |        Version:
 Severity:  Normal                             |     Resolution:
 Keywords:  network-health, GeorgKoppen202001  |  Actual Points:
Parent ID:                                     |         Points:
 Reviewer:                                     |        Sponsor:
-----------------------------------------------+--------------------------

Comment (by gk):

 Progress. I completed the 10 rounds of exit scanning by patching
 `relay_perf.py`:
 {{{
 async def build_two_hop_circuit(state, guard, exit_node):
 +    circuit = {}
      success = None
      error = ""
      t_start = time.time()
 }}}
 Now I get a TLS error when connecting to Onionoo:
 {{{
   File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line
 1418, in _inlineCallbacks
     result = g.send(result)
   File "/home/gk/exit-dns/tor_dns_survey/relay_perf.py", line 127, in
 _main
     exit_results["_relays"] = relay_data(True)
   File "/home/gk/exit-dns/tor_dns_survey/relay_perf.py", line 28, in
 relay_data
     response = urllib.request.urlopen(req).read()
   File "/usr/lib/python3.7/urllib/request.py", line 222, in urlopen
     return opener.open(url, data, timeout)
   File "/usr/lib/python3.7/urllib/request.py", line 525, in open
     response = self._open(req, data)
   File "/usr/lib/python3.7/urllib/request.py", line 543, in _open
     '_open', req)
   File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
     result = func(*args)
   File "/usr/lib/python3.7/urllib/request.py", line 1360, in https_open
     context=self._context, check_hostname=self._check_hostname)
   File "/usr/lib/python3.7/urllib/request.py", line 1319, in do_open
     raise URLError(err)
 urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED]
 certificate verify failed: unable to get local issuer certificate
 (_ssl.c:1056)>
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/32864#comment:5>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list