From Fedora Project Wiki
Jamielinux (talk | contribs) (Created page with "{{QA/Test_Case |description=This testcase will check whether Tor be run as a public relay and directory service. |setup= # Ensure the {{package|tor}} package is installed. # T...") |
Jamielinux (talk | contribs) mNo edit summary |
||
Line 23: | Line 23: | ||
Mar 05 15:33:32.000 [notice] Self-testing indicates your ORPort is reachable from the outside. Excellent. Publishing server descriptor. | Mar 05 15:33:32.000 [notice] Self-testing indicates your ORPort is reachable from the outside. Excellent. Publishing server descriptor. | ||
</pre> | </pre> | ||
}} | }} | ||
[[Category:Tor_Test_Cases]] | [[Category:Tor_Test_Cases]] |
Latest revision as of 15:34, 5 March 2013
Description
This testcase will check whether Tor be run as a public relay and directory service.
Setup
- Ensure the
tor
package is installed. - The
/etc/tor/torrc
configuration file should be the default one included with the package. - Append these four lines to
/etc/tor/torrc
:
Log notice file /var/log/tor/notices.log ORPort 9001 DirPort 9030 ExitPolicy reject *:*
How to test
sudo systemctl start tor.service
sudo tail -f /var/log/tor/notices.log
Expected Results
The /var/log/tor/notices.log
file should contain all five of these lines:
Mar 05 15:33:25.000 [notice] Tor has successfully opened a circuit. Looks like client functionality is working. Mar 05 15:33:25.000 [notice] Bootstrapped 100%: Done. Mar 05 15:33:25.000 [notice] Now checking whether ORPort 213.138.101.162:9001 and DirPort 213.138.101.162:9030 are reachable... (this may take up to 20 minutes -- look for log messages indicating success) Mar 05 15:33:26.000 [notice] Self-testing indicates your DirPort is reachable from the outside. Excellent. Mar 05 15:33:32.000 [notice] Self-testing indicates your ORPort is reachable from the outside. Excellent. Publishing server descriptor.