[tor-bugs] #4523 [Tor Relay]: Early communication on control socket can sever connection

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sun Nov 20 23:33:43 UTC 2011


#4523: Early communication on control socket can sever connection
-----------------------+----------------------------------------------------
 Reporter:  atagar     |          Owner:     
     Type:  defect     |         Status:  new
 Priority:  minor      |      Milestone:     
Component:  Tor Relay  |        Version:     
 Keywords:             |         Parent:     
   Points:             |   Actualpoints:     
-----------------------+----------------------------------------------------
 When tor has a control port you can start interacting with the port when
 bootstrapping indicates that it has reached 5%. There are three things you
 can send on this initially established port...

 - PROTOCOLINFO
 - AUTHENTICATE
 - anything else => "Authentication required.\r\n"

 When tor has a ControlSocket, however, you can issue an AUTHENTICATE or
 PROTOCOLINFO but anything else will cause the socket connection to be
 closed (without an "Authentication required." response).

 This only happens while tor is initially bootstrapping. I ran into this
 while writing the stem integ tests and if I introduced a ten second wait
 before trying to use the control socket tor properly gives an
 "Authentication required." response.

 This is with Tor v0.2.1.30.

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


More information about the tor-bugs mailing list