Roger Dingledine commited on 2009-09-20 23:20:57
Zeige 2 geänderte Dateien mit 23 Einfügungen und 51 Löschungen.
... | ... |
@@ -27,7 +27,7 @@ the latest stable version of Tor, see option two below. |
27 | 27 |
|
28 | 28 |
<p> |
29 | 29 |
Now Tor is installed and running. Move on to <a href="<page |
30 |
-docs/tor-doc-unix>#privoxy">step two</a> of the "Tor on Linux/Unix" |
|
30 |
+docs/tor-doc-unix>#polipo">step two</a> of the "Tor on Linux/Unix" |
|
31 | 31 |
instructions. |
32 | 32 |
</p> |
33 | 33 |
|
... | ... |
@@ -71,7 +71,7 @@ apt-get install tor tor-geoipdb |
71 | 71 |
|
72 | 72 |
<p> |
73 | 73 |
Now Tor is installed and running. Move on to <a href="<page |
74 |
-docs/tor-doc-unix>#privoxy">step two</a> of the "Tor on Linux/Unix" |
|
74 |
+docs/tor-doc-unix>#polipo">step two</a> of the "Tor on Linux/Unix" |
|
75 | 75 |
instructions. |
76 | 76 |
</p> |
77 | 77 |
|
... | ... |
@@ -115,7 +115,7 @@ apt-get install tor tor-geoipdb |
115 | 115 |
|
116 | 116 |
<p> |
117 | 117 |
Now Tor is installed and running. Move on to <a href="<page |
118 |
-docs/tor-doc-unix>#privoxy">step two</a> of the "Tor on Linux/Unix" |
|
118 |
+docs/tor-doc-unix>#polipo">step two</a> of the "Tor on Linux/Unix" |
|
119 | 119 |
instructions. |
120 | 120 |
</p> |
121 | 121 |
|
... | ... |
@@ -158,7 +158,7 @@ sudo dpkg -i tor_*.deb |
158 | 158 |
|
159 | 159 |
<p> |
160 | 160 |
Now Tor is installed and running. Move on to <a href="<page |
161 |
-docs/tor-doc-unix>#privoxy">step two</a> of the "Tor on Linux/Unix" |
|
161 |
+docs/tor-doc-unix>#polipo">step two</a> of the "Tor on Linux/Unix" |
|
162 | 162 |
instructions. |
163 | 163 |
</p> |
164 | 164 |
|
... | ... |
@@ -49,7 +49,8 @@ the settings. Tor is now installed. |
49 | 49 |
|
50 | 50 |
<hr /> |
51 | 51 |
<a id="privoxy"></a> |
52 |
-<h2><a class="anchor" href="#privoxy">Step Two: Install Privoxy for Web Browsing</a></h2> |
|
52 |
+<a id="polipo"></a> |
|
53 |
+<h2><a class="anchor" href="#polipo">Step Two: Install Polipo for Web Browsing</a></h2> |
|
53 | 54 |
<br /> |
54 | 55 |
|
55 | 56 |
<p>After installing Tor, you need to configure your applications to use it. |
... | ... |
@@ -57,59 +58,30 @@ the settings. Tor is now installed. |
57 | 58 |
|
58 | 59 |
<p> |
59 | 60 |
The first step is to set up web browsing. Start by installing <a |
60 |
-href="http://www.privoxy.org/">Privoxy</a>: click on 'recent releases' |
|
61 |
-and pick your favorite package or install from source. Privoxy is a |
|
62 |
-filtering web proxy that integrates well with Tor. |
|
61 |
+href="http://www.pps.jussieu.fr/~jch/software/polipo/">Polipo</a> from |
|
62 |
+your favorite repository. Polipo is a caching web proxy that does http |
|
63 |
+pipelining well, so it's well-suited for Tor's high latencies. Make sure |
|
64 |
+to get at least Polipo 1.0.4. |
|
63 | 65 |
</p> |
64 | 66 |
|
65 |
-<p>Once you've installed Privoxy (either from package or from source), |
|
66 |
-<b>you will need to configure Privoxy to use Tor</b>. You may find |
|
67 |
-<a |
|
68 |
-href="https://wiki.torproject.org/noreply/TheOnionRouter/PrivoxyConfig">this |
|
69 |
-sample Privoxy configuration</a> useful. Otherwise, you should configure |
|
70 |
-Privoxy by hand, using the directions that follow. |
|
71 |
-</p> |
|
72 |
- |
|
73 |
-<p> |
|
74 |
-Open Privoxy's "config" file (look in /etc/privoxy/ or /usr/local/etc/) |
|
75 |
-and add the line <br /> |
|
76 |
-<tt>forward-socks4a / 127.0.0.1:9050 .</tt><br /> |
|
77 |
-to the top of the config file. <b>Don't forget to add the dot at the end of |
|
78 |
-the line.</b> |
|
79 |
-</p> |
|
80 |
- |
|
81 |
-<p> |
|
82 |
-On some distributions, localhost is mapped to an IPv6 address, and some |
|
83 |
-programs might not be able to connect to Privoxy. If so, change the line |
|
84 |
-<br /> |
|
85 |
-<tt>listen-address localhost:8118</tt><br /> |
|
86 |
-so that it reads<br /> |
|
87 |
-<tt>listen-address 127.0.0.1:8118</tt> |
|
88 |
-</p> |
|
89 |
- |
|
90 |
-<p>Privoxy keeps a log file of everything passed through it. In |
|
91 |
-order to stop this you will need to comment out three lines by inserting a |
|
92 |
-\# before the line. The three lines are:<br /> |
|
93 |
-<tt>logfile logfile</tt><br /> |
|
94 |
-and the line <br /> |
|
95 |
-<tt>jarfile jarfile</tt><br /> |
|
96 |
-and (on some systems) the line <br /> |
|
97 |
-<tt>debug 1 # show each GET/POST/CONNECT request</tt><br /> |
|
98 |
-</p> |
|
67 |
+<p>Once you've installed Polipo (either from package or from |
|
68 |
+source), <b>you will need to configure Polipo to use Tor</b>. Grab our <a |
|
69 |
+href="https://svn.torproject.org/svn/torbrowser/trunk/build-scripts/config/polipo.conf">Polipo |
|
70 |
+configuration for Tor</a> and put it in place of your current polipo |
|
71 |
+config file (e.g. /etc/polipo/config or ~/.polipo/config). |
|
72 |
+You'll need to restart Polipo for the changes to take effect.</p> |
|
99 | 73 |
|
100 |
-<p>Depending on which default config file you have for Privoxy, |
|
101 |
-you may also need to turn off <tt>enable-remote-toggle</tt>, |
|
102 |
-<tt>enable-remote-http-toggle</tt>, and <tt>enable-edit-actions</tt>. |
|
103 |
-</p> |
|
104 |
- |
|
105 |
-<p>You'll need to restart Privoxy for the changes to take effect.</p> |
|
74 |
+<p>If you prefer, you can instead use Privoxy with <a |
|
75 |
+href="https://wiki.torproject.org/noreply/TheOnionRouter/PrivoxyConfig">this |
|
76 |
+sample Privoxy configuration</a>. But since the config files both use |
|
77 |
+port 8118, you shouldn't run both Polipo and Privoxy at the same time.</p> |
|
106 | 78 |
|
107 | 79 |
<hr /> |
108 | 80 |
<a id="using"></a> |
109 | 81 |
<h2><a class="anchor" href="#using">Step Three: Configure your applications to use Tor</a></h2> |
110 | 82 |
<br /> |
111 | 83 |
|
112 |
-<p>After installing Tor and Privoxy, you need to configure your |
|
84 |
+<p>After installing Tor and Polipo, you need to configure your |
|
113 | 85 |
applications to use them. The first step is to set up web browsing.</p> |
114 | 86 |
|
115 | 87 |
<p>You should use Tor with Firefox and Torbutton, for best safety. |
... | ... |
@@ -132,7 +104,7 @@ entry for running Tor on a different computer</a>. |
132 | 104 |
</p> |
133 | 105 |
|
134 | 106 |
<p>To Torify other applications that support HTTP proxies, just |
135 |
-point them at Privoxy (that is, localhost port 8118). To use SOCKS |
|
107 |
+point them at Polipo (that is, localhost port 8118). To use SOCKS |
|
136 | 108 |
directly (for instant messaging, Jabber, IRC, etc), you can point |
137 | 109 |
your application directly at Tor (localhost port 9050), but see <a |
138 | 110 |
href="https://wiki.torproject.org/noreply/TheOnionRouter/TorFAQ#SOCKSAndDNS">this |
... | ... |
@@ -168,7 +140,7 @@ FAQ entry</a> for more suggestions on how to test your Tor.) |
168 | 140 |
<p>If you have a personal firewall that limits your computer's |
169 | 141 |
ability to connect to itself (this includes something like SELinux on |
170 | 142 |
Fedora Core 4), be sure to allow connections from |
171 |
-your local applications to Privoxy (local port 8118) and Tor (local port |
|
143 |
+your local applications to Polipo (local port 8118) and Tor (local port |
|
172 | 144 |
9050). If |
173 | 145 |
your firewall blocks outgoing connections, punch a hole so |
174 | 146 |
it can connect to at least TCP ports 80 and 443, and then see <a |
175 | 147 |