Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #9098

Closed (moved)
Open
Opened Jun 19, 2013 by Andrea Shepard@andrea

Hidden service protocol has IPv4 baked into it

The current hidden service protocol assumes a single-protocol IPv4 environment. Specifically:

The v2 HS descriptor has exactly one ip-address field per intro point, which is parsed by tor_addr_parse(). This will accept an IPv6 address, although I haven't checked what the client will do with it if it gets one. In a mixed IPv4/v6 environment it's obviously undesirable for there to be only one ip-address field per intro point, although possibly a service could get around that by listing the IPv4 and IPv6 addresses of a node in separate intro points.

The v2/v3 INTRODUCE cell format have the 4-byte IPv4 address of a rendezvous point hard-coded. This will have to change to something like this:

  • 1 byte address family
  • 1 byte address length
  • variable-length address

...possibly together with a way for the service to indicate in its descriptors what address families it will support in rendezvous points.

Yeah, I know there's a long list of desired hidden service improvements and a Tor network where any nodes don't support IPv4 is far off in the future, but I haven't seen this one mentioned before so I thought I'd file a bug while I remembered it.

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
Tor: unspecified
Milestone
Tor: unspecified
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#9098