[tor-bugs] #18037 [Tor]: Should the user be allowed to specify FQDNs for HS VIRTPORTs?

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jan 12 07:25:55 UTC 2016


#18037: Should the user be allowed to specify FQDNs for HS VIRTPORTs?
-------------------------+--------------------------------
     Reporter:  yawning  |      Owner:
         Type:  defect   |     Status:  new
     Priority:  Low      |  Milestone:  Tor: 0.2.8.x-final
    Component:  Tor      |    Version:  Tor: unspecified
     Severity:  Minor    |   Keywords:  tor-hs dns
Actual Points:           |  Parent ID:
       Points:           |    Sponsor:
-------------------------+--------------------------------
 Spinoff of #18029.

 The current behavior is to accept any of a raw port, IP address + port, or
 FQDN + port.  We also will accept oddball (historic) `inet_aton()` style
 IP addresses (raw hex) depending on if the system implements
 `getaddrinfo()` correctly or not.

 I'm inclined to leave this as is, and if users care that the HS will hit
 up the system resolver at initialization time, it should be obvious that
 they need to specify the target by IP.  That said, documentation
 clarification that an FQDN is acceptable would be ideal.

 Since both torrc and ADD_ONION style HSes call into common code, changing
 the behavior to never hit up the resolver is trivial as well.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/18037>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list