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 325
    • Issues 325
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 30
    • Merge requests 30
  • 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
  • #6770
Closed
Open
Issue created Sep 05, 2012 by Linus Nordberg@linus

Default value for AuthDirPublishIPv6 not honoured

AuthDirPublishIPv6 is AUTOBOOL. AUTOBOOL defaults to -1. We check AuthDirPublishIPv6 like this

    options->AuthDirHasIPv6Connectivity == 0

in two places where we want to test whether it's "unset" or not. This test will fail for AuthDirPublishIPv6 being -1.

After an interesting discussion with Roger on IRC, I suggest we make this option BOOL.

The motivation is that we should have AUTOBOOL options only for things decided from information from the consensus or the operating system we're running on. Once we have code for autodetecting IPv6 support from the OS we can turn it back into an AUTOBOOL again.

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