[tor-bugs] #18548 [Tor]: Tor calling sandbox_getaddrinfo() delays bootstrap when no system DNS is available

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Mar 15 15:35:40 UTC 2016


#18548: Tor calling sandbox_getaddrinfo() delays bootstrap when no system DNS is
available
---------------------------------------+-----------------------------------
 Reporter:  anonym                     |          Owner:
     Type:  defect                     |         Status:  needs_review
 Priority:  Medium                     |      Milestone:  Tor:
Component:  Tor                        |  0.2.8.x-final
 Severity:  Normal                     |        Version:  Tor: 0.2.7.6
 Keywords:  AffectsTails 027-backport  |     Resolution:
Parent ID:                             |  Actual Points:
 Reviewer:                             |         Points:
                                       |        Sponsor:
---------------------------------------+-----------------------------------
Changes (by nickm):

 * status:  new => needs_review
 * keywords:  AffectsTails => AffectsTails 027-backport


Comment:

 > Not sure about non-client operation, though.

 Hm. From what I can tell, based on grepping users of gethostname(), this
 is used only in resolve_my_address() in config.c, and that function is
 only called for non-clients.

 We already disallow changes to server_mode() while sandboxing is active,
 so we could probably get away with something like the patch I just kludged
 together in branch `bug18548`.

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


More information about the tor-bugs mailing list