Opened 5 years ago

Closed 5 years ago

#14325 closed defect (fixed)

tor-resolve errata

Reported by: grarpamp Owned by:
Priority: Medium Milestone: Tor: 0.2.6.x-final
Component: Core Tor/Tor Version: Tor:
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


The binary help string does not match the manpage option list, or the actual source code.

Syntax: tor-resolve [-4] [-v] [-x] [-F] [-p port] hostname [sockshost:socksport]

The note below should direct people to use SOCKSv5, not legacy 4a stuff. This message occurs in two places in the source. The '-4' option should also be renamed to '-4a'.

./tor-resolve -v abcdefghijklmnop.onion
[warn] ... To connect to a hidden service ... we suggest an application that uses SOCKS 4a.

Child Tickets

Change History (2)

comment:1 Changed 5 years ago by nickm

Milestone: Tor: 0.2.5.x-finalTor: 0.2.6.x-final

Agreed, except that renaming options is not so cool. I don't like to break things that worked before: it makes more trouble than it solves.

The actual warning is:

Jan 22 10:04:54.750 [warn] abcdefghijklmnop.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.

I'd suggest that instead, it should recommend the use of AutomapHostsOnResolve and/or SOCKS5.

Anybody got time to do a patch for this one?

comment:2 Changed 5 years ago by nickm

Resolution: fixed
Status: newclosed

f75ca04 fixes this.

Note: See TracTickets for help on using tickets.