[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs