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

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Mar 14 19:07:26 UTC 2016


#18548: Tor calling sandbox_getaddrinfo() delays bootstrap when no system DNS is
available
--------------------------+------------------------------
 Reporter:  anonym        |          Owner:
     Type:  defect        |         Status:  new
 Priority:  Medium        |      Milestone:
Component:  Tor           |        Version:  Tor: 0.2.7.6
 Severity:  Normal        |     Resolution:
 Keywords:  AffectsTails  |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------------

Comment (by nickm):

 It looks like the main culprit here is the init_addrinfo() call, which
 tries to resolve our own hostname and cache the result.  I wonder why it
 was necessary to do that.  Does anything break if you remove the body of
 init_addrinfo()?

 DNSPort doesn't have anything to do with the Tor client's use of
 getaddrinfo as far as I know.  Not sure why you're seeing that.

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


More information about the tor-bugs mailing list