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

Re: [tor-bugs] #12399 [Tor]: Hash of session info was not as expected



#12399: Hash of session info was not as expected
------------------------+--------------------------------
     Reporter:  ln5     |      Owner:
         Type:  defect  |     Status:  new
     Priority:  normal  |  Milestone:  Tor: 0.2.5.x-final
    Component:  Tor     |    Version:
   Resolution:          |   Keywords:
Actual Points:          |  Parent ID:
       Points:          |
------------------------+--------------------------------

Comment (by arma):

 Comes from
 {{{
 /** Respond to an ESTABLISH_INTRO cell by checking the signed data and
  * setting the circuit's purpose and service pk digest.
  */
 int
 rend_mid_establish_intro()
 }}}

 {{{
   if (tor_memneq(expected_digest, request+2+asn1len, DIGEST_LEN)) {
     log_warn(LD_PROTOCOL, "Hash of session info was not as expected.");
     reason = END_CIRC_REASON_TORPROTOCOL;
 }}}

 Sounds like somebody somewhere in the world is working on implementing
 hidden service client support, and didn't do it right in this case.

 The simple fix is to make this a LOG_PROTOCOL_WARN so it doesn't bother
 normal operators with bugs on the client side.

 Another option though is that there actually is a bug in the mainline Tor
 client.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/12399#comment:2>
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