[tor-bugs] #18800 [Tor Browser]: Remove localhost DNS lookup in nsProfileLock.cpp
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Apr 13 16:10:44 UTC 2016
#18800: Remove localhost DNS lookup in nsProfileLock.cpp
-------------------------------------------------+-------------------------
Reporter: mcs | Owner: mcs
Type: defect | Status:
Priority: Medium | needs_information
Component: Tor Browser | Milestone:
Severity: Normal | Version:
Keywords: ff45-esr, tbb-6.0a5, | Resolution:
TorBrowserTeam201604 | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
-------------------------------------------------+-------------------------
Changes (by mcs):
* cc: mikeperry (added)
* status: new => needs_information
Comment:
Kathy and I are not sure what the best fix is for this issue. A symlink
lock is used on Mac OS and Linux if fnctl-based locking fails. The
symlink is named .parentlock and points to a "signature" string that looks
like: ipaddr:pid, e.g.,
.parentlock -> 192.168.1.99:54301
One approach would be to always use 127.0.0.1 for the IP address. Other
ideas? I guess with modern NFS we will never get here because fcntl() is
supported by the (network) file system? Kathy and I are not 100% sure
about that though.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/18800#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list