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
  • #6912

Closed
Open
Opened Sep 21, 2012 by Trac@tracbot

CookieAuthentication default: 1 ? (0.2.4.2)

the manpage says:

CookieAuthentication 0|1
           If this option is set to 1, allow connections on the control port when the connecting process knows the contents of a file named
           "control_auth_cookie", which Tor will create in its data directory. This authentication method should only be used on systems with good
           filesystem security. (Default: 0)

so I'd expect if I'm only using

ControlPort 9051

(no CookieAuthentication, no HashedControlPassword) I should be able to connect to the controlport without any authentication but I get:

arm
[Errno 13] Permission denied: '/var/run/tor/control.authcookie'

Explicitely adding the default to torrc:

CookieAuthentication 0

solves the problem. Does this mean that the manpage is misleading and should be?

CookieAuthentication 0|1
           If this option is set to 1, allow connections on the control port when the connecting process knows the contents of a file named
           "control_auth_cookie", which Tor will create in its data directory. This authentication method should only be used on systems with good
           filesystem security. (Default: *1*)

Trac:
Username: cypherpunkx

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