[tor-bugs] #17948 [Tor]: HiddenServicePort should connect to localhost by default

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Jan 29 11:17:29 UTC 2016


#17948: HiddenServicePort should connect to localhost by default
-------------------------+------------------------------------
 Reporter:  teor         |          Owner:  teor
     Type:  enhancement  |         Status:  closed
 Priority:  Low          |      Milestone:  Tor: 0.2.9.x-final
Component:  Tor          |        Version:
 Severity:  Normal       |     Resolution:  wontfix
 Keywords:  ipv6, easy   |  Actual Points:
Parent ID:               |         Points:
  Sponsor:               |
-------------------------+------------------------------------

Comment (by teor):

 Replying to [comment:5 bugzilla]:
 > How can you explicitly supply address if it can be IPv4 or IPv6, or
 both? Hardcoded 127.0.0.1 should be avoided at all (not only for HS).
 https://stackoverflow.com/questions/3715925/localhost-vs-127-0-0-1

 `HiddenServicePort VIRTPORT [TARGET]`

 Your options are:

 HiddenServicePort 80 127.0.0.1:80
 HiddenServicePort 80 [::1]:80
 HiddenServicePort 80 unix:/var/app/socket

 127.0.0.1:VIRTPORT is a sensible default.

 Please see the Tor manual page for more details.

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


More information about the tor-bugs mailing list