Opened 5 years ago

Closed 5 years ago

#17951 closed defect (fixed)

Make address family search via UDP socket hack more accurate

Reported by: teor Owned by: rl1987
Priority: Medium Milestone: Tor: 0.2.8.x-final
Component: Core Tor/Tor Version:
Severity: Normal Keywords: easy ipv6
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


The following address family search functions don't always return an IPv6 address:

  • get_interface_address6_via_udp_socket_hack takes an address family as its first argument
    • when get_interface_address6_list is passed AF_UNSPEC, it should be call get_interface_address6_via_udp_socket_hack with AF_INET, and then AF_INET6, and then both addresses should be returned

Child Tickets

Change History (5)

comment:1 Changed 5 years ago by teor

Keywords: ipv6 added
Owner: set to teor
Status: newaccepted

comment:2 Changed 5 years ago by rl1987

Owner: changed from teor to rl1987

comment:4 Changed 5 years ago by teor

Looks great, let's get this merged!

comment:5 Changed 5 years ago by nickm

Resolution: fixed
Status: needs_reviewclosed

Merged this; woot.

Note: See TracTickets for help on using tickets.