What’s the upstream ticket?
I don’t see any onion-grater activity after start of TB after setting browser.tordomainisolator.loglevel
pref to all
. Even after resetting the setting, no more onion-grater activity. I even re-installed TB and to my surprise, no onion-grater log output after start of TB or after clicking the new identity button.
Websites (https and onions) are accessible.
To exclude onion-grater being the issues, I already confirmed that its debug output is generally functional. I tested this by using TB stable, which does produce onion-grater output (Tor control protocol communications) at start as well as shows “signal newnym” on restart of TB using its new identity button.
TB used to have an error popup when Tor control protocol was unreachable. Has this been deprecated?
Whonix uses:
export TOR_CONTROL_IPC_PATH="/run/anon-ws-disable-stacked-tor/127.0.0.1_9151.sock"
Perhaps this is now disregarded? Seems so. Deleting this unix domain socket file or stopping onion-grater and TB does not complain.
Even after deleting /run/anon-ws-disable-stacked-tor/127.0.0.1_9150.sock
networking was still functional. So it seems
export TOR_SOCKS_IPC_PATH="/run/anon-ws-disable-stacked-tor/127.0.0.1_9150.sock"
is also being ignored.
env | grep -i TOR
TORSOCKS_LOG_LEVEL=1
TOR_SOCKS_IPC_PATH=/run/anon-ws-disable-stacked-tor/127.0.0.1_9150.sock
TOR_CONTROL_IPC_PATH=/run/anon-ws-disable-stacked-tor/127.0.0.1_9151.sock
TOR_SKIP_CONTROLPORTTEST=1
TOR_SKIP_LAUNCH=1
TOR_HIDE_BROWSER_LOGO=1
TOR_DEFAULT_HOMEPAGE=/usr/share/doc/homepage/whonix-welcome-page/whonix.html
XDG_CONFIG_DIRS=/usr/share/torbrowser-default-browser/:/usr/share/security-misc/:/usr/share/anon-apps-config/:/usr/share/open-link-confirmation/:/etc/xdg
TOR_USE_LEGACY_LAUNCHER=1
TOR_NO_DISPLAY_NETWORK_SETTINGS=1
Seems TB is using 127.0.0.1 9150 and ignores the related environment variables TOR_SOCKS_IPC_PATH and possibly also TOR_CONTROL_IPC_PATH.
If I had to bet, the same issues might be happening in Tails, worth looping in too, because also using onion-grater.
I would guess these aren’t Whonix specific issues. Nor Tails / nor onion-grater specific. Just with onion-grater there’s a convenient way to to “snoop” at the actual communications between Tor Browser and onion-grater with “higher guarantees” of seeing all the inputs and outputs. Do TB developers have a similar tool? Otherwise onion-grater might be useful for TB development too, perhaps with the --complain
mode (which just passes through everything without filtering). Happy to try and write some instructions (onion-grater as simple Tor control protocol proxy for TB development purposes) on how to do that if that would be helpful.
To make sure I got that right… That is…
ctrl + shift + i to open the developer and then → console, right?
I don’t see any related messages there.
Contacted anarcat @ tpo by e-mail to ask about account migration / recovery.