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

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Jan 29 12:19:05 UTC 2016


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

Comment (by teor):

 Replying to [comment:8 bugzilla]:
 > Plus
 > > somewhere else in 127.0.0.0/8
 > Plus
 > It's a common practice to use addr of current network interface by
 default (on some systems)
 > Can it be automated for all local connections? (in tor-client, etc)

 If the current network interface is not a loopback interface, it's
 security risk, so we want users to configure it explicitly.

 If the current network interface is a loopback interface, then sure. But I
 think we might have trouble finding a portable API for discovering the
 current loopback network interface.
 Do you know of any?

 Also, there's value in cross-platform consistency. Using the same
 algorithm on different platforms would provide this. I suggested localhost
 IPv4, localhost IPv6, 127.0.0.1, and [::1], but we might want to consider
 other 127/8 addresses as well.

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


More information about the tor-bugs mailing list