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.


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- Expert Bundle broken?.)


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.