Public bug reported:

torify does not look in /etc/hosts for known hosts

I have a /etc/hosts file that is usually filled to the brim with servers
that I can log into.

Alas torify does not seem to check this file when you try to connect to
the server names of those hosts.

what should happen, and what does happen without torify:

themusicgod1@eva1:~$ ssh -l [user] aisha
[user]@aisha's password: 

what happens with torify:

themusicgod1@eva1:~$ torify ssh -l [user] aisha
1493904752 ERROR torsocks[24334]: Unable to resolve. Status reply: 4 (in 
socks5_recv_resolve_reply() at socks5.c:683)
ssh: Could not resolve hostname aisha: Non-recoverable failure in name 
resolution

tor:
  Installed: 0.2.9.10-1ubuntu1
  Candidate: 0.2.9.10-1ubuntu1
ubuntu: 17.04 zesty

ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: tor 0.2.9.10-1ubuntu1
ProcVersionSignature: Ubuntu 4.10.0-20.22-generic 4.10.8
Uname: Linux 4.10.0-20-generic x86_64
ApportVersion: 2.20.4-0ubuntu4
Architecture: amd64
CurrentDesktop: Unity:Unity7
Date: Thu May  4 09:28:35 2017
InstallationDate: Installed on 2017-04-18 (15 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
JournalErrors:
 Error: command ['journalctl', '-b', '--priority=warning', '--lines=1000'] 
failed with exit code 1: Hint: You are currently not seeing messages from other 
users and the system.
       Users in the 'systemd-journal' group can see all messages. Pass -q to
       turn off this notice.
 No journal files were opened due to insufficient permissions.
SourcePackage: tor
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: tor (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug zesty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1688262

Title:
  torify does not look in /etc/hosts for known hosts

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tor/+bug/1688262/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to