From Fedora Project Wiki
Jamielinux (talk | contribs) (Created page with "{{QA/Test_Case |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= # ...") |
Jamielinux (talk | contribs) No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
|description=This testcase will check whether Tor can communicate with the Tor network and allow torsocks to proxy connections to the Tor SOCKS port. | |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= | |setup= | ||
# Ensure the {{package|tor}} and {{package| | # Ensure the {{package|tor}}, {{package|wget}} and {{package|torsocks}} packages are installed. | ||
# The <code>/etc/tor/torrc</code> configuration file should be the default one included with the package. | # The <code>/etc/tor/torrc</code> configuration file should be the default one included with the package. | ||
|actions= | |actions= | ||
<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
- Ensure the
tor
,wget
andtorsocks
packages are installed. - 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
- The file
before.html
should contain the string: Sorry. You are not using Tor. - The file
after.html
should contain the string: Congratulations. Your browser is configured to use Tor.