Opened 7 months ago

Last modified 5 months ago

#33681 assigned task

Refactor using_default_dir_authorities() local address checks

Reported by: teor Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Normal Keywords: prop312, ipv6, 044-deferred
Cc: Actual Points:
Parent ID: #33236 Points: 0.5
Reviewer: Sponsor: Sponsor55-can


Currently, we check for IPv4 and IPv6 local addresses and using_default_dir_authorities() in two different places:

  • IPv4: resolve_my_address()
  • IPv6: router_get_advertised_ipv6_or_ap()

Once we've combined the code that checks IPv4 and IPv6 advertised ORPorts, we can do a single using_default_dir_authorities() check.

Child Tickets

Change History (3)

comment:1 Changed 6 months ago by teor

Sponsor: Sponsor55-mustSponsor55-can

We don't have to do this refactor as part of Sponsor 55.

comment:2 Changed 6 months ago by teor

Owner: teor deleted

Un-assign myself from future Sponsor 55 tasks.

comment:3 Changed 5 months ago by nickm

Keywords: 044-deferred added
Milestone: Tor: 0.4.4.x-finalTor: unspecified

Bulk-remove tickets from 0.4.4. Add the 044-deferred label to them.

Note: See TracTickets for help on using tickets.