[tor-bugs] #16308 [Torsocks]: Attempts to resolve local hostname using tor
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sun Jun 7 19:19:04 UTC 2015
#16308: Attempts to resolve local hostname using tor
--------------------------+---------------------
Reporter: leeroy | Owner: dgoulet
Type: defect | Status: new
Priority: normal | Milestone:
Component: Torsocks | Version:
Resolution: | Keywords:
Actual Points: | Parent ID:
Points: |
--------------------------+---------------------
Comment (by yawning):
Offhand I think the correct fix is to ensure that apps can't get the
actual hostname/domainname (`localhost.localdomain` is a fine response),
as applications running under torsocks have precisely 0 business in
knowing this information. There's a bunch of things that would need to be
stubbed for this to happen:
* `gethostname(3P)`
* `getdomainname(2)`
* `uname(2)`
* `SYS_gethostname`
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/16308#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list