Rebuild HTML docs
[privoxy.git] / doc / webserver / faq / misc.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd">
3
4 <html>
5 <head>
6   <title>Miscellaneous</title>
7   <meta name="GENERATOR" content=
8   "Modular DocBook HTML Stylesheet Version 1.79">
9   <link rel="HOME" title="Privoxy Frequently Asked Questions" href=
10   "index.html">
11   <link rel="PREVIOUS" title="Configuration" href="configuration.html">
12   <link rel="NEXT" title="Troubleshooting" href="trouble.html">
13   <link rel="STYLESHEET" type="text/css" href="../p_doc.css">
14   <meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
15 </head>
16
17 <body class="SECT1" bgcolor="#EEEEEE" text="#000000" link="#0000FF" vlink=
18 "#840084" alink="#0000FF">
19   <div class="NAVHEADER">
20     <table summary="Header navigation table" width="100%" border="0"
21     cellpadding="0" cellspacing="0">
22       <tr>
23         <th colspan="3" align="center">Privoxy Frequently Asked
24         Questions</th>
25       </tr>
26
27       <tr>
28         <td width="10%" align="left" valign="bottom"><a href=
29         "configuration.html" accesskey="P">Prev</a></td>
30
31         <td width="80%" align="center" valign="bottom"></td>
32
33         <td width="10%" align="right" valign="bottom"><a href="trouble.html"
34         accesskey="N">Next</a></td>
35       </tr>
36     </table>
37     <hr align="left" width="100%">
38   </div>
39
40   <div class="SECT1">
41     <h1 class="SECT1"><a name="MISC" id="MISC">4. Miscellaneous</a></h1>
42
43     <div class="SECT2">
44       <h3 class="SECT2"><a name="AEN730" id="AEN730">4.1. How much does
45       Privoxy slow my browsing down? This has to add extra time to
46       browsing.</a></h3>
47
48       <p>How much of an impact depends on many things, including the CPU of
49       the host system, how aggressive the configuration is, which specific
50       actions are being triggered, the size of the page, the bandwidth of the
51       connection, etc.</p>
52
53       <p>Overall, it should not slow you down any in real terms, and may
54       actually help speed things up since ads, banners and other junk are not
55       typically being retrieved and displayed. The actual processing time
56       required by <span class="APPLICATION">Privoxy</span> itself for each
57       page, is relatively small in the overall scheme of things, and happens
58       very quickly. This is typically more than offset by time saved not
59       downloading and rendering ad images and other junk content (if ad
60       blocking is being used).</p>
61
62       <p><span class="QUOTE">"Filtering"</span> content via the <tt class=
63       "LITERAL"><a href="../user-manual/actions-file.html#FILTER" target=
64       "_top">filter</a></tt> or <tt class="LITERAL"><a href=
65       "../user-manual/actions-file.html#DEANIMATE-GIFS" target=
66       "_top">deanimate-gifs</a></tt> actions may cause a perceived slowdown,
67       since the entire document needs to be buffered before displaying. And
68       on very large documents, filtering may have some measurable impact. How
69       much depends on the page size, the actual definition of the filter(s),
70       etc. See below. Most other actions have little to no impact on
71       speed.</p>
72
73       <p>Also, when filtering is enabled but zlib support isn't available,
74       compression is often disabled (see <a href=
75       "../user-manual/actions-file.html#PREVENT-COMPRESSION" target=
76       "_top">prevent-compression</a>). This can have an impact on speed as
77       well, although it's probably smaller than you might think. Again, the
78       page size, etc. will determine how much of an impact.</p>
79     </div>
80
81     <div class="SECT2">
82       <h3 class="SECT2"><a name="LOADINGTIMES" id="LOADINGTIMES">4.2. I
83       notice considerable delays in page requests. What's wrong?</a></h3>
84
85       <p>If you use any <tt class="LITERAL"><a href=
86       "../user-manual/actions-file.html#FILTER" target="_top">filter</a></tt>
87       action, such as filtering banners by size, web-bugs etc, or the
88       <tt class="LITERAL"><a href=
89       "../user-manual/actions-file.html#DEANIMATE-GIFS" target=
90       "_top">deanimate-gifs</a></tt> action, the entire document must be
91       loaded into memory in order for the filtering mechanism to work, and
92       nothing is sent to the browser during this time.</p>
93
94       <p>The loading time typically does not really change much in real
95       numbers, but the feeling is different, because most browsers are able
96       to start rendering incomplete content, giving the user a feeling of "it
97       works". This effect is more noticeable on slower dialup connections.
98       Extremely large documents may have some impact on the time to load the
99       page where there is filtering being done. But overall, the difference
100       should be very minimal. If there is a big impact, then probably some
101       other situation is contributing (like anti-virus software).</p>
102
103       <p>Filtering is automatically disabled for inappropriate MIME types.
104       But note that if the web server mis-reports the MIME type, then content
105       that should not be filtered, could be. <span class=
106       "APPLICATION">Privoxy</span> only knows how to differentiate filterable
107       content because of the MIME type as reported by the server, or because
108       of some configuration setting that enables/disables filtering.</p>
109     </div>
110
111     <div class="SECT2">
112       <h3 class="SECT2"><a name="CONFIGURL" id="CONFIGURL">4.3. What are
113       "http://config.privoxy.org/" and "http://p.p/"?</a></h3>
114
115       <p><a href="http://config.privoxy.org/" target=
116       "_top">http://config.privoxy.org/</a> is the address of <span class=
117       "APPLICATION">Privoxy</span>'s built-in user interface, and <a href=
118       "http://p.p/" target="_top">http://p.p/</a> is a shortcut for it.</p>
119
120       <p>Since <span class="APPLICATION">Privoxy</span> sits between your web
121       browser and the Internet, it can simply intercept requests for these
122       addresses and answer them with its built-in <span class="QUOTE">"web
123       server"</span>.</p>
124
125       <p>This also makes for a good test for your browser configuration: If
126       entering the URL <a href="http://config.privoxy.org/" target=
127       "_top">http://config.privoxy.org/</a> takes you to a page saying
128       <span class="QUOTE">"This is Privoxy ..."</span>, everything is OK. If
129       you get a page saying <span class="QUOTE">"Privoxy is not
130       working"</span> instead, then your browser didn't use <span class=
131       "APPLICATION">Privoxy</span> for the request, hence it could not be
132       intercepted, and you have accessed the <span class="emphasis"><i class=
133       "EMPHASIS">real</i></span> web site at config.privoxy.org.</p>
134     </div>
135
136     <div class="SECT2">
137       <h3 class="SECT2"><a name="NEWADS" id="NEWADS">4.4. How can I submit
138       new ads, or report problems?</a></h3>
139
140       <p>Please see the <a href="contact.html">Contact section</a> for
141       various ways to interact with the developers.</p>
142     </div>
143
144     <div class="SECT2">
145       <h3 class="SECT2"><a name="NEWADS2" id="NEWADS2">4.5. If I do submit
146       missed ads, will they be included in future updates?</a></h3>
147
148       <p>Whether such submissions are eventually included in the <tt class=
149       "FILENAME">default.action</tt> configuration file depends on how
150       significant the issue is. We of course want to address any potential
151       problem with major, high-profile sites such as <i class=
152       "CITETITLE">Google</i>, <i class="CITETITLE">Yahoo</i>, etc. Any site
153       with global or regional reach, has a good chance of being a candidate.
154       But at the other end of the spectrum are any number of smaller,
155       low-profile sites such as for local clubs or schools. Since their reach
156       and impact are much less, they are best handled by inclusion in the
157       user's <tt class="FILENAME">user.action</tt>, and thus would be
158       unlikely to be included.</p>
159     </div>
160
161     <div class="SECT2">
162       <h3 class="SECT2"><a name="NOONECARES" id="NOONECARES">4.6. Why doesn't
163       anyone answer my support request?</a></h3>
164
165       <p>Rest assured that it has been read and considered. Why it is not
166       answered, could be for various reasons, including no one has a good
167       answer for it, no one has had time to yet investigate it thoroughly, it
168       has been reported numerous times already, or because not enough
169       information was provided to help us help you. Your efforts are not
170       wasted, and we do appreciate them.</p>
171     </div>
172
173     <div class="SECT2">
174       <h3 class="SECT2"><a name="IP" id="IP">4.7. How can I hide my IP
175       address?</a></h3>
176
177       <p>If you run both the browser and <span class=
178       "APPLICATION">Privoxy</span> locally, you cannot hide your IP address
179       with <span class="APPLICATION">Privoxy</span> or ultimately any other
180       software alone. The server needs to know your IP address so that it
181       knows where to send the responses back.</p>
182
183       <p>There are many publicly usable "anonymous" proxies out there, which
184       provide a further level of indirection between you and the web
185       server.</p>
186
187       <p>However, these proxies are called "anonymous" because you don't need
188       to authenticate, not because they would offer any real anonymity. Most
189       of them will log your IP address and make it available to the
190       authorities in case you violate the law of the country they run in. In
191       fact you can't even rule out that some of them only exist to *collect*
192       information on (those suspicious) people with a more than average
193       preference for privacy.</p>
194
195       <p>If you want to hide your IP address from most adversaries, you
196       should consider chaining <span class="APPLICATION">Privoxy</span> with
197       <a href="https://www.torproject.org/" target="_top">Tor</a>. The
198       configuration details can be found in <a href="#TOR" target="_top">How
199       do I use <span class="APPLICATION">Privoxy</span> together with
200       <span class="APPLICATION">Tor</span> section</a> just below.</p>
201     </div>
202
203     <div class="SECT2">
204       <h3 class="SECT2"><a name="AEN795" id="AEN795">4.8. Can Privoxy
205       guarantee I am anonymous?</a></h3>
206
207       <p>No. Your chances of remaining anonymous are improved, but unless you
208       <a href="#TOR" target="_top">chain <span class=
209       "APPLICATION">Privoxy</span> with <span class=
210       "APPLICATION">Tor</span></a> or a similar proxy and know what you're
211       doing when it comes to configuring the rest of your system, you should
212       assume that everything you do on the Web can be traced back to you.</p>
213
214       <p><span class="APPLICATION">Privoxy</span> can remove various
215       information about you, and allows <span class="emphasis"><i class=
216       "EMPHASIS">you</i></span> more freedom to decide which sites you can
217       trust, and what details you want to reveal. But it neither hides your
218       IP address, nor can it guarantee that the rest of the system behaves
219       correctly. There are several possibilities how a web sites can find out
220       who you are, even if you are using a strict <span class=
221       "APPLICATION">Privoxy</span> configuration and chained it with
222       <span class="APPLICATION">Tor</span>.</p>
223
224       <p>Most of <span class="APPLICATION">Privoxy's</span> privacy-enhancing
225       features can be easily subverted by an insecure browser configuration,
226       therefore you should use a browser that can be configured to only
227       execute code from trusted sites, and be careful which sites you trust.
228       For example there is no point in having <span class=
229       "APPLICATION">Privoxy</span> modify the User-Agent header, if websites
230       can get all the information they want through JavaScript, ActiveX,
231       Flash, Java etc.</p>
232
233       <p>A few browsers disclose the user's email address in certain
234       situations, such as when transferring a file by FTP. <span class=
235       "APPLICATION">Privoxy</span> does not filter FTP. If you need this
236       feature, or are concerned about the mail handler of your browser
237       disclosing your email address, you might consider products such as
238       <span class="APPLICATION">NSClean</span>.</p>
239
240       <p>Browsers available only as binaries could use non-standard headers
241       to give out any information they can have access to: see the
242       manufacturer's license agreement. It's impossible to anticipate and
243       prevent every breach of privacy that might occur. The professionally
244       paranoid prefer browsers available as source code, because anticipating
245       their behavior is easier. Trust the source, Luke!</p>
246     </div>
247
248     <div class="SECT2">
249       <h3 class="SECT2"><a name="AEN813" id="AEN813">4.9. A test site says I
250       am not using a Proxy.</a></h3>
251
252       <p>Good! Actually, they are probably testing for some other kinds of
253       proxies. Hiding yourself completely would require additional steps.</p>
254     </div>
255
256     <div class="SECT2">
257       <h3 class="SECT2"><a name="TOR" id="TOR">4.10. How do I use Privoxy
258       together with Tor?</a></h3>
259
260       <p>Before you configure <span class="APPLICATION">Privoxy</span> to use
261       <a href="https://www.torproject.org/" target="_top">Tor</a>, please
262       follow the <i class="CITETITLE">User Manual</i> chapters <a href=
263       "../user-manual/installation.html" target="_top">2. Installation</a>
264       and <a href="../user-manual/startup.html" target="_top">5. Startup</a>
265       to make sure <span class="APPLICATION">Privoxy</span> itself is setup
266       correctly.</p>
267
268       <p>If it is, refer to <a href=
269       "https://www.torproject.org/documentation.html" target="_top">Tor's
270       extensive documentation</a> to learn how to install <span class=
271       "APPLICATION">Tor</span>, and make sure <span class=
272       "APPLICATION">Tor</span>'s logfile says that <span class="QUOTE">"Tor
273       has successfully opened a circuit"</span> and it <span class=
274       "QUOTE">"looks like client functionality is working"</span>.</p>
275
276       <p>If either <span class="APPLICATION">Tor</span> or <span class=
277       "APPLICATION">Privoxy</span> isn't working, their combination most
278       likely will neither. Testing them on their own will also help you to
279       direct problem reports to the right audience. If <span class=
280       "APPLICATION">Privoxy</span> isn't working, don't bother the
281       <span class="APPLICATION">Tor</span> developers. If <span class=
282       "APPLICATION">Tor</span> isn't working, don't send bug reports to the
283       <span class="APPLICATION">Privoxy</span> Team.</p>
284
285       <p>If you verified that <span class="APPLICATION">Privoxy</span> and
286       <span class="APPLICATION">Tor</span> are working, it is time to connect
287       them. As far as <span class="APPLICATION">Privoxy</span> is concerned,
288       <span class="APPLICATION">Tor</span> is just another proxy that can be
289       reached by socks4, socks4a and socks5. Most likely you are interested
290       in <span class="APPLICATION">Tor</span> to increase your anonymity
291       level, therefore you should use socks5, to make sure DNS requests are
292       done through <span class="APPLICATION">Tor</span> and thus invisible to
293       your local network. Using socks4a would work too, but with socks5 you
294       get more precise error messages.</p>
295
296       <p><span class="APPLICATION">Privoxy's</span> <a href=
297       "../user-manual/config.html" target="_top">main configuration file</a>
298       is already prepared for <span class="APPLICATION">Tor</span>, if you
299       are using a default <span class="APPLICATION">Tor</span> configuration
300       and run it on the same system as <span class=
301       "APPLICATION">Privoxy</span>, you just have to edit the <a href=
302       "../user-manual/config.html#FORWARDING" target="_top">forwarding
303       section</a> and uncomment the line:</p>
304
305       <table border="0" bgcolor="#E0E0E0" width="100%">
306         <tr>
307           <td>
308             <pre class="SCREEN">
309 #        forward-socks5t             /     127.0.0.1:9050 .
310
311 </pre>
312           </td>
313         </tr>
314       </table>
315
316       <p>This is enough to reach the Internet, but additionally you might
317       want to uncomment the following forward rules, to make sure your local
318       network is still reachable through Privoxy:</p>
319
320       <table border="0" bgcolor="#E0E0E0" width="100%">
321         <tr>
322           <td>
323             <pre class="SCREEN">
324 #        forward         192.168.*.*/     .
325 #        forward            10.*.*.*/     .
326 #        forward           127.*.*.*/     .
327
328 </pre>
329           </td>
330         </tr>
331       </table>
332
333       <p>Unencrypted connections to systems in these address ranges will be
334       as (un)secure as the local network is, but the alternative is that your
335       browser can't reach the network at all. Then again, that may actually
336       be desired and if you don't know for sure that your browser has to be
337       able to reach the local network, there's no reason to allow it.</p>
338
339       <p>If you want your browser to be able to reach servers in your local
340       network by using their names, you will need additional exceptions that
341       look like this:</p>
342
343       <table border="0" bgcolor="#E0E0E0" width="100%">
344         <tr>
345           <td>
346             <pre class="SCREEN">
347 #        forward           localhost/     .
348
349 </pre>
350           </td>
351         </tr>
352       </table>
353
354       <p>Save the modified configuration file and open <a href=
355       "http://config.privoxy.org/show-status" target=
356       "_top">http://config.privoxy.org/show-status</a> in your browser,
357       confirm that <span class="APPLICATION">Privoxy</span> has reloaded its
358       configuration and that there are no other forward lines, unless you
359       know that you need them. If everything looks good, refer to <a href=
360       "https://wiki.torproject.org/noreply/TheOnionRouter/TorFAQ#IsMyConnectionPrivate"
361       target="_top">Tor Faq 4.2</a> to learn how to verify that you are
362       really using <span class="APPLICATION">Tor</span>.</p>
363
364       <p>Afterward, please take the time to at least skim through the rest of
365       <span class="APPLICATION">Tor's</span> documentation. Make sure you
366       understand what <span class="APPLICATION">Tor</span> does, why it is no
367       replacement for application level security, and why you probably don't
368       want to use it for unencrypted logins.</p>
369     </div>
370
371     <div class="SECT2">
372       <h3 class="SECT2"><a name="AEN869" id="AEN869">4.11. Might some things
373       break because header information or content is being altered?</a></h3>
374
375       <p>Definitely. It is common for sites to use browser type, browser
376       version, HTTP header content, and various other techniques in order to
377       dynamically decide what to display and how to display it. What you see,
378       and what I see, might be very different. There are many, many ways that
379       this can be handled, so having hard and fast rules, is tricky.</p>
380
381       <p>The <span class="QUOTE">"User-Agent"</span> is sometimes used in
382       this way to identify the browser, and adjust content accordingly.</p>
383
384       <p>Also, different browsers use different encodings of non-English
385       characters, certain web servers convert pages on-the-fly according to
386       the User Agent header. Giving a <span class="QUOTE">"User Agent"</span>
387       with the wrong operating system or browser manufacturer causes some
388       sites in these languages to be garbled; Surfers to Eastern European
389       sites should change it to something closer. And then some page access
390       counters work by looking at the <span class="QUOTE">"Referer"</span>
391       header; they may fail or break if unavailable. The weather maps of
392       Intellicast have been blocked by their server when no <span class=
393       "QUOTE">"Referer"</span> or cookie is provided, is another example.
394       (But you can forge both headers without giving information away). There
395       are many other ways things can go wrong when trying to fool a web
396       server. The results of which could inadvertently cause pages to load
397       incorrectly, partially, or even not at all. And there may be no obvious
398       clues as to just what went wrong, or why. Nowhere will there be a
399       message that says <span class="QUOTE">"<span class="emphasis"><i class=
400       "EMPHASIS">Turn off <tt class="LITERAL">fast-redirects</tt> or
401       else!</i></span> "</span></p>
402
403       <p>Similar thoughts apply to modifying JavaScript, and, to a lesser
404       degree, HTML elements.</p>
405
406       <p>If you have problems with a site, you will have to adjust your
407       configuration accordingly. Cookies are probably the most likely
408       adjustment that may be required, but by no means the only one.</p>
409     </div>
410
411     <div class="SECT2">
412       <h3 class="SECT2"><a name="AEN883" id="AEN883">4.12. Can Privoxy act as
413       a <span class="QUOTE">"caching"</span> proxy to speed up web
414       browsing?</a></h3>
415
416       <p>No, it does not have this ability at all. You want something like
417       <a href="http://www.squid-cache.org/" target="_top">Squid</a> or
418       <a href="http://www.pps.jussieu.fr/~jch/software/polipo/" target=
419       "_top">Polipo</a> for this. And, yes, before you ask, <span class=
420       "APPLICATION">Privoxy</span> can co-exist with other kinds of proxies
421       like <span class="APPLICATION">Squid</span>. See the <a href=
422       "../user-manual/config.html#FORWARDING" target="_top">forwarding
423       chapter</a> in the <a href="../user-manual/index.html" target=
424       "_top">user manual</a> for details.</p>
425     </div>
426
427     <div class="SECT2">
428       <h3 class="SECT2"><a name="AEN893" id="AEN893">4.13. What about as a
429       firewall? Can Privoxy protect me?</a></h3>
430
431       <p>Not in the way you mean, or in the way some firewall vendors claim
432       they can. <span class="APPLICATION">Privoxy</span> can help protect
433       your privacy, but can't protect your system from intrusion attempts. It
434       is, of course, perfectly possible to use <span class=
435       "emphasis"><i class="EMPHASIS">both</i></span>.</p>
436     </div>
437
438     <div class="SECT2">
439       <h3 class="SECT2"><a name="AEN898" id="AEN898">4.14. I have large empty
440       spaces / a checkerboard pattern now where ads used to be. Why?</a></h3>
441
442       <p>It is technically possible to eliminate banners and ads in a way
443       that frees their allocated page space. This could easily be done by
444       blocking with <span class="APPLICATION">Privoxy's</span> filters, and
445       eliminating the <span class="emphasis"><i class=
446       "EMPHASIS">entire</i></span> image references from the HTML page
447       source.</p>
448
449       <p>But, this would consume considerably more CPU resources (IOW, slow
450       things down), would likely destroy the layout of some web pages which
451       rely on the banners utilizing a certain amount of page space, and might
452       fail in other cases, where the screen space is reserved (e.g. by HTML
453       tables for instance). Also, making ads and banners disappear without
454       any trace complicates troubleshooting, and would sooner or later be
455       problematic.</p>
456
457       <p>The better alternative is to instead let them stay, and block the
458       resulting requests for the banners themselves as is now the case. This
459       leaves either empty space, or the familiar checkerboard pattern.</p>
460
461       <p>So the developers won't support this in the default configuration,
462       but you can of course define appropriate filters yourself to achieve
463       this.</p>
464     </div>
465
466     <div class="SECT2">
467       <h3 class="SECT2"><a name="AEN906" id="AEN906">4.15. How can Privoxy
468       filter Secure (HTTPS) URLs?</a></h3>
469
470       <p>Since secure HTTP connections are encrypted SSL sessions between
471       your browser and the secure site, and are meant to be reliably
472       <span class="emphasis"><i class="EMPHASIS">secure</i></span>, there is
473       little that <span class="APPLICATION">Privoxy</span> can do but hand
474       the raw gibberish data though from one end to the other
475       unprocessed.</p>
476
477       <p>The only exception to this is blocking by host patterns, as the
478       client needs to tell <span class="APPLICATION">Privoxy</span> the name
479       of the remote server, so that <span class="APPLICATION">Privoxy</span>
480       can establish the connection. If that name matches a host-only pattern,
481       the connection will be blocked.</p>
482
483       <p>As far as ad blocking is concerned, this is less of a restriction
484       than it may seem, since ad sources are often identifiable by the host
485       name, and often the banners to be placed in an encrypted page come
486       unencrypted nonetheless for efficiency reasons, which exposes them to
487       the full power of <span class="APPLICATION">Privoxy</span>'s ad
488       blocking.</p>
489
490       <p><span class="QUOTE">"Content cookies"</span> (those that are
491       embedded in the actual HTML or JS page content, see <tt class=
492       "LITERAL"><a href=
493       "../user-manual/actions-file.html#FILTER-CONTENT-COOKIES" target=
494       "_top">filter{content-cookies}</a></tt>), in an SSL transaction will be
495       impossible to block under these conditions. Fortunately, this does not
496       seem to be a very common scenario since most cookies come by
497       traditional means.</p>
498     </div>
499
500     <div class="SECT2">
501       <h3 class="SECT2"><a name="AEN920" id="AEN920">4.16. Privoxy runs as a
502       <span class="QUOTE">"server"</span>. How secure is it? Do I need to
503       take any special precautions?</a></h3>
504
505       <p>On Unix-like systems, <span class="APPLICATION">Privoxy</span> can
506       run as a non-privileged user, which is how we recommend it be run.
507       Also, by default <span class="APPLICATION">Privoxy</span> listens to
508       requests from <span class="QUOTE">"localhost"</span> only.</p>
509
510       <p>The server aspect of <span class="APPLICATION">Privoxy</span> is not
511       itself directly exposed to the Internet in this configuration. If you
512       want to have <span class="APPLICATION">Privoxy</span> serve as a LAN
513       proxy, this will have to be opened up to allow for LAN requests. In
514       this case, we'd recommend you specify only the LAN gateway address,
515       e.g. 192.168.1.1, in the main <span class="APPLICATION">Privoxy</span>
516       configuration file and check all <a href=
517       "../user-manual/config.html#ACCESS-CONTROL" target="_top">access
518       control and security options</a>. All LAN hosts can then use this as
519       their proxy address in the browser proxy configuration, but
520       <span class="APPLICATION">Privoxy</span> will not listen on any
521       external interfaces. ACLs can be defined in addition, and using a
522       firewall is always good too. Better safe than sorry.</p>
523     </div>
524
525     <div class="SECT2">
526       <h3 class="SECT2"><a name="TURNOFF" id="TURNOFF">4.17. Can I
527       temporarily disable Privoxy?</a></h3>
528
529       <p><span class="APPLICATION">Privoxy</span> doesn't have a transparent
530       proxy mode, but you can toggle off blocking and content filtering.</p>
531
532       <p>The easiest way to do that is to point your browser to the remote
533       toggle URL: <a href="http://config.privoxy.org/toggle" target=
534       "_top">http://config.privoxy.org/toggle</a>.</p>
535
536       <p>See the <a href="../user-manual/appendix.html#BOOKMARKLETS" target=
537       "_top">Bookmarklets section</a> of the <i class="CITETITLE">User
538       Manual</i> for an easy way to access this feature. Note that this is a
539       feature that may need to be enabled in the main <tt class=
540       "FILENAME">config</tt> file.</p>
541     </div>
542
543     <div class="SECT2">
544       <h3 class="SECT2"><a name="REALLYOFF" id="REALLYOFF">4.18. When
545       <span class="QUOTE">"disabled"</span> is Privoxy totally out of the
546       picture?</a></h3>
547
548       <p>No, this just means all optional filtering and actions are disabled.
549       <span class="APPLICATION">Privoxy</span> is still acting as a proxy,
550       but just doing less of the things that <span class=
551       "APPLICATION">Privoxy</span> would normally be expected to do. It is
552       still a <span class="QUOTE">"middle-man"</span> in the interaction
553       between your browser and web sites. See below to bypass the proxy.</p>
554     </div>
555
556     <div class="SECT2">
557       <h3 class="SECT2"><a name="TURNOFF2" id="TURNOFF2">4.19. How can I tell
558       Privoxy to totally ignore certain sites?</a></h3>
559
560       <p>Bypassing a proxy, or proxying based on arbitrary criteria, is
561       purely a browser configuration issue, not a <span class=
562       "APPLICATION">Privoxy</span> issue. Modern browsers typically do have
563       settings for not proxying certain sites. Check your browser's help
564       files.</p>
565     </div>
566
567     <div class="SECT2">
568       <h3 class="SECT2"><a name="CRUNCH" id="CRUNCH">4.20. My logs show
569       Privoxy <span class="QUOTE">"crunches"</span> ads, but also its own
570       internal CGI pages. What is a <span class=
571       "QUOTE">"crunch"</span>?</a></h3>
572
573       <p>A <span class="QUOTE">"crunch"</span> simply means <span class=
574       "APPLICATION">Privoxy</span> intercepted <span class=
575       "emphasis"><i class="EMPHASIS">something</i></span>, nothing more.
576       Often this is indeed ads or banners, but <span class=
577       "APPLICATION">Privoxy</span> uses the same mechanism for trapping
578       requests for its own internal pages. For instance, a request for
579       <span class="APPLICATION">Privoxy's</span> configuration page at:
580       <a href="http://config.privoxy.org" target=
581       "_top">http://config.privoxy.org</a>, is intercepted (i.e. it does not
582       go out to the 'net), and the familiar CGI configuration is returned to
583       the browser, and the log consequently will show a <span class=
584       "QUOTE">"crunch"</span>.</p>
585
586       <p>Since version 3.0.7, Privoxy will also log the crunch reason. If you
587       are using an older version you might want to upgrade.</p>
588     </div>
589
590     <div class="SECT2">
591       <h3 class="SECT2"><a name="DOWNLOADS" id="DOWNLOADS">4.21. Can Privoxy
592       effect files that I download from a webserver? FTP server?</a></h3>
593
594       <p>From the webserver's perspective, there is no difference between
595       viewing a document (i.e. a page), and downloading a file. The same is
596       true of <span class="APPLICATION">Privoxy</span>. If there is a match
597       for a <tt class="LITERAL"><a href=
598       "../user-manual/actions-file.html#BLOCK" target="_top">block</a></tt>
599       pattern, it will still be blocked, and of course this is obvious.</p>
600
601       <p>Filtering is potentially more of a concern since the results are not
602       always so obvious, and the effects of filtering are there whether the
603       file is simply viewed, or downloaded. And potentially whether the
604       content is some obnoxious advertisement, or Mr. Jimmy's latest/greatest
605       source code jewel. Of course, one of these presumably is <span class=
606       "QUOTE">"bad"</span> content that we don't want, and the other is
607       <span class="QUOTE">"good"</span> content that we do want. <span class=
608       "APPLICATION">Privoxy</span> is blind to the differences, and can only
609       distinguish <span class="QUOTE">"good from bad"</span> by the
610       configuration parameters <span class="emphasis"><i class=
611       "EMPHASIS">we</i></span> give it.</p>
612
613       <p><span class="APPLICATION">Privoxy</span> knows the differences in
614       files according to the <span class="QUOTE">"Content Type"</span> as
615       reported by the webserver. If this is reported accurately (e.g.
616       <span class="QUOTE">"application/zip"</span> for a zip archive), then
617       <span class="APPLICATION">Privoxy</span> knows to ignore these where
618       appropriate. <span class="APPLICATION">Privoxy</span> potentially can
619       filter HTML as well as plain text documents, subject to configuration
620       parameters of course. Also, documents that are of an unknown type
621       (generally assumed to be <span class="QUOTE">"text/plain"</span>) can
622       be filtered, as will those that might be incorrectly reported by the
623       webserver. If such a file is a downloaded file that is intended to be
624       saved to disk, then any content that might have been altered by
625       filtering, will be saved too, for these (probably rare) cases.</p>
626
627       <p>Note that versions later than 3.0.2 do NOT filter document types
628       reported as <span class="QUOTE">"text/plain"</span>. Prior to this,
629       <span class="APPLICATION">Privoxy</span> did filter this document
630       type.</p>
631
632       <p>In short, filtering is <span class="QUOTE">"ON"</span> if a) the
633       content type as reported by the webserver is appropriate <span class=
634       "emphasis"><i class="EMPHASIS">and</i></span> b) the configuration
635       allows it (or at least does not disallow it). That's it. There is no
636       magic cookie anywhere to say this is <span class="QUOTE">"good"</span>
637       and this is <span class="QUOTE">"bad"</span>. It's the configuration
638       that lets it all happen or not.</p>
639
640       <p>If you download text files, you probably do not want these to be
641       filtered, particularly if the content is source code, or other critical
642       content. Source code sometimes might be mistaken for Javascript (i.e.
643       the kind that might open a pop-up window). It is recommended to turn
644       off filtering for download sites (particularly if the content may be
645       plain text files and you are using version 3.0.2 or earlier) in your
646       <tt class="FILENAME">user.action</tt> file. And also, for any site or
647       page where making <span class="emphasis"><i class=
648       "EMPHASIS">any</i></span> changes at all to the content is to be
649       avoided.</p>
650
651       <p><span class="APPLICATION">Privoxy</span> does not do FTP at all,
652       only HTTP and HTTPS (SSL) protocols.</p>
653     </div>
654
655     <div class="SECT2">
656       <h3 class="SECT2"><a name="DOWNLOADS2" id="DOWNLOADS2">4.22. I just
657       downloaded a Perl script, and Privoxy altered it! Yikes, what is
658       wrong!</a></h3>
659
660       <p>Please read above.</p>
661     </div>
662
663     <div class="SECT2">
664       <h3 class="SECT2"><a name="HOSTSFILE" id="HOSTSFILE">4.23. Should I
665       continue to use a <span class="QUOTE">"HOSTS"</span> file for
666       ad-blocking?</a></h3>
667
668       <p>One time-tested technique to defeat common ads is to trick the local
669       DNS system by giving a phony IP address for the ad generator in the
670       local <tt class="FILENAME">HOSTS</tt> file, typically using <tt class=
671       "LITERAL">127.0.0.1</tt>, aka <tt class="LITERAL">localhost</tt>. This
672       effectively blocks the ad.</p>
673
674       <p>There is no reason to use this technique in conjunction with
675       <span class="APPLICATION">Privoxy</span>. <span class=
676       "APPLICATION">Privoxy</span> does essentially the same thing, much more
677       elegantly and with much more flexibility. A large <tt class=
678       "FILENAME">HOSTS</tt> file, in fact, not only duplicates effort, but
679       may get in the way and seriously slow down your system. It is
680       recommended to remove such entries from your <tt class=
681       "FILENAME">HOSTS</tt> file. If you think your hosts list is neglected
682       by <span class="APPLICATION">Privoxy's</span> configuration, consider
683       adding your list to your <tt class="FILENAME">user.action</tt>
684       file:</p>
685
686       <table border="0" bgcolor="#E0E0E0" width="100%">
687         <tr>
688           <td>
689             <pre class="SCREEN">
690   { +block }
691    www.ad.example1.com
692    ad.example2.com
693    ads.galore.example.com
694    etc.example.com
695 </pre>
696           </td>
697         </tr>
698       </table>
699     </div>
700
701     <div class="SECT2">
702       <h3 class="SECT2"><a name="SEEALSO" id="SEEALSO">4.24. Where can I find
703       more information about Privoxy and related issues?</a></h3>
704
705       <p>Other references and sites of interest to <span class=
706       "APPLICATION">Privoxy</span> users:</p>
707
708       <table border="0">
709         <tbody>
710           <tr>
711             <td><a href="http://www.privoxy.org/" target=
712             "_top">http://www.privoxy.org/</a>, the <span class=
713             "APPLICATION">Privoxy</span> Home page.</td>
714           </tr>
715         </tbody>
716       </table>
717
718       <table border="0">
719         <tbody>
720           <tr>
721             <td><a href="http://www.privoxy.org/faq/" target=
722             "_top">http://www.privoxy.org/faq/</a>, the <span class=
723             "APPLICATION">Privoxy</span> FAQ.</td>
724           </tr>
725         </tbody>
726       </table>
727
728       <table border="0">
729         <tbody>
730           <tr>
731             <td><a href="http://www.privoxy.org/developer-manual/" target=
732             "_top">http://www.privoxy.org/developer-manual/</a>, the
733             <span class="APPLICATION">Privoxy</span> developer manual.</td>
734           </tr>
735         </tbody>
736       </table>
737
738       <table border="0">
739         <tbody>
740           <tr>
741             <td><a href="https://sourceforge.net/projects/ijbswa/" target=
742             "_top">https://sourceforge.net/projects/ijbswa/</a>, the Project
743             Page for <span class="APPLICATION">Privoxy</span> on <a href=
744             "http://sourceforge.net" target="_top">SourceForge</a>.</td>
745           </tr>
746         </tbody>
747       </table>
748
749       <table border="0">
750         <tbody>
751           <tr>
752             <td><a href="http://config.privoxy.org/" target=
753             "_top">http://config.privoxy.org/</a>, the web-based user
754             interface. <span class="APPLICATION">Privoxy</span> must be
755             running for this to work. Shortcut: <a href="http://p.p/" target=
756             "_top">http://p.p/</a></td>
757           </tr>
758         </tbody>
759       </table>
760
761       <table border="0">
762         <tbody>
763           <tr>
764             <td><a href=
765             "https://sourceforge.net/tracker/?group_id=11118&amp;atid=460288"
766             target=
767             "_top">https://sourceforge.net/tracker/?group_id=11118&amp;atid=460288</a>,
768             to submit <span class="QUOTE">"misses"</span> and other
769             configuration related suggestions to the developers.</td>
770           </tr>
771         </tbody>
772       </table>
773
774       <table border="0">
775         <tbody>
776           <tr>
777             <td><a href="http://www.squid-cache.org/" target=
778             "_top">http://www.squid-cache.org/</a>, a popular caching proxy,
779             which is often used together with <span class=
780             "APPLICATION">Privoxy</span>.</td>
781           </tr>
782         </tbody>
783       </table>
784
785       <table border="0">
786         <tbody>
787           <tr>
788             <td><a href=
789             "http://www.pps.univ-paris-diderot.fr/~jch/software/polipo/"
790             target=
791             "_top">http://www.pps.univ-paris-diderot.fr/~jch/software/polipo/</a>,
792             <span class="APPLICATION">Polipo</span> is a caching proxy with
793             advanced features like pipelining, multiplexing and caching of
794             partial instances. In many setups it can be used as <span class=
795             "APPLICATION">Squid</span> replacement.</td>
796           </tr>
797         </tbody>
798       </table>
799
800       <table border="0">
801         <tbody>
802           <tr>
803             <td><a href="https://www.torproject.org/" target=
804             "_top">https://www.torproject.org/</a>, <span class=
805             "APPLICATION">Tor</span> can help anonymize web browsing, web
806             publishing, instant messaging, IRC, SSH, and other
807             applications.</td>
808           </tr>
809         </tbody>
810       </table>
811     </div>
812
813     <div class="SECT2">
814       <h3 class="SECT2"><a name="MICROSUCK" id="MICROSUCK">4.25. I've noticed
815       that Privoxy changes <span class="QUOTE">"Microsoft"</span> to
816       <span class="QUOTE">"MicroSuck"</span>! Why are you manipulating my
817       browsing?</a></h3>
818
819       <p>We're not. The text substitutions that you are seeing are disabled
820       in the default configuration as shipped. You have either manually
821       activated the <span class="QUOTE">"<tt class="LITERAL">fun</tt>"</span>
822       filter which is clearly labeled <span class="QUOTE">"Text replacements
823       for subversive browsing fun!"</span> or you are using an older Privoxy
824       version and have implicitly activated it by choosing the <span class=
825       "QUOTE">"Advanced"</span> profile in the web-based editor. Please
826       upgrade.</p>
827     </div>
828
829     <div class="SECT2">
830       <h3 class="SECT2"><a name="VALID" id="VALID">4.26. Does Privoxy produce
831       <span class="QUOTE">"valid"</span> HTML (or XHTML)?</a></h3>
832
833       <p>Privoxy generates HTML in both its own <span class=
834       "QUOTE">"templates"</span>, and possibly whenever there are text
835       substitutions via a <span class="APPLICATION">Privoxy</span> filter.
836       While this should always conform to the HTML 4.01 specifications, it
837       has not been validated against this or any other standard.</p>
838     </div>
839
840     <div class="SECT2">
841       <h3 class="SECT2"><a name="SURPRISE-PRIVOXY" id=
842       "SURPRISE-PRIVOXY">4.27. How did you manage to get Privoxy on my
843       computer without my consent?</a></h3>
844
845       <p>We didn't. We make Privoxy available for download, but we don't go
846       around installing it on other people's systems behind their back. If
847       you discover Privoxy running on your system and are sure you didn't
848       install it yourself, somebody else did. You may not even be running the
849       real Privoxy, but maybe something else that only pretends to be
850       Privoxy, or maybe something that is based on the real Privoxy, but has
851       been modified.</p>
852
853       <p>Lately there have been reports of problems with some kind of Privoxy
854       versions that come preinstalled on some Netbooks. Some of the problems
855       described are inconsistent with the behaviour of official Privoxy
856       versions, which suggests that the preinstalled software may contain
857       vendor modifications that we don't know about and thus can't debug.</p>
858
859       <p>Privoxy's <a href="copyright.html">license</a> allows vendor
860       modifications, but the vendor has to comply with the license, which
861       involves informing the user about the changes and to make the changes
862       available under the same license as Privoxy itself.</p>
863
864       <p>If you are having trouble with a modified Privoxy version, please
865       try to talk to whoever made the modifications before reporting the
866       problem to us. Please also try to convince whoever made the
867       modifications to talk to us. If you think somebody gave you a modified
868       Privoxy version without complying to the license, please let us
869       know.</p>
870     </div>
871   </div>
872
873   <div class="NAVFOOTER">
874     <hr align="left" width="100%">
875
876     <table summary="Footer navigation table" width="100%" border="0"
877     cellpadding="0" cellspacing="0">
878       <tr>
879         <td width="33%" align="left" valign="top"><a href=
880         "configuration.html" accesskey="P">Prev</a></td>
881
882         <td width="34%" align="center" valign="top"><a href="index.html"
883         accesskey="H">Home</a></td>
884
885         <td width="33%" align="right" valign="top"><a href="trouble.html"
886         accesskey="N">Next</a></td>
887       </tr>
888
889       <tr>
890         <td width="33%" align="left" valign="top">Configuration</td>
891
892         <td width="34%" align="center" valign="top">&nbsp;</td>
893
894         <td width="33%" align="right" valign="top">Troubleshooting</td>
895       </tr>
896     </table>
897   </div>
898 </body>
899 </html>