Package: tor Version: 0.2.5.10-1 Severity: normal $ tor-resolve zp7zwyd5t3aju57m.onion Jan 28 17:38:42.055 [warn] Got SOCKS5 status response '4': host is unreachable Jan 28 17:38:42.055 [warn] zp7zwyd5t3aju57m.onion is a hidden service; those don't have IP addresses. To connect to a hidden service, you need to send the hostname to Tor; we suggest an application that uses SOCKS 4a.
The above output is informative, but not particularly useful for the case of scripts. https://www.howtoforge.com/anonymous-ssh-sessions-with-tor The above web site gives an example of how to use tor which btraks when used with .onion addresses. One way to solve this would be for tor-resolve to give "zp7zwyd5t3aju57m.onion" on stdout and the warning message on stderr, that would inform users but work in the desired manner with scripts. A small change to tor-resolve will make it work better with existing documented practice and make it work with future use for .onion addresses in cases where admins only care about non-onion addresses now. -- System Information: Debian Release: 8.0 APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Init: systemd (via /run/systemd/system) Versions of packages tor depends on: ii adduser 3.113+nmu3 ii libc6 2.19-13 ii libevent-2.0-5 2.0.21-stable-2 ii libseccomp2 2.1.1-1 ii libssl1.0.0 1.0.1k-1 ii lsb-base 4.1+Debian13+nmu1 ii zlib1g 1:1.2.8.dfsg-2+b1 Versions of packages tor recommends: ii logrotate 3.8.7-1+b1 pn tor-geoipdb <none> pn torsocks <none> Versions of packages tor suggests: pn apparmor-utils <none> pn mixmaster <none> pn obfsproxy <none> pn polipo | privoxy <none> pn socat <none> pn tor-arm <none> pn xul-ext-torbutton <none> -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org