Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Tor Tor
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 329
    • Issues 329
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 31
    • Merge requests 31
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • The Tor Project
  • Core
  • TorTor
  • Issues
  • #23588
Closed
Open
Issue created Sep 20, 2017 by teor@teor

Write fascist_firewall_choose_address_ls() and use it in hs_get_extend_info_from_lspecs()

Currently, the address choice logic is:

  • if we have an IPv6 address and can reach the ls IPv6 address, and prefer IPv6, use it
  • if we have an IPv4 address and can reach the ls IPv4 address, use it

But it needs to be:

  • if we have both addresses and can reach both, then use whatever we prefer
  • if we have one address and can reach it, use it

This doesn't matter until clients put IPv6 addresses in the link specifier.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking