Opened 13 months ago

Closed 3 months ago

#20152 closed defect (fixed)

Update DirAuthority man entry for client begindir, no IPv6 DirPort

Reported by: teor Owned by: nickm
Priority: Medium Milestone: Tor: 0.3.2.x-final
Component: Core Tor/Tor Version:
Severity: Normal Keywords: easy, tor-doc
Cc: kleft Actual Points:
Parent ID: #18892 Points: 0.1
Reviewer: Sponsor:

Description

Tor's DirAuthority entry says:

Tor will contact the authority at address:port (the DirPort) to
download directory documents. If an IPv6 address is supplied, Tor
will also download directory documents at the IPv6 address on the
DirPort.

But no Tor instance uses the IPv6 DirPort:

  • clients (>= 0.2.8) use the IPv4 ORPort,
  • clients (< 0.2.8) and relays use the IPv4 DirPort.

Child Tickets

Change History (12)

comment:1 Changed 13 months ago by arma

Agreed!

For posterity though, the version cutoff for where clients started using the ORPort, i.e. for when we deployed the begindir design, is 0.2.0.22-rc:

  o Major features:
    - Enable encrypted directory connections by default for non-relays,
      so censor tools that block Tor directory connections based on their
      plaintext patterns will no longer work. This means Tor works in
      certain censored countries by default again.

comment:2 Changed 11 months ago by teor

Milestone: Tor: 0.2.???Tor: 0.3.???

Milestone renamed

comment:3 Changed 10 months ago by nickm

Keywords: tor-03-unspecified-201612 added
Milestone: Tor: 0.3.???Tor: unspecified

Finally admitting that 0.3.??? was a euphemism for Tor: unspecified all along.

comment:4 Changed 6 months ago by kleft

Cc: kleft added
Parent ID: #18892

comment:5 Changed 6 months ago by kleft

According to roadmaps/Tor/IPv6, 0.2.8-alpha-dev and newer are able to connect to DirAuthorities and FallbackDirs via v6, can anyone confirm that this is correct, implemented and working?

Last edited 6 months ago by kleft (previous) (diff)

comment:6 in reply to:  5 Changed 6 months ago by teor

Replying to kleft:

According to roadmaps/Tor/IPv6, 0.2.8-alpha-dev and newer are able to connect to DirAuthorities and FallbackDirs via v6, can anyone confirm that this is correct, implemented and working?

Yes, it works, and it requires the ClientUseIPv6 and ClientPreferIPv6 options to be set on the client, as documented in the man page.

(This isn't really the place to discuss this question, if Tor doesn't behave how you expect, please open another ticket.)

comment:7 Changed 5 months ago by nickm

Keywords: tor-03-unspecified-201612 removed

Remove an old triaging keyword.

comment:8 Changed 4 months ago by nickm

Keywords: tor-doc added; doc removed
Milestone: Tor: unspecifiedTor: 0.3.2.x-final

comment:9 Changed 4 months ago by nickm

Owner: set to nickm
Status: newaccepted

comment:10 Changed 4 months ago by nickm

Status: acceptedneeds_review

Trivial patch in branch bug21052 in my public repository.

comment:11 Changed 4 months ago by teor

Status: needs_reviewneeds_revision

The IPv6 address always comes with an ORPort, which is potentially different to the IPv4 ORPort.

So let's revise with:

  • s/IPv6 address is supplied/IPv6 ORPort is supplied/
  • s/IPv6 address on the ORPort/IPv6 ORPort/

then merge.

comment:12 Changed 3 months ago by nickm

Resolution: fixed
Status: needs_revisionclosed

Fixed and merged!

Note: See TracTickets for help on using tickets.