[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #16308 [Torsocks]: Attempts to resolve local hostname using tor
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs