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...") |
Jamielinux (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{QA/Test_Case | {{QA/Test_Case | ||
|description= | |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= | |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 | # In Firefox, browse to https://check.torproject.org/ | ||
# | # <code>sudo systemctl start tor.service</code> | ||
# | # Configure Firefox to connect to SOCKS proxy: | ||
# | ## 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." | ||
# | # 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
- Ensure the
tor
,wget
andfirefox
packages are installed. - The
/etc/tor/torrc
configuration file should be the default one included with the package.
How to test
- In Firefox, browse to https://check.torproject.org/
sudo systemctl start tor.service
- Configure Firefox to connect to SOCKS proxy:
- Open the proxy settings: Edit → Preferences → Advanced → Network → Settings
- Select Manual proxy configuration
- Select SOCKS v5 connection type
- Set SOCKS Host as:
localhost
- Set SOCKS Port as:
9050
- Browse to https://check.torproject.org/
Expected Results
- The first visit to https://check.torproject.org/ should say "Sorry. You are not 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."