[tor-bugs] #34068 [Core Tor/Tor]: Decide how to handle control port events for IPv6 reachability self-tests

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Apr 30 12:02:53 UTC 2020


#34068: Decide how to handle control port events for IPv6 reachability self-tests
--------------------------------+-----------------------------------------
     Reporter:  teor            |      Owner:  (none)
         Type:  defect          |     Status:  new
     Priority:  Medium          |  Milestone:  Tor: 0.4.4.x-final
    Component:  Core Tor/Tor    |    Version:
     Severity:  Normal          |   Keywords:  ipv6, prop311, control-spec
Actual Points:                  |  Parent ID:  #33222
       Points:  1               |   Reviewer:
      Sponsor:  Sponsor55-must  |
--------------------------------+-----------------------------------------
 The control spec has two reachability self-test events.

 Here is how they are specified:
 {{{
      CHECKING_REACHABILITY
      "ORADDRESS=IP:port"
      "DIRADDRESS=IP:port"
        We're going to start testing the reachability of our external OR
 port
        or directory port.

      REACHABILITY_SUCCEEDED
      "ORADDRESS=IP:port"
      "DIRADDRESS=IP:port"
        We successfully verified the reachability of our external OR port
 or
        directory port (depending on which of ORADDRESS or DIRADDRESS is
        given.)
 }}}

 And here is what tor actually sends:
 {{{
 CHECKING_REACHABILITY ORADDRESS=IPv4:port
 CHECKING_REACHABILITY DIRADDRESS=IPv4:port
 REACHABILITY_SUCCEEDED ORADDRESS=IPv4:port
 REACHABILITY_SUCCEEDED DIRADDRESS=IPv4:port
 }}}

 When we add IPv6 reachability events, we could break some (buggy) control
 parsers with:
 {{{
 CHECKING_REACHABILITY ORADDRESS=[IPv6]:port
 REACHABILITY_SUCCEEDED ORADDRESS=[IPv6]:port
 }}}

 How should we handle this change?

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/34068>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list