[tor-bugs] #4761 [Tor Hidden Services]: HSes could join a client's rend circ before the INTRODUCE_ACK arrives

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Fri Dec 23 05:53:38 UTC 2011


#4761: HSes could join a client's rend circ before the INTRODUCE_ACK arrives
------------------------------------+---------------------------------------
    Reporter:  rransom              |       Owner:  rransom           
        Type:  defect               |      Status:  closed            
    Priority:  normal               |   Milestone:  Tor: 0.2.2.x-final
   Component:  Tor Hidden Services  |     Version:                    
  Resolution:  invalid              |    Keywords:                    
      Parent:                       |      Points:                    
Actualpoints:                       |  
------------------------------------+---------------------------------------
Changes (by rransom):

  * status:  new => closed
  * resolution:  => invalid


Comment:

 Some further context shows that this code is already correct:
 {{{
   if ((circ->_base.purpose != CIRCUIT_PURPOSE_C_REND_READY &&
        circ->_base.purpose != CIRCUIT_PURPOSE_C_REND_READY_INTRO_ACKED)
       || !circ->build_state->pending_final_cpath) {
     log_warn(LD_PROTOCOL,"Got rendezvous2 cell from hidden service, but
 not "
              "expecting it. Closing.");
     circuit_mark_for_close(TO_CIRCUIT(circ), END_CIRC_REASON_TORPROTOCOL);
     return -1;
   }
 }}}

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


More information about the tor-bugs mailing list