Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Tor Tor
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 313
    • Issues 313
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 34
    • Merge requests 34
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • The Tor Project
  • Core
  • TorTor
  • Issues
  • #826
Closed
Open
Created Sep 27, 2008 by Trac@tracbot

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

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking