AirVPN/Eddie

[macOS] [GetControlAuthCookiePath] Unable to find your Tor path

rprimus opened this issue · 4 comments

Tue Dec 4 17:20:40 GMT 2018

Tech info:

OS info:

  • ProductName: Mac OS X
  • ProductVersion: 10.14.2
  • BuildVersion: 18C52a

Eddie:

Eddie version: 2.17.2 / macos_x64

Tor:

Tor version 0.3.4.9 (git-4ac3ccf2863b86e7)


I have installed tor (brew install tor) and have this running as a service from startup.

Configuration is in ${HOME}/.torrc and working directory: ${HOME}/.tor.
Thus proxy.tor.control.cookie-path is ${HOME}/.tor/control_auth_cookie.

Requests:

  1. As function GetControlAuthCookiePath() is already looking for the above option,
    would it be possible to add this path option to the GUI? (Similar to OpenVPN Custom Path:.)
    If not, then:
  2. Add the following stanza to GetControlAuthCookiePath():
{
     // macOS, Tor manually installed
     string path = "/Users/" + Environment.UserName + "/.tor/control_auth_cookie";
     if (Platform.Instance.FileExists(path))
          return path;
}

or:

{
    // macOS, Linux
    string path2 = Platform.Instance.NormalizePath(Environment.GetEnvironmentVariable("HOME") + "/.tor/control_auth_cookie");
    if (Platform.Instance.FileExists(path2))
       return path2;
}

To overcome this, I've created a symlink corresponding to option:
// macOS, TorBrowser 4.0 and above

Tue Feb 25 22:52:58 GMT 2020

Updated Tech info:

OS info:

  • ProductName: Mac OS X
  • ProductVersion: 10.14.6
  • BuildVersion: 18G4011

Eddie:

Eddie version: 2.18.7 / macos_x64

Tor:

Tor version 0.4.2.6


Hi,

I've just been bitten by this again and noticed that I've already raised this here.

Is this the best place to raise issues or should the forum be used for this purpose?

From now, we try to manage also GitHub issues.
Your request are under investigation/test (the above code can't apply because we convert to C++ this part, but we understand the issue).

Related #60

Sat Jul 24 06:44:33 BST 2021

Greetings,

Thanks for adding proxy.tor.control.cookie.path.

It currently doesn't appear configurable via the macOS UI: there are no corresponding entries in:

  • src/App.Cocoa.MacOS/WindowPreferences.designer.cs
  • src/App.Cocoa.MacOS/WindowPreferencesController.cs

image