[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #11069 [Tor]: Tor with unreachable PTs should not hang the bootstrap process



#11069: Tor with unreachable PTs should not hang the bootstrap process
------------------------+--------------------------------
     Reporter:  asn     |      Owner:
         Type:  defect  |     Status:  new
     Priority:  normal  |  Milestone:  Tor: 0.2.5.x-final
    Component:  Tor     |    Version:
   Resolution:          |   Keywords:  tor-pt tor-client
Actual Points:          |  Parent ID:
       Points:          |
------------------------+--------------------------------

Comment (by asn):

 Hm, maybe
 {{{
 650 STATUS_CLIENT WARN BOOTSTRAP PROGRESS=5 TAG=conn_dir
 SUMMARY="Connecting to directory server" WARNING="Connection refused"
 REASON=CONNECTREFUSED COUNT=1 RECOMMENDATION=ignore
 }}}
 is the relevant bootstrap status message that we are missing? Is the
 problem that it's `RECOMMENDATION=ignore`?

 Looking at `control_event_bootstrap_problem()` there seems to be a block
 of code:
 {{{
   if (get_options()->UseBridges &&
       !any_bridge_descriptors_known() &&
       !any_pending_bridge_descriptor_fetches())
     recommendation = "warn";
 }}}
 which seems to be relevant to our interests. I did a few tests and it
 seems that `any_pending_bridge_descriptor_fetches()` always returns true,
 so the `recommendation` is never set to `warn`.

 Could it be that we always have a bridge descriptor fetching connection
 open? Or that we call `control_event_bootstrap_problem()` before closing
 that connection? Or something like that?

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/11069#comment:6>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs