Opened 7 years ago

Closed 7 years ago

#6912 closed defect (not a bug)

CookieAuthentication default: 1 ? (0.2.4.2)

Reported by: cypherpunkx Owned by:
Priority: Medium Milestone:
Component: - Select a component Version:
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

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*)

Child Tickets

Change History (1)

comment:1 Changed 7 years ago by cypherpunkx

Resolution: not a bug
Status: newclosed

I saw /usr/share/tor/tor-service-defaults-torrc now...

sorry for the noise again

Note: See TracTickets for help on using tickets.