Opened 12 months ago

Last modified 11 months ago

#27736 assigned defect

Make sure that Tor doesn't build an IPv4 and an IPv6 connection to the same relay

Reported by: teor Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Normal Keywords: tor-client ipv6
Cc: neel@… Actual Points:
Parent ID: #17835 Points:
Reviewer: Sponsor:


When we implement #17835, Tor will choose between IPv4 and IPv6 at random.

I'm pretty sure that we prefer existing connections to the same relay, even if the chosen address doesn't match.

But I need to read the client code to make sure this check is done on clients and relays. And I need to run the new code to make sure we're not doubling the number of connections that Tor clients make.

Child Tickets

Change History (1)

comment:1 Changed 11 months ago by teor

Owner: teor deleted

We should write tests to make sure that we don't make multiple connections to the same relay.

Note: See TracTickets for help on using tickets.