Opened 8 months ago

Last modified 4 months ago

#33235 assigned task

Prop 312: 3.2.1. Test Address torrc Option Configurations

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

Description (last modified by teor)

This ticket depends on IPv6 Addresses in #33233, and automatic IPv6 ORPorts in #33246. These tests should be in CI, or they should be repeated after each change.

We should support the following combinations of address literals and hostnames:

Legacy configurations:

  1. No configured Address option
  2. Address IPv4 literal
  3. Address hostname (use IPv4 and IPv6 DNS addresses)

New configurations:

  1. Address IPv6 literal
  2. Address IPv4 literal / Address IPv6 literal
  3. Address hostname / Address hostname (use IPv4 and IPv6 DNS addresses)
  4. Address IPv4 literal / Address hostname (only use IPv6 DNS addresses)
  5. Address hostname (only use IPv4 DNS addresses) / Address IPv6 literal

If we can't find an IPv4 or IPv6 address using the configured Address options:

  • No IPv4: guess IPv4, and its reachability must succeed.
  • No IPv6: guess IPv6, publish if reachability succeeds.

Combinations A and B are the most common legacy configurations. We want to support the following outcomes for all legacy configurations:

  • automatic upgrades to guessed and reachable IPv6 addresses,
  • continuing to operate on IPv4 when the IPv6 address can't be guessed, and
  • continuing to operate on IPv4 when the IPv6 address has been guessed, but it is unreachable.

See proposal 312, section 3.2.1, testing notes:
https://gitweb.torproject.org/torspec.git/tree/proposals/312-relay-auto-ipv6-addr.txt#n270

Child Tickets

Change History (7)

comment:1 Changed 6 months ago by teor

Description: modified (diff)

Note dependencies on #33233 and #33246.

comment:2 Changed 6 months ago by teor

Description: modified (diff)

Update proposal and ticket.

comment:3 Changed 6 months ago by teor

Description: modified (diff)

comment:4 Changed 6 months ago by teor

Summary: Proposal 312: 3.2.1. Test Address torrc Option ConfigurationsProp 312: 3.2.1. Test Address torrc Option Configurations

comment:5 Changed 6 months ago by teor

Owner: teor deleted

Un-assign myself from future Sponsor 55 tasks.

comment:6 Changed 4 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.

comment:7 Changed 4 months ago by nickm

Milestone: Tor: unspecified

Bulk-move prop311 and prop312 to 0.4.5

Note: See TracTickets for help on using tickets.