[tor-bugs] #17901 [Tor]: Tor would bind ControlPort to public ip address if it has no localhost interface
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Feb 3 14:39:16 UTC 2016
#17901: Tor would bind ControlPort to public ip address if it has no localhost
interface
---------------------------------------+-----------------------------------
Reporter: s7r | Owner: teor
Type: defect | Status: needs_information
Priority: High | Milestone: Tor:
Component: Tor | 0.2.8.x-final
Severity: Major | Version: Tor: 0.2.6.10
Keywords: 027-backport 026-backport | Resolution:
Parent ID: | Actual Points:
Sponsor: | Points:
---------------------------------------+-----------------------------------
Comment (by bugzilla):
> This is non-standard OS behaviour / configuration.
Wrong. Loopback interface is not mandatory. There might be no 127.0.0.1
according to standards too. So, all XAMPP-like suites use localhost. Why?
Standards give an answer:
An IPv4 or IPv6 address query for the name localhost must always resolve
to the respective loopback address, which is specified in a separate
standard.
Applications may resolve the name to a loopback address themselves, or
pass it to the local name resolver mechanisms.
Resolve or pass&check are both suited. So, Tor will start resolve
localhost for TBB! (Devs want to see their local services in Tor Browser
too).
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/17901#comment:25>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list