Check for named servers when looking them up by nickname;
commit61ea5168859785207062ca22be403bbac32f49e3
authorNick Mathewson <nickm@torproject.org>
Tue, 4 Oct 2005 22:23:31 +0000 (4 22:23 +0000)
committerNick Mathewson <nickm@torproject.org>
Tue, 4 Oct 2005 22:23:31 +0000 (4 22:23 +0000)
tree166d3b8fc6374a5d7c8bb2b5de2d4376dd1d51cc
parent2d203fdcf319b45477bdcad7e3476ac3c45ee7e0
Check for named servers when looking them up by nickname;
warn when we'recalling a non-named server by its nickname;
don't warn twice about the same name.

Fix a bug in routers_update_status_from_networkstatus that made nearly
all clients never update routerinfo_t.is_named.

Try to list MyFamily elements by key, not by nickname.

Only warn about names that we generated ourself, or got from the local
user.

On TLS handshake, only check the other router's nickname against its
expected nickname if is_named is set.

svn:r5185
12 files changed:
doc/TODO
src/or/circuitbuild.c
src/or/circuituse.c
src/or/connection_edge.c
src/or/connection_or.c
src/or/control.c
src/or/dirserv.c
src/or/or.h
src/or/rendclient.c
src/or/rendservice.c
src/or/router.c
src/or/routerlist.c