2

I recently changed my torrc file. How do I validate whether I did it right? As in, is there any way to test whether torrc configurations work as intended?

I'd hoped TorCheck would provide such functionality eventually, but I can understand it's a security risk to be able to read torrc from the Tor browser itself.

Mast
  • 137
  • 10

1 Answers1

1

You can use the --verify-config flag. (See the Tor manual for more options.)

However, you have to pass the flag to the Tor executable itself, rather than the start-tor-browser script, which is probably what you're used to using to get things running.

The executable is in the tor-browser_en-US/Browser/TorBrowser/Tor/ directory. The complete command to run on Linux would be:

tor-browser_en-US/Browser/TorBrowser/Tor/tor --verify-config

The Windows equivalent would be:

.\Tor Browser\Browser\TorBrowser\Tor\tor.exe --verify-config | more

Note that the | more is required in Windows to workaround a bug that prevents console logs being output. (See this thread for more details: Is the latest Tor-0.2.5.10 Expert Bundle broken?.)

Richard Horrocks
  • 3,155
  • 1
  • 15
  • 24