the tor-spec says router->address must be an IP address. so refuse
commit5e76bac1dd1daa0ed400613b7f77aecbaab7faff
authorRoger Dingledine <arma@torproject.org>
Tue, 16 Aug 2005 02:52:27 +0000 (16 02:52 +0000)
committerRoger Dingledine <arma@torproject.org>
Tue, 16 Aug 2005 02:52:27 +0000 (16 02:52 +0000)
tree96886e03f68abf41d13020d14cd1a8838bab762a
parent955a10fee0c195c189c920bd832943a54b90c18d
the tor-spec says router->address must be an IP address. so refuse
it if it's not.
(this also fixes some potential security problems with people providing
hostnames as their address and then preferentially resolving them and
partitioning users.)

svn:r4790
src/or/routerlist.c
src/or/routerparse.c