[tor-bugs] #1099 [Tor Client]: Spurious bootstrap warnings if no-route-to-host

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Fri Nov 12 02:23:34 UTC 2010


#1099: Spurious bootstrap warnings if no-route-to-host
--------------------------------+-------------------------------------------
 Reporter:  arma                |         Type:  defect    
   Status:  new                 |     Priority:  minor     
Milestone:  Tor: 0.2.3.x-final  |    Component:  Tor Client
  Version:  0.2.1.19            |   Resolution:  None      
 Keywords:                      |       Parent:            
--------------------------------+-------------------------------------------
Changes (by nickm):

  * milestone:  => Tor: 0.2.3.x-final


Old description:

> Sep 19 22:42:11.251 [warn] Problem bootstrapping. Stuck at 85%: Finishing
> handshake with first hop. (No route to host; NOROUTE; count 1;
> recommendation warn)
>
> $ telnet 89.54.142.227 443
> Trying 89.54.142.227...
> telnet: Unable to connect to remote host: No route to host
>
> This isn't a problem with my network, it's a problem with that host.
>
> And it looks like Tor can't tell the difference:
> $ grep END_OR_CONN_REASON_NO_ROUTE *.h
> or.h:#define END_OR_CONN_REASON_NO_ROUTE       6 /* no route to host/net
> */
>
> We should teach it the difference.
>
> Step one is to do this in errno_to_orconn_end_reason(), which I think
> will
> solve the particular issue here.
>
> Step two would be to solve it in tls_error_to_orconn_end_reason(), but I
> bet that might be trickier.
>
> [Automatically added by flyspray2trac: Operating System: All]

New description:

 Sep 19 22:42:11.251 [warn] Problem bootstrapping. Stuck at 85%: Finishing
 handshake with first hop. (No route to host; NOROUTE; count 1;
 recommendation warn)

 $ telnet 89.54.142.227 443
 Trying 89.54.142.227...
 telnet: Unable to connect to remote host: No route to host

 This isn't a problem with my network, it's a problem with that host.

 And it looks like Tor can't tell the difference:
 $ grep END_OR_CONN_REASON_NO_ROUTE *.h
 or.h:#define END_OR_CONN_REASON_NO_ROUTE       6 /* no route to host/net
 */

 We should teach it the difference.

 Step one is to do this in errno_to_orconn_end_reason(), which I think will
 solve the particular issue here.

 Step two would be to solve it in tls_error_to_orconn_end_reason(), but I
 bet that might be trickier.

 [Automatically added by flyspray2trac: Operating System: All]

--

Comment:

 shadowsjack's stuff isn't related to this problem; it's an ssl handshake
 thing.  Does it still occur for you in a recent version?  We did some more
 fixes since January.  If not, please open a new ticket.

 arma: marking this for 0.2.3.x.

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


More information about the tor-bugs mailing list