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

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs