tor-resolve can't adapt to SocksPort change
OS: Ubuntu 8.04 TOR Version: 0.2.0.31-1~hardy+1
If the listening socks port changes in /etc/tor/torrc and /etc/tor/tor-tsocks.conf, i.e:
$ diff -ruN torrc torrc.bak --- torrc.bak 2008-09-27 09:37:47.000000000 +0800 +++ torrc 2008-09-27 09:39:48.000000000 +0800 @@ -18,1 +18,1 @@ -SocksPort 9050 # what port to open for local application connections +SocksPort 9051 # what port to open for local application connections
$ diff -ruN tor-tsocks.conf.bak tor-tsocks.conf --- tor-tsocks.conf.bak 2008-09-27 09:37:59.000000000 +0800 +++ tor-tsocks.conf 2008-09-27 09:40:53.000000000 +0800 @@ -7,1 +7,1 @@ -server_port = 9050 +server_port = 9051
tor-resolve will not work. Report this error:
$ tor-resolve www.google.com Sep 27 09:46:41.704 [err] Error while connecting to SOCKS host: Connection refused
It seems tor-resolve does not read the configure files in /etc/tor. If I restore configure files to default, everything works OK.
[Automatically added by flyspray2trac: Operating System: Other Linux]
Trac:
Username: solrex