[tor-bugs] #21406 [Core Tor/Tor]: The channel is_client flag is inaccurate

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Feb 21 09:13:44 UTC 2017


#21406: The channel is_client flag is inaccurate
--------------------------+------------------------------------
 Reporter:  teor          |          Owner:
     Type:  defect        |         Status:  new
 Priority:  Medium        |      Milestone:  Tor: 0.3.1.x-final
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:                |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------------------

Comment (by teor):

 We could replace this with a check if the remote end:
 * connected to us: `chan->conn->handshake_state->started_here`
 * has neither a RSA or ed25519 identity key:
 `chan->conn->handshake_state->{authenticated_rsa_peer_id,authenticated_ed25519_peer_id}`

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


More information about the tor-bugs mailing list