]> git.ipfire.org Git - thirdparty/tor.git/commit
Issues with router_get_by_nickname()
authorRobert Hogan <robert@roberthogan.net>
Sun, 17 Oct 2010 11:27:57 +0000 (12:27 +0100)
committerRobert Hogan <robert@roberthogan.net>
Sun, 17 Oct 2010 11:27:57 +0000 (12:27 +0100)
commit0acd5e6208bfeec2fbbef3941bbe4cd694cd61f8
treed486779674f08ccd6f581624aa1c7ce90a0e4fe8
parent2d8f7a8391014a07fc7d45f169cf2f719d819d61
Issues with router_get_by_nickname()

https://trac.torproject.org/projects/tor/ticket/1859

Use router_get_by_digest() instead of router_get_by_hexdigest()
in circuit_discard_optional_exit_enclaves() and
rend_client_get_random_intro(), per Nick's comments.

Using router_get_by_digest() in rend_client_get_random_intro() will
break hidden services published by Tor versions pre 0.1.2.18 and
0.2.07-alpha as they only publish by nickname. This is acceptable
however as these versions only publish to authority tor26 and
don't work for versions in the 0.2.2.x series anyway.
src/or/connection_edge.c
src/or/rendclient.c