Opened 2 years ago

Last modified 8 months ago

#27736 new 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 (2)

comment:1 Changed 2 years ago by teor

Owner: teor deleted

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

comment:2 Changed 8 months ago by teor

Status: assignednew

Change tickets that are assigned to nobody to "new".

Note: See TracTickets for help on using tickets.