torify does not look in /etc/hosts for known hosts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tor (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
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@
[user]@aisha's password:
what happens with torify:
themusicgod1@
1493904752 ERROR torsocks[24334]: Unable to resolve. Status reply: 4 (in socks5_
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
ProcVersionSign
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=
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)
Same issue, for torsocks as well. As a workaround I specify IP with 'HostName' in ~/.ssh/config.