From Fedora Project Wiki

No edit summary
No edit summary
 
Line 7: Line 7:
<pre>
<pre>
sudo systemctl start tor.service
sudo systemctl start tor.service
wget https://check.torproject.org/ -O before.html
wget 'https://check.torproject.org/?lang=en-US' -O before.html
torsocks wget https://check.torproject.org/ -O after.html
torsocks wget 'https://check.torproject.org/?lang=en-US' -O after.html
</pre>
</pre>
|results=
|results=

Latest revision as of 15:50, 5 March 2013

Description

This testcase will check whether Tor can communicate with the Tor network and allow torsocks to proxy connections to the Tor SOCKS port.

Setup

  1. Ensure the tor, wget and torsocks packages are installed.
  2. The /etc/tor/torrc configuration file should be the default one included with the package.

How to test

sudo systemctl start tor.service
wget 'https://check.torproject.org/?lang=en-US' -O before.html
torsocks wget 'https://check.torproject.org/?lang=en-US' -O after.html

Expected Results

  1. The file before.html should contain the string: Sorry. You are not using Tor.
  2. The file after.html should contain the string: Congratulations. Your browser is configured to use Tor.