[tor-bugs] #6304 [Tor Client]: Too-low CircuitBuildTimeout warning is misleading with default timeout

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Tue Jul 10 17:54:18 UTC 2012


#6304: Too-low CircuitBuildTimeout warning is misleading with default timeout
------------------------+---------------------------------------------------
 Reporter:  dcf         |          Owner:                    
     Type:  defect      |         Status:  new               
 Priority:  minor       |      Milestone:  Tor: 0.2.3.x-final
Component:  Tor Client  |        Version:                    
 Keywords:              |         Parent:                    
   Points:              |   Actualpoints:                    
------------------------+---------------------------------------------------

Comment(by dcf):

 Now I'm not so sure that this is only a problem with the warning. I
 reliably fail to connect using flash proxies using this command:

 {{{
 $ tor ClientTransportPlugin "websocket socks4 tor-
 facilitator.bamsoftware.com:9999" UseBridges 1 Bridge "websocket
 0.0.1.0:1" LearnCircuitBuildTimeout 0 SocksPort 9051
 <...>
 Jul 10 10:50:48.000 [notice] Bootstrapped 5%: Connecting to directory
 server.
 Jul 10 10:50:48.000 [notice] Heartbeat: Tor's uptime is 0:00 hours, with 0
 circuits open. I've sent 0 kB and received 0 kB.
 Jul 10 10:50:48.000 [notice] Bootstrapped 10%: Finishing handshake with
 directory server.
 Jul 10 10:50:48.000 [warn] Problem bootstrapping. Stuck at 10%: Finishing
 handshake with directory server. (DONE; DONE; count 1; recommendation
 warn)
 Jul 10 10:50:48.000 [warn] 1 connections have failed:
 Jul 10 10:50:48.000 [warn]  1 connections died in state handshaking (TLS)
 with SSL state unknown state in HANDSHAKE
 }}}

 But adding what should be the default timeout allows me to connect:

 {{{
 $ tor ClientTransportPlugin "websocket socks4 tor-
 facilitator.bamsoftware.com:9999" UseBridges 1 Bridge "websocket
 0.0.1.0:1" LearnCircuitBuildTimeout 0 CircuitBuildTimeout 60 SocksPort
 9051
 <...>
 Jul 10 10:52:42.000 [notice] Tor has successfully opened a circuit. Looks
 like client functionality is working.
 Jul 10 10:52:42.000 [notice] Bootstrapped 100%: Done.
 }}}

 This persists even after totally deleting my {{{~/.tor}}} directory (I
 thought a short timeout might be cached there). You should be able to run
 these flash proxy commands without installing any flash proxy software.

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


More information about the tor-bugs mailing list