[tor-bugs] #20353 [Core Tor/Tor]: evutil_ersatz_socketpair: use AF_INET6 if AF_INET bind fails

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Oct 13 13:47:18 UTC 2016


#20353: evutil_ersatz_socketpair: use AF_INET6 if AF_INET bind fails
------------------------------+------------------------------
     Reporter:  nickm         |      Owner:
         Type:  defect        |     Status:  new
     Priority:  Very Low      |  Milestone:  Tor: unspecified
    Component:  Core Tor/Tor  |    Version:
     Severity:  Trivial       |   Keywords:
Actual Points:                |  Parent ID:
       Points:  .5            |   Reviewer:
      Sponsor:                |
------------------------------+------------------------------
 Apparently there are systems where you can bind to ::1, but you can't bind
 to 127.0.0.1.  On these systems, evutil_ersatz_socketpair doesn't work
 right -- it only falls back to IPv6 when it fails to create an AF_INET
 socket.

 I'm calling this a very low priority bug, since evutil_ersatz_socketpair
 is only used on Windows, and (as far as I know) binding 127.0.0.1 should
 always work on Windows.

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


More information about the tor-bugs mailing list