]> git.ipfire.org Git - thirdparty/tor.git/commit
Fix broken directory request to the DirPort
authorDavid Goulet <dgoulet@ev0ke.net>
Thu, 24 Mar 2016 17:57:53 +0000 (13:57 -0400)
committerDavid Goulet <dgoulet@ev0ke.net>
Thu, 24 Mar 2016 17:57:53 +0000 (13:57 -0400)
commitba6509e9e1f9bfd052ea8bdfef104c87ee8ca6b9
tree6e88784e80bb5deff8185a26be2972202e30a6ec
parent424af93ded7e1d9d98733ed17b2b6fee143262b9
Fix broken directory request to the DirPort

Commit e72cbf7a4 introduced a change to directory_initiate_command_rend()
that made tor use the ORPort when making a directory request to the DirPort.
The primary consequence was that a relay couldn't selftest its DirPort thus
failing to work and join the network properly.

The main issue was we were always considering an anonymized connection to be
an OR connection which is not true.

Fixes #18623

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
src/or/directory.c