[tor-bugs] #22145 [Core Tor/Tor]: Document which interface is used for DNS requests in the context of OutboundBindAddressOR/Exit

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu May 4 01:49:09 UTC 2017


#22145: Document which interface is used for DNS requests in the context of
OutboundBindAddressOR/Exit
--------------------------+------------------------------
 Reporter:  cypherpunks   |          Owner:
     Type:  defect        |         Status:  new
 Priority:  Medium        |      Milestone:
Component:  Core Tor/Tor  |        Version:  Tor: 0.3.0.6
 Severity:  Normal        |     Resolution:
 Keywords:  easy doc      |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------------
Changes (by teor):

 * keywords:   => easy doc


Comment:

 The answer is:
 * OutboundBindAddressOR is used for OR and directory (DirPort)
 connections:
   * directory_initiate_request()
   * connection_or_connect()
 * OutboundBindAddressExit is used for Exit connections:
   * connection_exit_connect()
 * an unspecified address (typically, the OS routing table) is used for all
 other connections:
   * evdns_base_resolve_*()
   * is there anything else?

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


More information about the tor-bugs mailing list