From Fedora Project Wiki

(Created page with "{{QA/Test_Case |description=TODO |setup=This testcase will use tor and firefox to check for basic client connectivity. For that, you need to have tor installed, you can instal...")
 
No edit summary
Line 1: Line 1:
{{QA/Test_Case
{{QA/Test_Case
|description=TODO
|description=This testcase will check whether Tor can communicate with the Tor network and allow Firefox to proxy connections to the Tor SOCKS port.
|setup=This testcase will use tor and firefox to check for basic client connectivity. For that, you need to have tor installed, you can install with yum install tor if not already done.
|setup=
# Ensure the {{package|tor}}, {{package|wget}} and {{package|firefox}} packages are installed.
# The <code>/etc/tor/torrc</code> configuration file should be the default one included with the package.
|actions=
|actions=
# In a browser, go to https://check.torproject.org/  
# In Firefox, browse to https://check.torproject.org/
# Start tor with  "systemctl start tor"
# <code>sudo systemctl start tor.service</code>
# Setup firefox check using firefox setup to use a socks proxy, in Edit / Preference / Advanced / Network / Parameters / Use a manual proxy, use "socks", host "localhost, port "9050"
# Configure Firefox to connect to SOCKS proxy:
# Go again to https://check.torproject.org/  
## Open the proxy settings: '''Edit → Preferences → Advanced Network → Settings'''
## Select '''Manual proxy configuration'''
## Select '''SOCKS v5''' connection type
## Set '''SOCKS Host''' as: <code>localhost</code>
## Set '''SOCKS Port''' as: <code>9050</code>
# Browse to https://check.torproject.org/  
|results=
|results=
# The first visit should say "Sorry. You are not using Tor."
# The first visit to https://check.torproject.org/ should say "Sorry. You are not using Tor."
# The 2nd visit to the webpage should say "Yes, you are using Tor."
# After having started tor and configured Firefox, the second visit to https://check.torproject.org/ should say "Congratulations. Your browser is configured to use Tor."
}}
}}
[[Category:Tor_Test_Cases]]
[[Category:Tor_Test_Cases]]

Revision as of 15:09, 5 March 2013

Description

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

Setup

  1. Ensure the Package-x-generic-16.pngtor, Package-x-generic-16.pngwget and Package-x-generic-16.pngfirefox packages are installed.
  2. The /etc/tor/torrc configuration file should be the default one included with the package.

How to test

  1. In Firefox, browse to https://check.torproject.org/
  2. sudo systemctl start tor.service
  3. Configure Firefox to connect to SOCKS proxy:
    1. Open the proxy settings: Edit → Preferences → Advanced → Network → Settings
    2. Select Manual proxy configuration
    3. Select SOCKS v5 connection type
    4. Set SOCKS Host as: localhost
    5. Set SOCKS Port as: 9050
  4. Browse to https://check.torproject.org/

Expected Results

  1. The first visit to https://check.torproject.org/ should say "Sorry. You are not using Tor."
  2. After having started tor and configured Firefox, the second visit to https://check.torproject.org/ should say "Congratulations. Your browser is configured to use Tor."