Update another link to the default.action file
[privoxy.git] / doc / source / faq.sgml
1 <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V3.1//EN"[
2 <!entity % dummy "IGNORE">
3 <!entity supported SYSTEM "supported.sgml">
4 <!entity newfeatures SYSTEM "newfeatures.sgml">
5 <!entity p-intro SYSTEM "privoxy.sgml">
6 <!entity seealso SYSTEM "seealso.sgml">
7 <!entity contacting SYSTEM "contacting.sgml">
8 <!entity history SYSTEM "history.sgml">
9 <!entity copyright SYSTEM "copyright.sgml">
10 <!entity license SYSTEM "license.sgml">
11 <!entity p-version "3.0.29">
12 <!entity p-status "stable">
13 <!entity % p-not-stable "IGNORE">
14 <!entity % p-stable "INCLUDE">
15 <!entity % p-text "IGNORE">        <!-- define we are not a text only doc -->
16 <!entity % p-doc "INCLUDE">        <!-- and we are a formal doc           -->
17 <!entity % p-supp-userman "INCLUDE"> <!-- Include all from supported.sgml -->
18 <!entity  my-copy "&copy;">          <!-- kludge for docbook2man          -->
19 <!entity % p-newstuff "INCLUDE">      <!-- exclude stuff from devel versions -->
20 <!entity % seealso-extra "INCLUDE"> <!-- extra stuff from seealso.sgml    -->
21 <!entity  my-app "<application>Privoxy</application>">
22 ]>
23 <!--
24  File        :  doc/source/faq.sgml
25
26  Purpose     :  FAQ
27
28  Copyright (C) 2001-2020 Privoxy Developers https://www.privoxy.org/
29  See LICENSE.
30
31  Based partially on the Internet Junkbuster FAQ originally written by and
32  Copyright (C) 1997 Anonymous Coders and Junkbusters Corporation.
33  http://www.junkbusters.com/
34
35  <Qandaset defaultlabel='qanda'>
36   <QandAEntry>
37    <question>
38     <para>
39      How are you?
40     </para>
41    </question>
42    <answer>
43     <para>
44      Fine.
45     </para>
46    </answer>
47   </QandAEntry>
48  </QandASet>
49
50  ========================================================================
51  NOTE: Please read developer-manual/documentation.html before touching
52  this file!
53
54  Please we keep the info in this file as version independent as possible
55  so we only have to maintain one FAQ. Where significant changes are
56  made to Privoxy configuration, please note the change in such a way that
57  it makes sense to both users of older and newer versions.
58  ========================================================================
59
60
61 -->
62
63
64 <article id="index" class="faq">
65 <artheader>
66 <title>Privoxy Frequently Asked Questions</title>
67
68 <pubdate>
69  <subscript>
70 <!-- Completely the wrong markup, but very little is allowed  -->
71 <!-- in this part of an article. FIXME -->
72  <link linkend="copyright">Copyright</link> &my-copy; 2001-2020 by
73  <ulink url="https://www.privoxy.org/">Privoxy Developers</ulink>
74  </subscript>
75 </pubdate>
76
77 <!--
78
79 Note: this should generate a separate page, and a live link to it.
80 But it doesn't for some mysterious reason. Please leave commented
81 unless it can be fixed proper. For the time being, the copyright
82 statement will be in copyright.smgl.
83
84 Hal.
85
86 <legalnotice id="legalnotice">
87  <para>
88   text goes here ........
89  </para>
90 </legalnotice>
91
92 -->
93
94 <!--
95 <authorgroup>
96  <author>
97   <affiliation>
98    <orgname>By: Privoxy Developers</orgname>
99    </affiliation>
100  </author>
101 </authorgroup>
102 -->
103 <abstract>
104 <![%dummy;[
105 <para>
106  <comment>
107   This is here to keep vim syntax file from breaking :/
108   If I knew enough to fix it, I would.
109   PLEASE DO NOT REMOVE! HB: hal@foobox.net
110  </comment>
111 </para>
112 ]]>
113  <para>
114  This FAQ gives quick answers to frequently asked questions about
115  <ulink url="https://www.privoxy.org/">Privoxy</ulink>.
116  It is not a substitute for the
117  <ulink url="../user-manual/index.html"><citetitle>Privoxy User Manual</citetitle></ulink>.
118  </para>
119
120 <!-- Include privoxy.sgml boilerplate: -->
121  <para>What is Privoxy?</para> &p-intro;
122 <!-- end boilerplate -->
123
124  <para>
125   Please note that this document is a work in progress. This copy represents
126   the state at the release of version &p-version;.
127   You can find the latest version of the document at <ulink
128   url="https://www.privoxy.org/faq/">https://www.privoxy.org/faq/</ulink>.
129   Please see the <link linkend="contact">Contact section</link> if you want to
130   contact the developers.
131  </para>
132
133 </abstract>
134 </artheader>
135
136
137 <!--   ~~~~~       New section      ~~~~~     -->
138
139 <sect1 id="general"><title>General Information</title>
140 <sect2 renderas="sect3" id="who-uses"><title>Who should give &my-app; a try?</title>
141  <para>
142   Anyone who is interested in security, privacy, or in
143   finer-grained control over their web and Internet experience.
144  </para>
145 </sect2>
146
147 <sect2 renderas="sect3" id="bestchoice"><title>Is Privoxy the best choice for
148 me?</title>
149  <para>
150   &my-app; is certainly a good choice, especially for those who want more
151   control and security. Those with the willingness to read the documentation
152   and the ability to fine-tune their installation will benefit the most.
153  </para>
154  <para>
155   One of <application>Privoxy's</application>
156   strengths is that it is highly configurable giving you the ability to
157   completely personalize your installation. Being familiar with, or at least
158   having an interest in learning about <ulink
159   url="http://en.wikipedia.org/wiki/Http">HTTP</ulink> and other networking
160   protocols, <ulink url="http://en.wikipedia.org/wiki/Html">HTML</ulink>, and
161   <ulink url="http://en.wikipedia.org/wiki/Regular_expressions"><quote>Regular
162   Expressions</quote></ulink>
163   will be a big plus and will help you get the most out of &my-app;.
164   A new installation just includes a very basic configuration. The user
165   should take this as a starting point only, and enhance it as he or she
166   sees fit. In fact, the user is encouraged, and expected to, fine-tune the
167   configuration.
168  </para>
169  <para>
170   Much of <application>Privoxy's</application> configuration can be done
171   with a <ulink url="http://en.wikipedia.org/wiki/Web_browser">Web browser</ulink>.
172   But there are areas where configuration is done using a
173   <ulink url="http://en.wikipedia.org/wiki/Text_editors">text editor</ulink>
174   to edit configuration files. Also note that the web-based action editor
175   doesn't use authentication and should only be enabled in environments
176   where all clients with access to &my-app; listening port can be trusted.
177   </para>
178 </sect2>
179
180 <sect2 renderas="sect3" id="proxymoron"><title>What is a <quote>proxy</quote>? How does
181 Privoxy work? </title>
182  <para>
183   A <ulink url="http://en.wikipedia.org/wiki/Proxy_server">web proxy</ulink>
184   is a service, based on a software such as &my-app;, that clients
185   (i.e. browsers) can use instead of connecting to web servers directly.
186   The clients then ask the proxy to request objects (web pages, images, movies etc)
187   on their behalf and to forward the data to the clients.
188   It is a <quote>go-between</quote>. For details, see
189   <ulink url="http://en.wikipedia.org/wiki/Proxy_server">Wikipedia's proxy definition</ulink>.
190  </para>
191  <para>
192   There are many reasons to use web proxies, such as security (firewalling),
193   efficiency (caching) and others, and there are any number of proxies
194   to accommodate those needs.
195  </para>
196  <para>
197   &my-app; is a proxy that is primarily focused on
198   privacy enhancement, ad and junk elimination and freeing the user from
199   restrictions placed on his activities. Sitting between your browser(s) and the Internet,
200   it is in a perfect position to filter outbound personal information that your
201   browser is leaking, as well as inbound junk. It uses a variety of techniques to do
202   this, all of which are under your complete control via the various configuration
203   files and options. Being a proxy also makes it easier to share
204   configurations among multiple browsers and/or users.
205  </para>
206 </sect2>
207
208 <sect2 renderas="sect3" id="otherstuff">
209 <title>Does Privoxy do anything more than ad blocking?</title>
210  <para>
211   Yes, ad blocking is but one possible use. There are many, many ways &my-app;
212   can be used to sanitize and customize web browsing.
213 </para>
214 </sect2>
215
216 <sect2 renderas="sect3" id="newjb"><title>What is this new version of
217 <quote><citetitle>Junkbuster</citetitle></quote>?</title>
218
219 <!-- Include history.sgml -->
220  &history;
221 <!-- end -->
222
223 </sect2>
224
225
226 <sect2 renderas="sect3" id="whyprivoxy">
227 <title>Why <quote>Privoxy</quote>? Why change the name from
228 Junkbuster at all?</title>
229 <para>
230  Though outdated, Junkbusters Corporation continued to offer their original
231  version of the <application>Internet Junkbuster</application> for a while,
232  so publishing our <application> Junkbuster</application>-derived software
233  under the same name would have led to confusion.
234 </para>
235 <para>
236  There were also potential legal reasons not to use the
237  <application>Junkbuster</application> name, as it was (and maybe still is)
238  a registered trademark of Junkbusters Corporation.
239  There were, however, no objections from Junkbusters Corporation to the
240  <application>Privoxy</application> project itself, and they, in fact,
241  shared our ideals and goals.
242 </para>
243 <para>
244  The Privoxy developers also believed that there were so many improvements
245  over the original code, that it was time to make a clean break from the past
246  and make a name in their own right.
247 </para>
248 <para>
249  <application>Privoxy</application> is the
250  <quote><emphasis>Privacy Enhancing Proxy</emphasis></quote>. Also, its content
251  modification and junk suppression gives <emphasis>you</emphasis>, the user, more
252  control, more freedom, and allows you to browse your personal and
253  <quote><emphasis>private</emphasis> edition</quote> of the web.
254 </para>
255 </sect2>
256
257 <sect2 renderas="sect3" id="differs"><title>How does Privoxy differ
258 from the old Junkbuster?</title>
259 <para>
260  <application>Privoxy</application> picks up where
261  <application>Junkbuster</application> left off.
262  <application>Privoxy</application> still blocks ads and banners,
263  still manages <ulink
264  url="http://en.wikipedia.org/wiki/Browser_cookie">cookies</ulink>, and still
265  helps protect your privacy. But, most of these features have been enhanced,
266  and many new ones have been added, all in the same vein.
267  </para>
268 <para>
269  <application>Privoxy</application>'s new features include:
270 </para>
271
272 <!-- Include newfeatures.sgml: -->
273  &newfeatures;
274 <!-- end include -->
275
276 </sect2>
277
278 <sect2 renderas="sect3" id="whatsanad">
279 <title>How does Privoxy know what is an ad, and what is not?</title>
280 <para>
281  <application>Privoxy</application>'s approach to blocking ads is twofold:
282 </para>
283 <para>
284  First, there are certain patterns in the <emphasis>locations</emphasis> (URLs)
285  of banner images. This applies to both the path (you wouldn't guess how many
286  web sites serve their banners from a directory called <quote>banners</quote>!)
287  and the host (blocking the big banner hosting services like doublecklick.net
288  already helps a lot). <application>Privoxy</application> takes advantage of this
289  fact by using <ulink url="../user-manual/actions-file.html#AF-PATTERNS">URL
290  patterns</ulink> to sort out and block the requests for things that sound
291  like they would be ads or banners.
292 </para>
293 <para>
294  Second, banners tend to come in certain <emphasis>sizes</emphasis>. But you
295  can't tell the size of an image by its URL without downloading it, and if you
296  do, it's too late to save bandwidth. Therefore, <application>Privoxy</application>
297  also inspects the HTML sources of web pages while they are loaded, and replaces
298  references to images with standard banner sizes by dummy references, so that
299  your browser doesn't request them anymore in the first place.
300 </para>
301 <para>
302  Both of this involves a certain amount of guesswork and is, of course, freely
303  and readily configurable.
304 </para>
305 </sect2>
306
307 <sect2 renderas="sect3" id="mistakes">
308 <title>Can Privoxy make mistakes?
309 This does not sound very scientific.</title>
310 <para>
311  Actually, it's a black art ;-) And yes, it is always possible to have a broad
312  rule accidentally block or change something by mistake. You will almost surely
313  run into such situations at some point. It is tricky writing rules to
314  cover every conceivable possibility, and not occasionally get false positives.
315 </para>
316
317 <para>
318  But this should not be a big concern since the
319  <application>Privoxy</application> configuration is very flexible, and
320  includes tools to help identify these types of situations so they can be
321  addressed as needed, allowing you to customize your installation.
322  (<link linkend="badsite">See the Troubleshooting section below</link>.)
323 </para>
324
325 </sect2>
326
327 <sect2 renderas="sect3" id="configornot">
328 <title>Will I have to configure Privoxy
329  before I can use it?</title>
330 <para>
331  That depends on your expectations.
332  The default installation should give you a good starting
333  point, and block <emphasis>most</emphasis> ads and unwanted content,
334  but many of the more advanced features are off by default, and require
335  you to activate them.
336 </para>
337 <para>
338  You do have to set up your browser to use
339  <application>Privoxy</application> (see the <link
340  linkend="firststep">Installation section below</link>).
341 </para>
342 <para>
343  And you will certainly run into situations where there are false positives,
344  or ads not being blocked that you may not want to see. In these cases, you
345  would certainly benefit by customizing <application>Privoxy's</application>
346  configuration to more closely match your individual situation. And we
347  encourage you to do this. This is where the real power of
348  <application>Privoxy</application> lies!
349 </para>
350
351 </sect2>
352
353 <sect2 renderas="sect3" id="lan">
354 <title>Can Privoxy run as a server on a network?</title>
355  <para>
356   Yes, &my-app; runs as a server already, and can easily be configured to
357   <quote>serve</quote> more than one client. See <link linkend="lanconfig">
358   How can I set up Privoxy to act as a proxy for my LAN</link> below.
359 </para>
360 </sect2>
361
362 <sect2 renderas="sect3" id="browsers2"><title>My browser does the same things as
363 Privoxy. Why should I use Privoxy at all?</title>
364  <para>
365   Modern browsers do indeed have <emphasis>some</emphasis> of the same
366   functionality as <application>Privoxy</application>. Maybe this is
367   adequate for you. But <application>Privoxy</application> is very
368   versatile and powerful, and can probably do a number of things
369   your browser just can't.
370  </para>
371  <para>
372   In addition, a proxy is good choice if you use multiple browsers, or
373   have a LAN with multiple computers since &my-app; can run as a server
374   application. This way all the configuration is in one place, and you don't
375   have to maintain a similar configuration for possibly many browsers or
376   users.
377  </para>
378  <para>
379   Note, however, that it's recommended to leverage both your browser's
380   and <application>Privoxy's</application> privacy enhancing features
381   at the same time. While your browser probably lacks some features
382   &my-app; offers, it should also be able to do some things more
383   reliably, for example restricting and suppressing JavaScript.
384  </para>
385 </sect2>
386
387 <sect2 renderas="sect3" id="whytrust"><title>Why should I trust Privoxy?</title>
388  <para>
389   The most important reason is because you have access to
390   <emphasis>everything</emphasis>, and you can control everything. You can
391   check every line of every configuration file yourself. You can check every
392   last bit of source code should you desire. And even if you can't read code,
393   there should be some comfort in knowing that <!-- thousands of -->other people can,
394   and do read it. You can build the software from scratch, if you want,
395   so that you know the executable is clean, and that it is
396   <emphasis>yours</emphasis>. In fact, we encourage this level of scrutiny. It
397   is one reason we use &my-app; ourselves.
398  </para>
399 </sect2>
400
401 <sect2 renderas="sect3" id="license"><title>Is there is a license or fee? What about a
402 warranty? Registration?</title>
403  <para>
404   <application>Privoxy</application> is free software and licensed under the <ulink
405   url="http://www.gnu.org/licenses/old-licenses/gpl-2.0.html">GNU General Public License (GPL) version 2</ulink>.
406   It is free to use, copy, modify or distribute as you wish under the terms of this
407   license.  Please see the <link linkend="copyright">Copyright</link> section for more
408   information on the license and copyright. Or the <filename>LICENSE</filename> file
409   that should be included.
410  </para>
411  <para>
412   There is <emphasis>no warranty</emphasis> of any kind, expressed, implied or otherwise.
413   That is something that would cost real money ;-) There is no registration either.
414  </para>
415
416 </sect2>
417
418 <sect2 renderas="sect3" id="spyware">
419 <title>Can Privoxy remove spyware? Adware? Viruses?</title>
420 <para>
421  No, at least not reliably enough to trust it. &my-app; is not designed to be
422  a malware removal tool and the default configuration doesn't even try to
423  filter out any malware.
424 </para>
425 <para>
426  &my-app; could help prevent contact from (known) sites that use such
427  tactics with appropriate configuration rules, and thus could conceivably
428  prevent contamination from such sites. However, keeping such a configuration
429  up to date would require a lot of time and effort that would be better spend
430  on keeping your software itself up to date so it doesn't have known
431  vulnerabilities.
432 </para>
433 </sect2>
434
435
436 <sect2 renderas="sect3" id="otherads">
437 <title>Can I use Privoxy with other ad-blocking software?</title>
438 <para>
439  &my-app; should work fine with other proxies and other software in general.
440 </para>
441 <para>
442  But it is probably not necessary to use &my-app; in conjunction with other
443  ad-blocking products, and this could conceivably cause undesirable results.
444  It might be better to choose one software or the other and work a little to
445  tweak its configuration to your liking.
446 </para>
447 <para>
448  Note that this is an advice specific to ad blocking.
449 </para>
450 </sect2>
451
452 <sect2 renderas="sect3" id="help-the-developers"><title>I would like to help you, what can I do?</title>
453
454 <sect3 renderas="sect4" id="participate"><title>Would you like to participate?</title>
455 <para>
456    Well, we <emphasis>always</emphasis> need help. There is something for
457    everybody who wants to help us. We welcome new developers, packagers,
458    testers, documentation writers or really anyone with a desire to help in
459    any way. You <emphasis>DO NOT</emphasis> need to be a
460    <quote>programmer</quote>. There are many other tasks available. In fact,
461    the programmers often can't spend as much time programming because of some
462    of the other, more mundane things that need to be done, like checking the
463    Tracker feedback sections or responding to user questions on the mailing
464    lists.
465  </para>
466  <para>
467   So first thing, subscribe to the <ulink
468    url="https://lists.privoxy.org/mailman/listinfo/privoxy-users">Privoxy Users</ulink>
469   or the <ulink url="https://lists.privoxy.org/mailman/listinfo/privoxy-devel">Privoxy
470   Developers</ulink> mailing list, join the discussion, help out other users, provide general
471   feedback or report problems you noticed.
472  </para>
473  <para>
474   If you intend to help out with the trackers, you also might want to <ulink
475    url="https://sourceforge.net/user/registration">get an account on SourceForge.net</ulink>
476    so we don't confuse you with the other name-less users.
477  </para>
478  <para>
479    We also have a <ulink
480    url="../developer-manual/index.html">Developer's Manual</ulink>.
481    While it is partly out of date, it's still worth reading.
482 </para>
483 <para>
484    Our <ulink url="https://www.privoxy.org/gitweb/?p=privoxy.git;a=blob_plain;f=TODO;hb=HEAD">TODO list</ulink>
485    may be of interest to you as well.
486    Please let us know if you want to work on one of the items listed.
487 </para>
488 </sect3>
489
490 <sect3 renderas="sect4" id="donate"><title>Would you like to donate?</title>
491 <para>
492  Donations are welcome. Our
493  <ulink url="https://www.privoxy.org/gitweb/?p=privoxy.git;a=blob_plain;f=TODO;hb=HEAD">TODO list</ulink>
494  is rather long and being able to pay one (or more) developers to work on Privoxy
495  would make a huge difference, even if it was only for a couple of weeks. Donations may
496  also be used for Privoxy-related travel expenses (for example to attend conferences),
497  for hardware used for Privoxy development and for hosting expenses etc.
498 </para>
499
500 <para>
501  <application>Privoxy</application> is an associated
502  project of <ulink url="https://www.spi-inc.org/">Software
503  in the Public Interest (SPI)</ulink>, which allows us to receive
504  tax-deductible donations in the United States.
505  You can <ulink url="https://www.spi-inc.org/projects/privoxy/">donate via Paypal</ulink>
506  and <ulink url="https://co.clickandpledge.com/advanced/default.aspx?wid=34115">Click & Pledge</ulink>.
507  For details, please have a look at
508  <ulink url="https://www.spi-inc.org/donations">SPI's general donation page</ulink>.
509 </para>
510
511 <para>
512  If you have any questions regarding donations please mail to either the
513  public user mailing list or, if it's a private matter, to
514  <ulink url="mailto:fk@fabiankeil.de">Fabian Keil</ulink> (Privoxy's SPI liaison)
515  directly.
516 </para>
517 </sect3>
518 </sect2>
519 <sect2 id="sponsor"><title>How can I become a sponsor and get my logo or link on privoxy.org?</title>
520 <para>
521  We are currently offering the following sponsor levels as an experiment:
522 </para>
523 <variablelist>
524  <varlistentry>
525   <term>Gold (12000 USD/year)</term>
526   <listitem>
527    <para>
528     Logo or text link shown at the bottom of the
529     <ulink url="https://www.privoxy.org/">Privoxy homepage</ulink>.
530     Logo, link and self description on the
531     <ulink url="https://www.privoxy.org/sponsors/">sponsor page</ulink>.
532    </para>
533   </listitem>
534  </varlistentry>
535  <varlistentry>
536   <term>Silver (1200 USD/year)</term>
537   <listitem>
538    <para>
539     Logo or text link shown at the bottom of the
540     <ulink url="https://www.privoxy.org/">Privoxy homepage</ulink>.
541     Logo, link and self description on the
542     <ulink url="https://www.privoxy.org/sponsors/">sponsor page</ulink>.
543    </para>
544   </listitem>
545  </varlistentry>
546  <varlistentry>
547   <term>Bronze (600 USD/year)</term>
548   <listitem>
549    <para>
550     Logo and link on the <ulink url="https://www.privoxy.org/sponsors/">sponsor page</ulink>.
551    </para>
552   </listitem>
553  </varlistentry>
554 </variablelist>
555 <para>
556  The logo sizes depend on the sponsor level. Logos are served from
557  our server, no requests are made to the sponsor website unless
558  the links are being used.
559 </para>
560 <para>
561  The details may change over time but changes will only affect new sponsors
562  (or existing sponsors that explicitly agreed to the changes).
563 </para>
564 <para>
565  If you want to become a sponsor, please contact
566  <ulink url="mailto:fk@fabiankeil.de">Fabian Keil</ulink>.
567  New sponsors are only accepted if no developer objects.
568 </para>
569
570 </sect2>
571
572 </sect1>
573
574
575 <!--   ~~~~~       New section      ~~~~~     -->
576
577 <sect1  id="installation"><title>Installation</title>
578
579 <sect2 renderas="sect3" id="whichbrowsers">
580 <title>Which browsers are supported by Privoxy?</title>
581 <para>
582  Any browser that can be configured to use a proxy, which
583  should be virtually all browsers, including
584  <application>Firefox</application>, <application>Internet
585  Explorer</application>, <application>Opera</application>, and
586  <application>Safari</application> among others.
587  Direct browser support is not an absolute requirement since
588  <application>Privoxy</application> runs as a separate application and talks
589  to the browser in the standardized HTTP protocol, just like a web server
590  does.
591 </para>
592 </sect2>
593
594 <sect2 renderas="sect3" id="whichos">
595 <title>Which operating systems are supported?</title>
596 <!--
597 Include supported.sgml here:
598 -->
599 &supported;
600 </sect2>
601
602 <sect2 renderas="sect3" id="email-client">
603 <title>Can I use Privoxy with my email client?</title>
604 <para>
605  As long as there is some way to set a HTTP proxy for the client, then yes,
606  any application can be used, whether it is strictly speaking a
607  <quote>browser</quote> or not. Though this may not be the best approach for
608  dealing with some of the common abuses of HTML in email. See <link
609  linkend="outlook">How can I configure <application>Privoxy</application>
610  with <application>Outlook</application>?</link> below for more on
611  this.
612 </para>
613 <para>
614  Be aware that HTML email presents a number of unique security and privacy
615  related issues, that can require advanced skills to overcome. The developers
616  recommend using email clients that can be configured to convert HTML to plain
617  text for these reasons.
618 </para>
619 </sect2>
620
621 <!-- Nobody is going to still be doing this!
622 <sect2 renderas="sect3" id="newinstall"><title>Can I install
623  Privoxy over Junkbuster?</title>
624  <para>
625    We recommend you un-install <application>Junkbuster</application>
626    first to minimize conflicts and confusion. You may want to
627    save your old configuration files for future reference. The configuration
628    files and syntax have substantially changed, so you will need to manually
629    port your old patterns. See the <ulink url="../user-manual/upgradersnote.html">note
630    to upgraders</ulink> and <ulink url="../user-manual/installation.html">installation
631    chapter</ulink> in the <ulink url="../user-manual/index.html">User Manual</ulink>
632    for details.
633  </para>
634  <para>
635   Note: Some installers may automatically un-install
636   <application>Junkbuster</application>, if present!
637  </para>
638
639 </sect2>
640 -->
641
642 <sect2 renderas="sect3" id="firststep">
643 <title>I just installed Privoxy. Is there anything
644 special I have to do now?</title>
645
646 <para>
647  All browsers should be told to use <application>Privoxy</application>
648  as a proxy by specifying the correct proxy address and port number
649  in the appropriate configuration area for the browser. It's possible
650  to combine &my-app; with a packet filter to intercept HTTP requests
651  even if the client isn't explicitly configured to use &my-app;,
652  but where possible, configuring the client is recommended. See
653  <ulink url="../user-manual/startup.html">the User Manual for more
654  details</ulink>. You should also flush your browser's memory and disk
655  cache to get rid of any cached junk items, and remove any stored
656  <ulink url="http://en.wikipedia.org/wiki/Browser_cookie">cookies</ulink>.
657 </para>
658
659 </sect2>
660
661 <sect2 renderas="sect3" id="localhost"><title>What is the proxy address of Privoxy?</title>
662  <para>
663   If you set up the <application>Privoxy</application> to run on
664   the computer you browse from (rather than your ISP's server or some
665   networked computer on a LAN), the proxy will be on <literal>127.0.0.1</literal>
666   (sometimes referred to as <quote>localhost</quote>,
667   which is the special name used by every computer on the Internet to refer
668   to itself) and the port will be 8118 (unless you used the <ulink
669   url="../user-manual/config.html#LISTEN-ADDRESS">listen-address</ulink>
670   config option to tell <application>Privoxy</application> to run on
671   a different port).
672  </para>
673  <para>
674   When configuring your browser's proxy settings you typically enter
675   the word <quote>localhost</quote> or the IP address <quote>127.0.0.1</quote>
676   in the boxes next to <quote>HTTP</quote> and <quote>Secure</quote> (HTTPS) and
677   then the number <quote>8118</quote> for <quote>port</quote>.
678   This tells your browser to send all web requests to <application>Privoxy</application>
679   instead of directly to the Internet.
680  </para>
681  <para>
682   <application>Privoxy</application> can also be used to proxy for
683   a Local Area Network. In this case, your would enter either the IP
684   address of the LAN host where <application>Privoxy</application>
685   is running, or the equivalent hostname, e.g. <literal>192.168.1.1</literal>.
686   Port assignment would be same as above. Note that
687   <application>Privoxy</application> doesn't listen on any LAN interfaces by
688   default.
689  </para>
690  <para>
691   <application>Privoxy</application> does not currently handle
692   any other protocols such as FTP, SMTP, IM, IRC, ICQ, etc.
693  </para>
694 </sect2>
695
696 <sect2 renderas="sect3" id="nothing">
697 <title>I just installed Privoxy, and nothing is happening.
698 All the ads are there. What's wrong?</title>
699
700 <para>
701  Did you configure your browser to use <application>Privoxy</application>
702  as a proxy? It does not sound like it. See above. You might also try flushing
703  the browser's caches to force a full re-reading of pages. You can verify
704  that <application>Privoxy</application> is running, and your browser
705  is correctly configured by entering the special URL:
706  <ulink url="http://p.p/">http://p.p/</ulink>.
707  <!-- Use http://p.p/ instead of http://config.privoxy.org/ here because
708       of potential redirect caching problem (see next Q). -->
709  This should take you to a page titled <quote>This is Privoxy..</quote> with
710  access to <application>Privoxy's</application> internal configuration.
711  If you see this, then you are good to go. If you receive a page saying
712  <quote>Privoxy is not running</quote>, then the browser is not set up to use
713  your <application>Privoxy</application> installation.
714  If you receive anything else (probably nothing at all), it could either
715  be that the browser is not set up correctly, or that
716  <application>Privoxy</application> is not running at all. Check the <ulink
717  url="../user-manual/config.html#LOGFILE">log file</ulink>. For instructions
718  on starting <application>Privoxy</application> and browser configuration,
719  see the <ulink url="https://www.privoxy.org/user-manual/startup.html">chapter
720  on starting <application>Privoxy</application></ulink> in the
721  <ulink url="https://www.privoxy.org/user-manual/">User Manual</ulink>.
722 </para>
723
724 </sect2>
725
726 <sect2 renderas="sect3" id="notused">
727 <title>I get a <quote>Privoxy is not being used</quote> dummy page although
728 Privoxy is running and being used.</title>
729
730 <para>
731  First, make sure that Privoxy is <emphasis>really</emphasis> running and
732  being used by visiting <ulink url="http://p.p/">http://p.p/</ulink>. You
733  should see the <application>Privoxy</application> main page. If not, see
734  the <ulink url="https://www.privoxy.org/user-manual/startup.html">chapter
735  on starting <application>Privoxy</application></ulink> in the
736  <ulink url="https://www.privoxy.org/user-manual/">User Manual</ulink>.
737 </para>
738
739 <para>
740  Now if <ulink url="http://p.p/">http://p.p/</ulink> works for you, but
741  other parts of <application>Privoxy</application>'s web interface show
742  the dummy page, your browser has cached a redirection it encountered before
743  <application>Privoxy</application> was being used. You need to clear your
744  browser's cache. Note that shift-reloading the dummy page won't help, since
745  that'll only refresh the dummy page, not the redirection that lead you there.
746 </para>
747
748 <para>
749  The procedure for clearing the cache varies from browser to browser. For
750  example, <application>Mozilla/Netscape</application> users would click
751  <guibutton>Edit</guibutton> --> <guibutton>Preferences</guibutton> -->
752  <guibutton>Advanced</guibutton> --> <guibutton>Cache</guibutton> and
753  then click both <quote><guibutton>Clear Memory Cache</guibutton></quote>
754  and <quote><guibutton>Clear Disk Cache</guibutton></quote>.
755  In some <application>Firefox</application> versions it's
756  <guibutton>Tools</guibutton> --> <guibutton>Options</guibutton> -->
757  <guibutton>Privacy</guibutton> --> <guibutton>Cache</guibutton> and
758  then click <quote><guibutton>Clear Cache Now</guibutton></quote>.
759  <!-- In my Firefox versions it's the Netscape way. fk 2007-11-19-->
760 </para>
761 </sect2>
762
763 </sect1>
764
765
766 <!--   ~~~~~       New section      ~~~~~     -->
767
768 <sect1 id="configuration"><title>Configuration</title>
769 <sect2 renderas="sect3" id="actionsfile">
770 <title>What exactly is an <quote>actions</quote> file?</title>
771
772 <para>
773  &my-app; utilizes the concept of <quote>
774  <ulink url="../user-manual/actions-file.html#ACTIONS">actions</ulink></quote>
775  that are used to manipulate and control web page data.
776  <ulink url="../user-manual/actions-file.html">Actions files</ulink>
777  are where these <ulink url="../user-manual/actions-file.html#ACTIONS">actions</ulink>
778  that <application>Privoxy</application> could take while processing a certain
779  request, are configured. Typically, you would define a set of default actions
780  that apply globally to all URLs, then add exceptions to these defaults where needed.
781  There is a wide array of actions available that give the user a high degree
782  of control and flexibility on how to process each and every web page.
783 </para>
784
785 <para>
786  Actions can be defined on a <ulink
787  url="../user-manual/actions-file.html#AF-PATTERNS">URL pattern</ulink> basis, i.e.
788  for single URLs, whole web sites, groups or parts thereof etc. Actions can also be
789  grouped together and then applied to requests matching one or more patterns.
790  There are many possible actions that might apply to any given site. As an example,
791  if you are blocking <ulink url="http://en.wikipedia.org/wiki/Browser_cookie">cookies</ulink>
792  as one of your default actions, but need to accept cookies from a given site,
793  you would need to define an exception for this site in one of your actions
794  files, preferably in <filename>user.action</filename>.
795 </para>
796
797 </sect2>
798
799 <sect2 renderas="sect3" id="actionss">
800 <title>The <quote>actions</quote> concept confuses me. Please list
801 some of these <quote>actions</quote>.</title>
802 <para>
803  For a comprehensive discussion of the actions concept, please refer
804  to the <ulink url="../user-manual/actions-file.html">actions file
805  chapter</ulink> in the <ulink url="../user-manual/index.html">User
806  Manual</ulink>. It includes a <ulink
807  url="../user-manual/actions-file.html#ACTIONS">list of all actions</ulink>
808  and an <ulink url="../user-manual/actions-file.html#ACT-EXAMPLES">actions
809  file tutorial</ulink> to get you started.
810 </para>
811 </sect2>
812
813
814 <sect2 renderas="sect3" id="actconfig">
815 <title>How are actions files configured? What is the easiest
816 way to do this?</title>
817
818 <para>
819  Actions files are just text files in a special syntax and can be edited
820  with a text editor. But probably the easiest way is to access
821  <application>Privoxy</application>'s user interface with your web browser
822  at <ulink url="http://config.privoxy.org/">http://config.privoxy.org/</ulink>
823  (Shortcut: <ulink url="http://p.p/">http://p.p/</ulink>) and then select
824  <quote><ulink url="http://config.privoxy.org/show-status">View &
825  change the current configuration</ulink></quote> from the menu. Note
826  that this feature must be explicitly enabled in the main config file
827  (see <ulink
828  url="../user-manual/config.html#ENABLE-EDIT-ACTIONS">enable-edit-actions</ulink>).
829 </para>
830 </sect2>
831
832
833 <sect2 renderas="sect3">
834 <title>There are several different <quote>actions</quote> files. What are
835 the differences?</title>
836 <para>
837  Please have a look at the <ulink url="../user-manual/actions-file.html">the actions chapter</ulink>
838  in the <ulink url="../user-manual/index.html">User Manual</ulink> for a detailed explanation.
839 </para>
840
841 </sect2>
842
843 <sect2 renderas="sect3" id="getupdates"><title>Where can I get updated Actions Files?</title>
844  <para>
845   Based on your feedback and the continuing development, updates of
846   <filename>default.action</filename> are available from
847   <ulink
848   url="https://www.privoxy.org/gitweb/?p=privoxy.git;a=blob_plain;f=default.action.master;hb=HEAD">git</ulink>.
849  </para>
850
851  <para>
852   If you wish to receive an email notification whenever we release updates of
853   <application>Privoxy</application> or the actions file, <ulink
854   url="https://lists.privoxy.org/mailman/listinfo/privoxy-announce">subscribe
855   to our announce mailing list</ulink>, privoxy-announce@lists.privoxy.org.
856  </para>
857
858 </sect2>
859
860 <sect2 renderas="sect3" id="newconfig"><title>Can I use my old config files?</title>
861  <para>
862   The syntax and purpose of configuration files has remained roughly the
863   same throughout the 3.x series, but backwards compatibility is not guaranteed.
864   Also each release contains updated, <quote>improved</quote> versions and it is
865   therefore strongly recommended to install the newer configuration files
866   and merge back your modifications.
867  </para>
868 </sect2>
869
870 <sect2 renderas="sect3" id="difficult">
871 <title>Why is the configuration so complicated?</title>
872  <para>
873   <quote>Complicated</quote> is in the eye of the beholder.
874  </para>
875  <para>
876   Privoxy is currently mainly written by and for people who are already
877   familiar with the underlying concepts like regular expressions, HTTP and HTML,
878   or are willing to become familiar with them to be able to get the most
879   out of a powerful and flexible tool such as Privoxy.
880  </para>
881  <para>
882   While everybody is expected to be able to get a Privoxy default installation
883   up and running, fine-tuning requires a certain amount of background
884   information and Privoxy's documentation mainly concentrates on the
885   Privoxy-specific parts while only providing references to the rest.
886  </para>
887  <para>
888   If you or anyone you know has the skills, time and energy to
889   reduce the barrier of entry, please <link linkend="participate">get involved</link>.
890  </para>
891 </sect2>
892
893 <sect2 renderas="sect3" id="yahoo"><title>How can I make my Yahoo/Hotmail/Gmail account work?</title>
894  <para>
895   The default configuration shouldn't impact the usability of any of these services.
896   It may, however, make all <ulink
897  url="http://en.wikipedia.org/wiki/Browser_cookie">cookies</ulink>
898   temporary, so that your browser will forget your
899   login credentials in between browser sessions. If you would like not to have to log
900   in manually each time you access those websites, simply turn off all cookie handling
901   for them in the <filename>user.action</filename> file. An example for yahoo might
902   look like:
903  </para>
904   <screen># Allow all cookies for Yahoo login:
905 #
906 { -<ulink url="../user-manual/actions-file.html#CRUNCH-INCOMING-COOKIES">crunch-incoming-cookies</ulink> -<ulink url="../user-manual/actions-file.html#CRUNCH-OUTGOING-COOKIES">crunch-outgoing-cookies</ulink> -<ulink url="../user-manual/actions-file.html#SESSION-COOKIES-ONLY">session-cookies-only</ulink> }
907 .login.yahoo.com</screen>
908  <para>
909   These kinds of sites are often quite complex and heavy with
910   <ulink url="http://en.wikipedia.org/wiki/Javascript">Javascript</ulink> and
911   thus <quote>fragile</quote>. So if <emphasis>still</emphasis> a problem,
912   we have an <ulink
913   url="../user-manual/actions-file.html#ALIASES">alias</ulink> just for such
914   sticky situations:
915  </para>
916   <screen># Gmail is a _fragile_ site:
917 #
918 { <literal>fragile</literal> }
919  # Gmail is ...
920  mail.google.com</screen>
921  <para>
922   Be sure to flush your browser's caches whenever making these kinds of
923   changes, just to make sure the changes <quote>take</quote>.
924  </para>
925  <para>
926   Make sure the domain, host and path are appropriate as well. Your browser can
927   tell you where you are specifically and you should use that information for
928   your configuration settings. Note that above it is not referenced as
929   <literal>gmail.com</literal>, which is a valid domain name.
930  </para>
931
932 </sect2>
933
934 <sect2 renderas="sect3" id="configfiles"> <title>What's the difference between the
935 <quote>Cautious</quote>, <quote>Medium</quote> and <quote>Advanced</quote> defaults?</title>
936  <para>
937   Configuring <application>Privoxy</application> is not entirely trivial. To
938   help you get started, we provide you with three different default action
939   <quote>profiles</quote> in the web based actions file editor at <ulink
940   url="http://config.privoxy.org/show-status">http://config.privoxy.org/show-status</ulink>.
941   See the <ulink url="../user-manual/actions-file.html"><citetitle>User
942   Manual</citetitle></ulink> for a list of actions, and how the default
943   profiles are set.
944  </para>
945
946 <para>
947  Where the defaults are likely to break some sites, exceptions for
948  known popular <quote>problem</quote> sites are included, but in
949  general, the more aggressive your default settings are, the more exceptions
950  you will have to make later. New users are best to start off in
951  <quote>Cautious</quote> setting. This is safest and will have the fewest
952  problems. See the <ulink
953  url="../user-manual/index.html"><citetitle>User Manual</citetitle></ulink>
954  for a more detailed discussion.
955 </para>
956
957 <para>
958  It should be noted that the <quote>Advanced</quote> profile (formerly known
959  as the <quote>Adventuresome</quote> profile) is more
960  aggressive, and will make use of some of
961  <application>Privoxy's</application> advanced features. Use at your own risk!
962 </para>
963
964 </sect2>
965
966 <sect2 renderas="sect3" id="browseconfig"> <title>Why can I change the configuration
967 with a browser? Does that not raise security issues?</title>
968  <para>
969   It may seem strange that regular users can edit the config files with their
970   browsers, although the whole <filename>/etc/privoxy</filename> hierarchy
971   belongs to the user <quote>privoxy</quote>, with only 644 permissions.
972  </para>
973  <para>
974   When you use the browser-based editor, <application>Privoxy</application>
975   itself is writing to the config files.  Because
976   <application>Privoxy</application> is running as the user <quote>privoxy</quote>,
977   it can update its own config files.
978  </para>
979  <para>
980   If you run <application>Privoxy</application> for multiple untrusted users (e.g. in
981   a LAN) or aren't entirely in control of your own browser, you will probably want
982   to make sure that the web-based editor and remote toggle features are
983   <quote>off</quote> by setting <quote><literal><ulink
984   url="../user-manual/config.html#ENABLE-EDIT-ACTIONS">enable-edit-actions</ulink>
985   0</literal></quote> and <quote><literal><ulink
986   url="../user-manual/config.html#ENABLE-REMOTE-TOGGLE">enable-remote-toggle</ulink>
987   0</literal></quote> in the <ulink url="../user-manual/config.html">main configuration file</ulink>.
988  </para>
989  <para>
990   As of &my-app; 3.0.7 these options are disabled by default.
991  </para>
992 </sect2>
993
994
995 <sect2 renderas="sect3" id="filterfile">
996 <title>What is the <filename>default.filter</filename> file? What is a <quote>filter</quote>?</title>
997 <para>
998  The <ulink url="../user-manual/filter-file.html"><filename>default.filter</filename></ulink>
999  file is where <emphasis>filters</emphasis> as supplied by the developers are defined.
1000  Filters are a special subset of actions that can be used to modify or
1001  remove web page content or headers on the fly. Content filters can
1002  be applied to <emphasis>anything</emphasis> in the page source,
1003  header filters can be applied to either server or client headers.
1004  Regular expressions are used to accomplish this.
1005 </para>
1006 <para>
1007  There are a number of pre-defined filters to deal with common annoyances. The
1008  filters are only defined here, to invoke them, you need to use the
1009  <ulink
1010  url="../user-manual/actions-file.html#FILTER"><literal>filter</literal>
1011  action</ulink> in one of the actions files. Content filtering is automatically
1012  disabled for inappropriate MIME types, but if you know better than Privoxy
1013  what should or should not be filtered you can filter any content you like.
1014 </para>
1015 <para>
1016  Filters should
1017  <emphasis>not</emphasis> be confused with <ulink
1018  url="../user-manual/actions-file.html#BLOCK"><literal>blocks</literal></ulink>, which
1019  is a completely different action, and is more typically used to block ads and
1020  unwanted sites.
1021 </para>
1022
1023 <para>
1024  If you are familiar with regular expressions, and HTML, you can look at
1025  the provided <filename>default.filter</filename> with a text editor and define
1026  your own filters.  This is potentially a very powerful feature, but
1027  requires some expertise in both regular expressions and HTML/HTTP.
1028  <![%p-newstuff;[ You should
1029  place any modifications to the default filters, or any new ones you create
1030  in a separate file, such as <filename>user.filter</filename>, so they won't
1031  be overwritten during upgrades.
1032  The ability to define multiple filter files
1033  in <filename>config</filename> is a new feature as of v. 3.0.5.]]>
1034 </para>
1035
1036 <para>
1037  There is no GUI editor option for this part of the configuration,
1038  but you can disable/enable the various pre-defined filters of the included
1039  <filename>default.filter</filename> file with the <ulink
1040  url="http://config.privoxy.org/show-status">web-based actions file editor</ulink>.
1041  Note that the custom actions editor must be explicitly enabled in
1042  the main config file (see <ulink
1043  url="../user-manual/config.html#ENABLE-EDIT-ACTIONS">enable-edit-actions</ulink>).
1044 </para>
1045
1046 <para>
1047  If you intend to develop your own filters, you might want to have a look at
1048  <ulink
1049  url="https://www.fabiankeil.de/sourcecode/pft/">Privoxy-Filter-Test</ulink>.
1050 </para>
1051
1052 </sect2>
1053
1054 <sect2 renderas="sect3" id="lanconfig">
1055 <title>How can I set up Privoxy to act as a proxy for my
1056  LAN?</title>
1057 <para>
1058  By default, <application>Privoxy</application> only responds to requests
1059  from <literal>127.0.0.1</literal> (localhost). To have it act as a server for
1060  a network, this needs to be changed in the <ulink
1061  url="../user-manual/config.html">main configuration file</ulink>. Look for
1062  the <literal><ulink
1063  url="../user-manual/config.html#LISTEN-ADDRESS">listen-address</ulink></literal>
1064  option, which may be commented out with a <quote>#</quote> symbol. Make sure
1065  it is uncommented, and assign it the address of the LAN gateway interface,
1066  and port number to use. Assuming your LAN address is 192.168.1.1 and you
1067  wish to run <application>Privoxy</application> on port 8118, this line
1068  should look like:
1069 </para>
1070
1071  <screen>
1072   listen-address  192.168.1.1:8118</screen>
1073
1074 <para>
1075  Save the file, and restart <application>Privoxy</application>. Configure
1076  all browsers on the network then to use this address and port number.
1077 </para>
1078
1079 <para>
1080  Alternately, you can have <application>Privoxy</application> listen on
1081  all available interfaces:
1082 </para>
1083
1084  <screen>
1085   listen-address    :8118</screen>
1086
1087 <para>
1088  And then use <application>Privoxy's</application>
1089  <ulink
1090  url="../user-manual/config.html#PERMIT-ACCESS">permit-access</ulink>
1091  feature to limit connections. A firewall in this situation is recommended
1092  as well.
1093 </para>
1094
1095 <para>
1096  The above steps should be the same for any TCP network, regardless of
1097  operating system.
1098 </para>
1099
1100 <para>
1101  If you run <application>Privoxy</application> on a LAN with untrusted users,
1102  we recommend that you double-check the <ulink
1103  url="../user-manual/config.html#ACCESS-CONTROL">access control and security</ulink>
1104  options!
1105 </para>
1106
1107 </sect2>
1108
1109
1110 <sect2 renderas="sect3" id="noseeum">
1111 <title>Instead of ads, now I get a checkerboard pattern. I don't want to see anything.</title>
1112 <para>
1113  The replacement for blocked images can be controlled with the <ulink
1114  url="../user-manual/actions-file.html#SET-IMAGE-BLOCKER"><literal>set-image-blocker</literal>
1115  action</ulink>. You have the choice of a checkerboard pattern, a transparent 1x1 GIF
1116  image (aka <quote>blank</quote>), or a redirect to a custom image of your choice.
1117  Note that this choice only has effect for images which are blocked as images, i.e.
1118  whose URLs match both a <literal><ulink
1119  url="../user-manual/actions-file.html#HANDLE-AS-IMAGE">handle-as-image</ulink></literal>
1120  <emphasis>and</emphasis> <literal><ulink
1121  url="../user-manual/actions-file.html#BLOCK">block</ulink></literal> action.
1122 </para>
1123 <para>
1124  If you want to see nothing, then change the <ulink
1125  url="../user-manual/actions-file.html#SET-IMAGE-BLOCKER"><literal>set-image-blocker</literal>
1126  action</ulink> to <quote>blank</quote>. This can be done by editing the
1127  <filename>user.action</filename> file, or through the <ulink
1128  url="http://config.privoxy.org/show-status">web-based actions file editor</ulink>.
1129 </para>
1130
1131 </sect2>
1132
1133 <sect2 renderas="sect3" id="whyseeum">
1134 <title>Why would anybody want to see a checkerboard pattern?</title>
1135 <para>
1136  Remember that <link linkend="whatsanad">telling which image is an ad and which
1137  isn't</link>, is an educated guess. While we hope that the standard configuration
1138  is rather smart, it will make occasional mistakes. The checkerboard image is visually
1139  decent, and it shows you where images have been blocked, which can be very
1140  helpful in case some navigation aid or otherwise innocent image was
1141  erroneously blocked. It is recommended for new users so they can
1142  <quote>see</quote> what is happening. Some people might also enjoy seeing how
1143  many banners they <emphasis>don't</emphasis> have to see.
1144 </para>
1145
1146 </sect2>
1147
1148 <sect2 renderas="sect3" id="blockedbytext">
1149 <title>I see some images being replaced with text
1150 instead of the checkerboard image. Why and how do I get rid of this?</title>
1151 <para>
1152  This happens when the banners are not embedded in the HTML code of the
1153  page itself, but in separate HTML (sub)documents that are loaded into (i)frames
1154  or (i)layers, and these external HTML documents are blocked. Being non-images
1155  they get replaced by a substitute HTML page rather than a substitute image,
1156  which wouldn't work out technically, since the browser expects and accepts
1157  only HTML when it has requested an HTML document.
1158 </para>
1159 <para>
1160  The substitute page adapts to the available space and shows itself as a
1161  miniature two-liner if loaded into small frames, or full-blown with a
1162  large red "BLOCKED" banner if space allows.
1163 </para>
1164 <para>
1165  If you prefer the banners to be blocked by images, you must see to it that
1166  the HTML documents in which they are embedded are not blocked. Clicking
1167  the <quote>See why</quote> link offered in the substitute page will show
1168  you which rule blocked the page. After changing the rule and un-blocking
1169  the HTML documents, the browser will try to load the actual banner images
1170  and the usual image blocking will (hopefully!) kick in.
1171 </para>
1172 </sect2>
1173
1174
1175 <sect2 renderas="sect3" id="srvany">
1176 <title>Can Privoxy run as a service
1177 on Win2K/NT/XP?</title>
1178 <para>
1179  Yes. Full <application>Windows</application> service
1180  functionality was introduced in <application>Privoxy</application> 3.0.5.
1181  See <ulink url="../user-manual/installation.html#INSTALLATION-PACK-WIN">
1182  the <citetitle>User Manual</citetitle></ulink> for details on how to install and configure
1183  <application>Privoxy</application> as a service.
1184 </para>
1185 </sect2>
1186
1187
1188 <sect2 renderas="sect3" id="otherproxy">
1189 <title>How can I make Privoxy work with other proxies?</title>
1190 <para>
1191  This can be done and is often useful to combine the benefits of
1192  <application>Privoxy</application> with those of a another proxy,
1193  for example to cache content.
1194  See the <ulink
1195  url="../user-manual/config.html#FORWARDING">forwarding chapter</ulink>
1196  in the <ulink url="../user-manual/index.html">User Manual</ulink> which
1197  describes how to do this. If you intend to use Privoxy with Tor,
1198  please also have a look at
1199  <link linkend="TOR">How do I use Privoxy together with Tor</link>.
1200 </para>
1201 </sect2>
1202
1203 <sect2 renderas="sect3" id="port-80">
1204 <title>Can I just set Privoxy to use port 80
1205 and thus avoid individual browser configuration?</title>
1206
1207 <para>
1208  No, its more complicated than that. This only works with special kinds
1209  of proxies known as <quote>intercepting</quote> proxies
1210  (<link linkend="INTERCEPTING">see below</link>).
1211 </para>
1212
1213 </sect2>
1214
1215 <sect2 renderas="sect3" id="transparent">
1216 <title>Can Privoxy run as a <quote>transparent
1217 </quote> proxy?</title>
1218 <para>
1219  The whole idea of Privoxy is to modify client requests
1220  and server responses in all sorts of ways and therefore
1221  it's not a transparent proxy as described in
1222  <ulink url="http://tools.ietf.org/html/rfc2616">RFC 2616</ulink>.
1223 </para>
1224 <para>
1225  However, some people say <quote>transparent proxy</quote> when they
1226  mean <quote>intercepting proxy</quote>. If you are one of them,
1227  please read the <link linkend="INTERCEPTING">next entry</link>.
1228 </para>
1229
1230 </sect2>
1231
1232 <sect2 renderas="sect3" id="intercepting">
1233 <title>Can Privoxy run as a <quote>intercepting</quote> proxy?</title>
1234 <para>
1235  <application>Privoxy</application> can't intercept traffic itself,
1236   but it can handle requests that where intercepted and redirected
1237   with a packet filter (like <application>PF</application> or
1238   <application>iptables</application>), as long as the <literal>Host</literal>
1239   header is present.
1240   </para>
1241 <para>
1242   As the <literal>Host</literal> header is required by HTTP/1.1 and as most
1243   web sites rely on it anyway, this limitation shouldn't be a problem.
1244 </para>
1245 <para>
1246   Please refer to your packet filter's documentation to learn how to
1247   intercept and redirect traffic into <application>Privoxy</application>.
1248   Afterward you just have to configure <application>Privoxy</application> to
1249   <ulink url="../user-manual/config.html#ACCEPT-INTERCEPTED-REQUESTS">accept
1250   intercepted requests</ulink>.
1251 </para>
1252
1253 </sect2>
1254
1255 <sect2 renderas="sect3" id="outlook">
1256 <title>How can I configure Privoxy for use with Outlook?</title>
1257 <para>
1258  Versions of <application>Outlook</application> prior to Office 2007, use
1259  <application>Internet Explorer</application> components to both render HTML,
1260  and fetch any HTTP requests that may be embedded in an HTML email. So however
1261  you have <application>Privoxy</application> configured to work with IE, this
1262  configuration should automatically be shared, at least with older version of
1263  Internet Explorer.
1264 </para>
1265 <para>
1266  Starting with Office 2007, Microsoft is instead using the MS-Word rendering
1267  engine with Outlook. It is unknown whether this can be configured to use a
1268  proxy.
1269  <!-- FIXME HB 2009-02-15 -->
1270 </para>
1271 </sect2>
1272
1273 <sect2 renderas="sect3" id="outlook-more">
1274 <title>How can I have separate rules just for HTML mail?</title>
1275 <para>
1276  The short answer is, you can't. <application>Privoxy</application> has no way
1277  of knowing which particular application makes a request, so there is no way to
1278  distinguish between web pages and HTML mail.
1279  <application>Privoxy</application> just blindly proxies all requests. In the
1280  case of <application>Outlook Express</application> (see above), OE uses
1281  IE anyway, and there is no way for <application>Privoxy</application> to ever
1282  be able to distinguish between them (nor could any other proxy type application for
1283  that matter).
1284 </para>
1285 <para>
1286  For a good discussion of some of the issues involved (including privacy and
1287  security issues), see
1288  <ulink url="https://sourceforge.net/p/ijbswa/support-requests/107/"
1289   >https://sourceforge.net/p/ijbswa/support-requests/107/</ulink>.
1290 </para>
1291 </sect2>
1292
1293 <sect2 renderas="sect3" id="sneaky-cookies">
1294 <title>I sometimes notice cookies sneaking through. How?</title>
1295 <para>
1296  <ulink
1297  url="http://en.wikipedia.org/wiki/Browser_cookie">Cookies</ulink> can be
1298  set in several ways. The classic method is via the
1299  <literal>Set-Cookie</literal> HTTP header. This is straightforward, and an
1300  easy one to manipulate, such as the &my-app; concept of
1301  <ulink url="../user-manual/actions-file.html#SESSION-COOKIES-ONLY">session-cookies-only</ulink>.
1302  There is also the possibility of using
1303   <ulink url="http://en.wikipedia.org/wiki/Javascript">Javascript</ulink> to
1304  set cookies (&my-app; calls these <literal>content-cookies</literal>). This
1305  is trickier because the syntax can vary widely, and thus requires a certain
1306  amount of guesswork. It is not realistic to catch all of these short of
1307  disabling Javascript, which would break many sites. And lastly, if the
1308  cookies are embedded in a HTTPS/SSL secure session via Javascript, they are beyond
1309  <application>Privoxy's</application> reach unless you enable
1310  <ulink url="../user-manual/actions-file.html#HTTPS-INSPECTION">https-inspection</ulink>.
1311 </para>
1312 <para>
1313  All in all, &my-app; can help manage cookies in general, can help minimize
1314  the loss of privacy posed by cookies, but can't realistically stop all
1315  cookies.
1316 </para>
1317 </sect2>
1318
1319 <sect2 renderas="sect3" id="evil-cookies">
1320 <title>Are all cookies bad? Why?</title>
1321 <para>
1322  No, in fact there are many beneficial uses of
1323  <ulink
1324  url="http://en.wikipedia.org/wiki/Browser_cookie">cookies</ulink>. Cookies are just a
1325  method that browsers can use to store data between pages, or between browser
1326  sessions. Sometimes there is a good reason for this, and the user's life is a
1327  bit easier as a result. But there is a long history of some websites taking
1328  advantage of this layer of trust, and using the data they glean from you and
1329  your browsing habits for their own purposes, and maybe to your potential
1330  detriment. Such sites are using you and storing their data on your system.
1331  That is why the privacy conscious watch from whom those cookies come, and why
1332  they really <emphasis>need</emphasis> to be there.
1333 </para>
1334 <para>
1335   See the
1336    <ulink url="http://en.wikipedia.org/wiki/Browser_cookie">Wikipedia cookie
1337   definition</ulink> for more.
1338 </para>
1339 </sect2>
1340
1341 <sect2 renderas="sect3" id="allow-cookies">
1342 <title>How can I allow permanent cookies for my trusted sites?</title>
1343
1344 <para>
1345   There are several actions that relate to cookies. The default behavior is to
1346   allow only <quote>session cookies</quote>, which means the cookies only last
1347   for the current browser session. This eliminates most kinds of abuse related
1348   to cookies. But there may be cases where you want cookies to last.
1349 </para>
1350 <para>
1351   To disable all cookie actions, so that cookies are allowed unrestricted,
1352   both in and out, for <literal>example.com</literal>:
1353 </para>
1354  <screen>
1355  { -crunch-incoming-cookies -crunch-outgoing-cookies -session-cookies-only -filter{content-cookies} }
1356   .example.com</screen>
1357 <para>
1358  Place the above in <filename>user.action</filename>. Note that some of these may
1359  be off by default anyway, so this might be redundant, but there is no harm
1360  being explicit in what you want to happen. <filename>user.action</filename>
1361  includes an alias for this situation, called
1362  <literal>allow-all-cookies</literal>.
1363 </para>
1364 </sect2>
1365
1366 <sect2 renderas="sect3" id="multiples">
1367 <title>Can I have separate configurations for different users?</title>
1368 <para>
1369  Each instance of <application>Privoxy</application> has its own
1370  configuration, including such attributes as the TCP port that it listens on.
1371  What you can do is run multiple instances of <application>Privoxy</application>, each with
1372  a unique
1373  <ulink url="../user-manual/config.html#LISTEN-ADDRESS">listen-address</ulink>
1374  configuration setting, and configuration path, and then
1375  each of these can have their own configurations. Think of it as per-port
1376  configuration.
1377 </para>
1378 <para>
1379  Simple enough for a few users, but for large installations, consider having
1380  groups of users that might share like configurations.
1381 </para>
1382 </sect2>
1383
1384 <sect2 renderas="sect3" id="whitelists">
1385 <title>Can I set-up Privoxy as a whitelist of
1386 <quote>good</quote> sites?</title>
1387 <para>
1388  Sure. There are a couple of things you can do for simple white-listing.
1389  Here's one real easy one:
1390 </para>
1391  <screen>
1392  ############################################################
1393  # Blacklist
1394  ############################################################
1395  { <ulink url="../user-manual/actions-file.html#BLOCK">+block</ulink> }
1396  / # Block *all* URLs
1397
1398  ############################################################
1399  # Whitelist
1400  ############################################################
1401  { <ulink url="../user-manual/actions-file.html#BLOCK">-block</ulink> }
1402   kids.example.com
1403   toys.example.com
1404   games.example.com</screen>
1405 <para>
1406  This allows access to only those three sites by first blocking all URLs, and
1407  then subsequently allowing three specific exceptions.
1408 </para>
1409 <para>
1410  Another approach is <application>Privoxy's</application>
1411  <literal>trustfile</literal> concept, which incorporates the notion of
1412  <quote>trusted referrers</quote>. See the <ulink
1413  url="../user-manual/config.html#TRUSTFILE">Trust documentation</ulink>
1414  for details.
1415 </para>
1416 <para>
1417  These are fairly simple approaches and are not completely foolproof. There
1418  are various other configuration options that should be disabled (described
1419  elsewhere here and in <ulink url="../user-manual/">the User Manual</ulink>)
1420  so that users can't modify their own configuration and easily circumvent the
1421  whitelist.
1422 </para>
1423 </sect2>
1424
1425 <sect2 renderas="sect3" id="no-adblock">
1426 <title>How can I turn off ad-blocking?</title>
1427 <para>
1428  Ad blocking is achieved through a complex application of various &my-app;
1429  <ulink url="../user-manual/actions-file.html">actions</ulink>. These
1430  actions are deployed against simple images, banners, flash animations,
1431  text pages, JavaScript, pop-ups and pop-unders, etc., so its not as simple as
1432  just turning one or two actions off. The various actions that make up
1433  &my-app; ad blocking are hard-coded into the default configuration files. It
1434  has been assumed that everyone using &my-app; is interested in this
1435  particular feature.
1436  </para>
1437  <para>
1438  If you want to do without this, there are several approaches you can take:
1439  You can manually undo the many block rules in
1440  <filename>default.action</filename>. Or even easier, just create your own
1441  <filename>default.action</filename> file from scratch without the many ad
1442  blocking rules, and corresponding exceptions. Or lastly, if you are not
1443  concerned about the additional blocks that are done for privacy reasons, you
1444  can very easily over-ride <emphasis>all</emphasis> blocking with the
1445  following very simple rule in your <filename>user.action</filename>:
1446  </para>
1447  <screen>
1448  # Unblock everybody, everywhere
1449  { <ulink url="../user-manual/actions-file.html#BLOCK">-block</ulink> }
1450  / # UN-Block *all* URLs</screen>
1451 <para>
1452  Or even a more comprehensive reversing of various ad related actions:
1453 </para>
1454  <screen>
1455  # Unblock everybody, everywhere, and turn off appropriate filtering, etc
1456  { <ulink url="../user-manual/actions-file.html#BLOCK">-block</ulink> \
1457   <ulink url="../user-manual/actions-file.html#FILTER-BANNERS-BY-SIZE">-filter{banners-by-size}</ulink> \
1458   <ulink url="../user-manual/actions-file.html#FILTER-BANNERS-BY-LINK">-filter{banners-by-link}</ulink> \
1459   <literal>allow-popups</literal> \
1460  }
1461  / # UN-Block *all* URLs and allow ads</screen>
1462 <para>
1463  This last <quote>action</quote> in this compound statement,
1464  <literal>allow-popups</literal>, is an <ulink
1465  url="../user-manual/actions-file.html#ALIASES">alias</ulink> that disables
1466  various pop-up blocking features.
1467 </para>
1468 </sect2>
1469
1470 <sect2 renderas="sect3" id="templates">
1471 <title>How can I have custom template pages, like the
1472 <emphasis>BLOCKED</emphasis> page?</title>
1473 <para>
1474  &my-app; <quote>templates</quote> are specialized text files utilized by
1475  &my-app; for various purposes and can easily be modified using any text
1476  editor. All the template pages are installed in a sub-directory appropriately
1477  named: <filename>templates</filename>.  Knowing something about HTML syntax
1478  will of course be helpful.
1479 </para>
1480 <para>
1481  Be forewarned that the default templates are subject to being overwritten
1482  during upgrades. You can, however, create completely new templates,
1483  place them in another directory and specify the alternate path in the main
1484  <filename>config</filename>. For details, have a look at the <ulink
1485  url="../user-manual/config.html#TEMPLDIR">templdir</ulink> option.
1486 </para>
1487 </sect2>
1488
1489 <sect2 renderas="sect3" id="blockall">
1490 <title>How can I remove the <quote>Go There Anyway</quote> link from
1491 the <emphasis>BLOCKED</emphasis> page?</title>
1492 <para>
1493  There is more than one way to do it (although Perl is not involved).
1494 </para>
1495 <para>
1496  Editing the BLOCKED template page (see above) may dissuade some users, but
1497  this method is easily circumvented. Where you need this level of control, you
1498  might want to build &my-app; from source, and disable various features that are
1499  available as compile-time options. You should
1500  <command>configure</command> the sources as follows:
1501 </para>
1502  <screen>
1503  ./configure  --disable-toggle  --disable-editor  --disable-force</screen>
1504 <para>
1505  This will create an executable with hard-coded security features so that
1506  &my-app; does not allow easy bypassing of blocked sites, or changing the
1507  current configuration via any connected user's web browser.
1508 </para>
1509 <para>
1510  Finally, all of these features can also be toggled on/off via options in
1511  <application>Privoxy's</application> main  <ulink
1512  url="../user-manual/config.html#ACCESS-CONTROL">config</ulink> file which
1513  means you don't have to recompile anything.
1514 </para>
1515 </sect2>
1516
1517 </sect1>
1518
1519 <!--  ~  End section  ~  -->
1520
1521
1522 <!--   ~~~~~       New section      ~~~~~     -->
1523
1524 <sect1 id="misc"><title>Miscellaneous</title>
1525
1526 <sect2 renderas="sect3" id="slowsme">
1527 <title>How much does Privoxy slow my browsing down? This
1528 has to add extra time to browsing.</title>
1529 <para>
1530  How much of an impact depends on many things, including the CPU of the host
1531  system, how aggressive the configuration is, which specific actions are being triggered,
1532  the size of the page, the bandwidth of the connection, etc.
1533 </para>
1534 <para>
1535  Overall, it should not slow you down any in real terms, and may actually help
1536  speed things up since ads, banners and other junk are not typically being
1537  retrieved and displayed. The actual processing time required by
1538  <application>Privoxy</application> itself for each page, is relatively small
1539  in the overall scheme of things, and happens very quickly. This is typically
1540  more than offset by time saved not downloading and rendering ad images and
1541  other junk content (if ad blocking is being used).
1542 </para>
1543
1544 <para>
1545  <quote>Filtering</quote> content via the <literal><ulink
1546  url="../user-manual/actions-file.html#FILTER">filter</ulink></literal> or
1547  <literal><ulink
1548  url="../user-manual/actions-file.html#DEANIMATE-GIFS">deanimate-gifs</ulink></literal>
1549  actions may cause a perceived slowdown, since the entire document
1550  needs to be buffered before displaying. And on very large documents,
1551  filtering may have some measurable impact. How much depends on the page size,
1552  the actual definition of the filter(s), etc. See below. Most other actions
1553  have little to no impact on speed.
1554 </para>
1555 <para>
1556  Also, when filtering is enabled but zlib support isn't available, compression
1557  is often disabled (see <ulink
1558  url="../user-manual/actions-file.html#PREVENT-COMPRESSION">prevent-compression</ulink>).
1559  This can have an impact on speed as well, although it's probably smaller than
1560  you might think. Again, the page size, etc. will determine how much of an impact.
1561 </para>
1562
1563 </sect2>
1564
1565
1566 <sect2 renderas="sect3" id="loadingtimes"><title>I notice considerable
1567 delays in page requests. What's wrong?</title>
1568 <para>
1569  If you use any <literal><ulink
1570  url="../user-manual/actions-file.html#FILTER">filter</ulink></literal> action,
1571  such as filtering banners by size, web-bugs etc, or the <literal><ulink
1572  url="../user-manual/actions-file.html#DEANIMATE-GIFS">deanimate-gifs</ulink></literal>
1573  action, the entire document must be loaded into memory in order for the filtering
1574  mechanism to work, and nothing is sent to the browser during this time.
1575 </para>
1576 <para>
1577  The loading time typically does not really change much in real numbers, but
1578  the feeling is different, because most browsers are able to start rendering
1579  incomplete content, giving the user a feeling of "it works". This effect is
1580  more noticeable on slower dialup connections. Extremely large documents
1581  may have some impact on the time to load the page where there is filtering
1582  being done. But overall, the difference should be very minimal. If there is a
1583  big impact, then probably some other situation is contributing (like
1584  anti-virus software).
1585  </para>
1586 <para>
1587  Filtering is automatically disabled for inappropriate MIME types. But note
1588  that if the web server mis-reports the MIME type, then content that should
1589  not be filtered, could be. <application>Privoxy</application> only knows how
1590  to differentiate filterable content because of the MIME type as reported by
1591  the server, or because of some configuration setting that enables/disables
1592  filtering.
1593 </para>
1594 </sect2>
1595
1596 <sect2 renderas="sect3" id="configurl"><title>What are "http://config.privoxy.org/" and
1597 "http://p.p/"?</title>
1598 <para>
1599  <ulink url="http://config.privoxy.org/">http://config.privoxy.org/</ulink> is the
1600  address of <application>Privoxy</application>'s built-in user interface, and
1601  <ulink url="http://p.p/">http://p.p/</ulink> is a shortcut for it.
1602 </para>
1603 <para>
1604  Since <application>Privoxy</application> sits between your web browser and the Internet,
1605  it can simply intercept requests for these addresses and answer them with its built-in
1606  <quote>web server</quote>.
1607 </para>
1608 <para>
1609  This also makes for a good test for your browser configuration: If entering the
1610  URL <ulink url="http://config.privoxy.org/">http://config.privoxy.org/</ulink>
1611  takes you to a page saying <quote>This is Privoxy ...</quote>, everything is OK.
1612  If you get a page saying <quote>Privoxy is not working</quote> instead, then
1613  your browser didn't use <application>Privoxy</application> for the request,
1614  hence it could not be intercepted, and you have accessed the <emphasis>real</emphasis>
1615  web site at config.privoxy.org.
1616 </para>
1617 <para>
1618  Note that config.privoxy.org resolves to a public IP address.
1619  If you use config.privoxy.org as ping or traceroute target you will
1620  reach the system on the Internet (Privoxy can't intercept ICMP requests).
1621  If you want to ping the system Privoxy runs on,
1622  you should use its IP address or local DNS name (if it has got one).
1623 </para>
1624
1625 </sect2>
1626
1627 <!--
1628  out of date 09/02/06 HB
1629 <sect2 renderas="sect3" id="blocklist"><title>Do you still maintain the blocklists?</title>
1630  <para>
1631   No. The patterns for blocking now reside (among other things) in the <ulink
1632   url="../user-manual/actions-file.html">actions files</ulink>, which are
1633   actively maintained instead. See next question ...
1634 </para>
1635 </sect2>
1636 -->
1637 <sect2 renderas="sect3" id="newads"><title>How can I submit new ads, or report
1638 problems?</title>
1639 <para>
1640 Please see the <link linkend="contact">Contact section</link> for
1641 various ways to interact with the developers.
1642 </para>
1643
1644 </sect2>
1645
1646 <sect2 renderas="sect3" id="newads2"><title>If I do submit missed ads, will
1647 they be included in future updates?</title>
1648 <para>
1649  Whether such submissions are eventually included in the
1650  <filename>default.action</filename> configuration file depends on how
1651  significant the issue is. We of course want to address any potential
1652  problem with major, high-profile sites such as <citetitle>Google</citetitle>,
1653  <citetitle>Yahoo</citetitle>, etc. Any site with global or regional reach,
1654  has a good chance of being a candidate. But at the other end of the spectrum
1655  are any number of smaller, low-profile sites such as for local clubs or
1656  schools. Since their reach and impact are much less, they are best handled by
1657  inclusion in the user's <filename>user.action</filename>, and thus would be
1658  unlikely to be included.
1659 </para>
1660
1661 </sect2>
1662
1663
1664 <sect2 renderas="sect3" id="noonecares"><title>Why doesn't anyone answer my support
1665 request?</title>
1666 <para>
1667 Rest assured that it has been read and considered. Why it is not answered,
1668 could be for various reasons, including no one has a good answer for it, no
1669 one has had time to yet investigate it thoroughly, it has been reported
1670 numerous times already, or because not enough information was provided to help
1671 us help you. Your efforts are not wasted, and we do appreciate them.
1672 </para>
1673
1674 </sect2>
1675
1676
1677 <sect2 renderas="sect3" id="ip"><title>How can I hide my IP address?</title>
1678 <para>
1679  If you run both the browser and &my-app; locally, you cannot hide your IP
1680  address with <application>Privoxy</application> or ultimately any other
1681  software alone. The server needs to know your IP address so that it knows
1682  where to send the responses back.
1683 </para>
1684 <para>
1685  There are many publicly usable "anonymous" proxies out there, which
1686  provide a further level of indirection between you and the web server.
1687 </para>
1688 <para>
1689  However, these proxies are called "anonymous" because you don't need
1690  to authenticate, not because they would offer any real anonymity.
1691  Most of them will log your IP address and make it available to the
1692  authorities in case you violate the law of the country they run in. In fact
1693  you can't even rule out that some of them only exist to *collect* information
1694  on (those suspicious) people with a more than average preference for privacy.
1695 </para>
1696 <para>
1697  If you want to hide your IP address from most adversaries,
1698  you should consider chaining <application>Privoxy</application>
1699  with <ulink url="https://www.torproject.org/">Tor</ulink>.
1700  The configuration details can be found in
1701  <ulink url="#TOR">How do I use <application>Privoxy</application> together
1702  with <application>Tor</application> section</ulink>
1703  just below.
1704 </para>
1705 </sect2>
1706
1707 <sect2 renderas="sect3" id="anonforsure">
1708 <title>Can Privoxy guarantee I am anonymous?</title>
1709 <para>
1710  No. Your chances of remaining anonymous are improved, but unless you
1711  <ulink url="#TOR">chain <application>Privoxy</application> with <application>Tor</application></ulink>
1712  or a similar proxy and know what you're doing when it comes to configuring
1713  the rest of your system, you should assume that everything you do
1714  on the Web can be traced back to you.
1715 </para>
1716 <para>
1717  <application>Privoxy</application> can remove various information about you,
1718  and allows <emphasis>you</emphasis> more freedom to decide which sites
1719  you can trust, and what details you want to reveal. But it neither
1720  hides your IP address, nor can it guarantee that the rest of the system
1721  behaves correctly. There are several possibilities how a web sites can find
1722  out who you are, even if you are using a strict <application>Privoxy</application>
1723  configuration and chained it with <application>Tor</application>.
1724 </para>
1725 <para>
1726  Most of <application>Privoxy's</application> privacy-enhancing features can be easily subverted
1727  by an insecure browser configuration, therefore you should use a browser that can
1728  be configured to only execute code from trusted sites, and be careful which sites you trust.
1729  For example there is no point in having <application>Privoxy</application>
1730  modify the User-Agent header, if websites can get all the information they want
1731  through JavaScript, ActiveX, Flash, Java etc.
1732 </para>
1733 <para>
1734  A few browsers disclose the user's email address in certain situations, such
1735  as when transferring a file by FTP. <application>Privoxy</application>
1736  does not filter FTP. If you need this feature, or are concerned about the
1737  mail handler of your browser disclosing your email address, you might
1738  consider products such as <application>NSClean</application>.
1739 </para>
1740 <para>
1741  Browsers available only as binaries could use non-standard headers to give
1742  out any information they can have access to: see the manufacturer's license
1743  agreement. It's impossible to anticipate and prevent every breach of privacy
1744  that might occur. The professionally paranoid prefer browsers available as
1745  source code, because anticipating their behavior is easier. Trust the source,
1746  Luke!
1747 </para>
1748
1749 </sect2>
1750
1751 <sect2 renderas="sect3" id="proxytest">
1752 <title>A test site says I am not using a Proxy.</title>
1753 <para>
1754  Good! Actually, they are probably testing for some other kinds of proxies.
1755  Hiding yourself completely would require additional steps.
1756 </para>
1757 </sect2>
1758
1759 <sect2 renderas="sect3" id="tor"><title>How do I use Privoxy
1760  together with Tor?</title>
1761 <para>
1762  Before you configure <application>Privoxy</application> to use
1763  <ulink url="https://www.torproject.org/">Tor</ulink>,
1764  please follow the <citetitle>User Manual</citetitle> chapters
1765  <ulink url="../user-manual/installation.html">2. Installation</ulink> and
1766  <ulink url="../user-manual/startup.html">5. Startup</ulink> to make sure
1767  <application>Privoxy</application> itself is setup correctly.
1768 </para>
1769 <para>
1770  If it is, refer to <ulink url="https://www.torproject.org/documentation.html">Tor's
1771  extensive documentation</ulink> to learn how to install <application>Tor</application>,
1772  and make sure <application>Tor</application>'s logfile says that
1773  <quote>Tor has successfully opened a circuit</quote> and it
1774  <quote>looks like client functionality is working</quote>.
1775 </para>
1776 <para>
1777  If either <application>Tor</application> or <application>Privoxy</application>
1778  isn't working, their combination most likely will neither. Testing them on their
1779  own will also help you to direct problem reports to the right audience.
1780  If <application>Privoxy</application> isn't working, don't bother the
1781  <application>Tor</application> developers. If <application>Tor</application>
1782  isn't working, don't send bug reports to the <application>Privoxy</application> Team.
1783 </para>
1784 <para>
1785  If you verified that <application>Privoxy</application> and <application>Tor</application>
1786  are working, it is time to connect them. As far as <application>Privoxy</application>
1787  is concerned, <application>Tor</application> is just another proxy that can be reached
1788  by socks4, socks4a and socks5. Most likely you are interested in <application>Tor</application>
1789  to increase your anonymity level, therefore you should use socks5, to make sure DNS
1790  requests are done through <application>Tor</application> and thus invisible to your
1791  local network. Using socks4a would work too, but with socks5 you get more precise error
1792  messages.
1793 </para>
1794
1795 <para>
1796  <application>Privoxy's</application>
1797  <ulink url="../user-manual/config.html">main configuration file</ulink>
1798  is already prepared for <application>Tor</application>, if you are using a
1799  default <application>Tor</application> configuration and run it on the same
1800  system as &my-app;, you just have to edit the
1801  <ulink url="../user-manual/config.html#FORWARDING">forwarding section</ulink>
1802  and uncomment the line:
1803 </para>
1804  <screen>
1805 #        forward-socks5t             /     127.0.0.1:9050 .
1806 </screen>
1807 <para>
1808  Note that if you got Tor through one of the bundles, you may
1809  have to change the port from 9050 to 9150 (or even another one).
1810  For details, please check the documentation on the
1811  <ulink url="https://torproject.org/">Tor website</ulink>.
1812 </para>
1813
1814 <para>
1815  This is enough to reach the Internet, but additionally you might want to
1816  uncomment the following forward rules, to make sure your local network is still
1817  reachable through Privoxy:
1818 </para>
1819  <screen>
1820 #        forward         192.168.*.*/     .
1821 #        forward            10.*.*.*/     .
1822 #        forward           127.*.*.*/     .
1823 </screen>
1824 <para>
1825  Unencrypted connections to systems in these address ranges will
1826  be as (un)secure as the local network is, but the alternative is
1827  that your browser can't reach the network at all. Then again,
1828  that may actually be desired and if you don't know for sure
1829  that your browser has to be able to reach the local network,
1830  there's no reason to allow it.
1831 </para>
1832 <para>
1833  If you want your browser to be able to reach servers in your local
1834  network by using their names, you will need additional exceptions
1835  that look like this:
1836 </para>
1837  <screen>
1838 #        forward           localhost/     .
1839 </screen>
1840 <para>
1841  Save the modified configuration file and open
1842  <ulink url="http://config.privoxy.org/show-status">http://config.privoxy.org/show-status</ulink>
1843  in your browser, confirm that <application>Privoxy</application> has reloaded its configuration
1844  and that there are no other forward lines, unless you know that you need them. If everything looks good,
1845  refer to
1846  <ulink url="https://wiki.torproject.org/noreply/TheOnionRouter/TorFAQ#IsMyConnectionPrivate">Tor
1847  Faq 4.2</ulink> to learn how to verify that you are really using <application>Tor</application>.
1848 </para>
1849 <para>
1850  Afterward, please take the time to at least skim through the rest
1851  of <application>Tor's</application> documentation. Make sure you understand
1852  what <application>Tor</application> does, why it is no replacement for
1853  application level security, and why you probably don't want to
1854  use it for unencrypted logins.
1855 </para>
1856 </sect2>
1857
1858 <sect2 renderas="sect3" id="sitebreak">
1859 <title>Might some things break because header information or
1860 content is being altered?</title>
1861
1862 <para>
1863  Definitely. It is common for sites to use browser type, browser version,
1864  HTTP header content, and various other techniques in order to dynamically
1865  decide what to display and how to display it. What you see, and what I see,
1866  might be very different. There are many, many ways that this can be handled,
1867  so having hard and fast rules, is tricky.
1868 </para>
1869
1870 <para>
1871  The <quote>User-Agent</quote> is sometimes used in this way to identify
1872  the browser, and adjust content accordingly.
1873 </para>
1874
1875 <para>
1876  Also, different browsers use different encodings of non-English
1877  characters, certain web servers convert pages on-the-fly according to the
1878  User Agent header. Giving a <quote>User Agent</quote> with the wrong
1879  operating system or browser manufacturer causes some sites in these languages
1880  to be garbled; Surfers to Eastern European sites should change it to
1881  something closer. And then some page access counters work by looking at the
1882  <quote>Referer</quote> header; they may fail or break if unavailable. The
1883  weather maps of Intellicast have been blocked by their server when no
1884  <quote>Referer</quote> or cookie is provided, is another example. (But you
1885  can forge both headers without giving information away). There are
1886  many other ways things can go wrong when trying to fool a web server. The
1887  results of which could inadvertently cause pages to load incorrectly,
1888  partially, or even not at all. And there may be no obvious clues as to just
1889  what went wrong, or why. Nowhere will there be a message that says
1890  <quote><emphasis>Turn off <literal>fast-redirects</literal> or else!</emphasis>
1891  </quote>
1892 </para>
1893
1894 <para>
1895  Similar thoughts apply to modifying JavaScript, and, to a lesser degree,
1896  HTML elements.
1897 </para>
1898
1899 <para>
1900  If you have problems with a site, you will have to adjust your configuration
1901  accordingly. Cookies are probably the most likely adjustment that may
1902  be required, but by no means the only one.
1903 </para>
1904
1905 </sect2>
1906
1907
1908 <sect2 renderas="sect3" id="caching">
1909 <title>Can Privoxy act as a <quote>caching</quote> proxy to
1910 speed up web browsing?</title>
1911 <para>
1912  No, it does not have this ability at all. You want something like
1913  <ulink url="http://www.squid-cache.org/">Squid</ulink> or
1914  <ulink url="http://www.pps.jussieu.fr/~jch/software/polipo/">Polipo</ulink> for this.
1915  And, yes, before you ask, <application>Privoxy</application> can co-exist
1916  with other kinds of proxies like <application>Squid</application>.
1917  See the <ulink url="../user-manual/config.html#FORWARDING">forwarding
1918  chapter</ulink> in the <ulink url="../user-manual/index.html">user
1919  manual</ulink> for details.
1920 </para>
1921 </sect2>
1922
1923 <sect2 renderas="sect3" id="firewall">
1924 <title>What about as a firewall? Can Privoxy protect me?</title>
1925 <para>
1926  Not in the way you mean, or in the way some firewall vendors claim they can.
1927  <application>Privoxy</application> can help protect your privacy, but can't
1928  protect your system from intrusion attempts. It is, of course, perfectly possible
1929  to use <emphasis>both</emphasis>.
1930 </para>
1931 </sect2>
1932
1933 <sect2 renderas="sect3" id="wasted">
1934 <title>I have large empty spaces / a checkerboard pattern now where
1935 ads used to be. Why?</title>
1936 <para>
1937  It is technically possible to eliminate banners and ads in a way that frees
1938  their allocated page space. This could easily be done by blocking with
1939  <application>Privoxy's</application> filters,
1940  and eliminating the <emphasis>entire</emphasis> image references from the
1941  HTML page source.
1942 </para>
1943 <para>
1944  But, this would consume considerably more CPU resources (IOW, slow things
1945  down), would likely destroy the layout of some web pages which rely on the
1946  banners utilizing a certain amount of page space, and might fail in other
1947  cases, where the screen space is reserved (e.g. by HTML tables for instance).
1948  Also, making ads and banners disappear without any trace complicates
1949  troubleshooting, and would sooner or later be problematic.
1950 </para>
1951 <para>
1952  The better alternative is to instead let them stay, and block the resulting
1953  requests for the banners themselves as is now the case. This leaves either
1954  empty space, or the familiar checkerboard pattern.
1955 </para>
1956 <para>
1957  So the developers won't support this in the default configuration, but you
1958  can of course define appropriate filters yourself to achieve this.
1959 </para>
1960 </sect2>
1961
1962 <sect2 renderas="sect3" id="ssl">
1963 <title>How can Privoxy filter Secure (HTTPS) URLs?</title>
1964 <para>
1965  If you enable
1966  <ulink url="../user-manual/actions-file.html#HTTPS-INSPECTION">https-inspection</ulink>
1967  <application>Privoxy</application> will impersonate the destination
1968  server and can thus filter encrypted requests and responses as well.
1969 </para>
1970 <para>
1971  Without
1972  <ulink url="../user-manual/actions-file.html#HTTPS-INSPECTION">https-inspection</ulink>
1973  secure HTTP connections are encrypted SSL sessions between your
1974  browser and the secure site, and there is little
1975  that <application>Privoxy</application> can do but hand the raw
1976  gibberish data though from one end to the other unprocessed.
1977 </para>
1978 <para>
1979  The only exception to this is blocking by host patterns, as the client needs
1980  to tell <application>Privoxy</application> the name of the remote server,
1981  so that <application>Privoxy</application> can establish the connection.
1982  If that name matches a host-only pattern, the connection will be blocked.
1983 </para>
1984 <para>
1985  As far as ad blocking is concerned, this is less of a restriction than it may
1986  seem, since ad sources are often identifiable by the host name, and often
1987  the banners to be placed in an encrypted page come unencrypted nonetheless
1988  for efficiency reasons, which exposes them to the full power of
1989  <application>Privoxy</application>'s ad blocking.
1990 </para>
1991 <para>
1992  <quote>Content cookies</quote> (those that are embedded in the actual HTML or
1993  JS page content, see <literal><ulink
1994  url="../user-manual/actions-file.html#FILTER-CONTENT-COOKIES">filter{content-cookies}</ulink></literal>),
1995  in an SSL transaction will be impossible to block under these conditions.
1996  Fortunately, this does not seem to be a very common scenario since most
1997  cookies come by traditional means.
1998 </para>
1999
2000 </sect2>
2001
2002 <sect2 renderas="sect3" id="http2">
2003 <title>Does Privoxy support HTTP/2?</title>
2004 <para>
2005   Privoxy currently doesn't parse HTTP/2 but applications
2006   can tunnel HTTP/2 through Privoxy if Privoxy is configured
2007   to allow CONNECT requests (default) which are also used
2008   for HTTPS.
2009 </para>
2010 <para>
2011   Adding HTTP/2 support is on the
2012   <ulink url="https://www.privoxy.org/gitweb/?p=privoxy.git;a=blob_plain;f=TODO;hb=HEAD">TODO</ulink>
2013   list but currently nobody is known to work on it.
2014 </para>
2015 </sect2>
2016
2017 <sect2 renderas="sect3" id="secure">
2018 <title>Privoxy runs as a <quote>server</quote>. How
2019 secure is it? Do I need to take any special precautions?</title>
2020 <para>
2021  On Unix-like systems, <application>Privoxy</application> can run as a non-privileged
2022  user, which is how we recommend it be run. Also, by default
2023  <application>Privoxy</application> listens to requests from <quote>localhost</quote>
2024  only.
2025 </para>
2026 <para>
2027  The server aspect of <application>Privoxy</application> is not itself directly
2028  exposed to the Internet in this configuration. If you want to have
2029  <application>Privoxy</application> serve as a LAN proxy, this will have to
2030  be opened up to allow for LAN requests. In this case, we'd recommend
2031  you specify only the LAN gateway address, e.g. 192.168.1.1, in the main
2032  <application>Privoxy</application> configuration file and check all <ulink
2033  url="../user-manual/config.html#ACCESS-CONTROL">access control and security
2034  options</ulink>. All LAN hosts can then use this as their proxy address
2035  in the browser proxy configuration, but <application>Privoxy</application>
2036  will not listen on any external interfaces. ACLs can be defined in addition,
2037  and using a firewall is always good too. Better safe than sorry.
2038 </para>
2039
2040 </sect2>
2041
2042 <sect2 renderas="sect3" id="turnoff">
2043 <title>Can I temporarily disable Privoxy?</title>
2044 <para>
2045  &my-app; doesn't have a transparent proxy mode,
2046  but you can toggle off blocking and content filtering.
2047 </para>
2048 <para>
2049  The easiest way to do that is to point your browser
2050  to the remote toggle URL: <ulink
2051  url="http://config.privoxy.org/toggle">http://config.privoxy.org/toggle</ulink>.
2052 </para>
2053 <para>
2054  See the <ulink url="../user-manual/appendix.html#BOOKMARKLETS">Bookmarklets section</ulink>
2055  of the <citetitle>User Manual</citetitle> for an easy way to access this
2056  feature. Note that this is a feature that may need to be enabled in the main
2057  <filename>config</filename> file.
2058 </para>
2059 </sect2>
2060
2061
2062 <sect2 renderas="sect3" id="reallyoff">
2063 <title>When <quote>disabled</quote> is Privoxy totally
2064 out of the picture?</title>
2065 <para>
2066  No, this just means all optional filtering and actions are disabled.
2067  <application>Privoxy</application> is still acting as a proxy, but just
2068  doing less of the things that <application>Privoxy</application> would
2069  normally be expected to do. It is still a <quote>middle-man</quote> in
2070  the interaction between your browser and web sites. See below to bypass
2071  the proxy.
2072 </para>
2073 </sect2>
2074
2075 <sect2 renderas="sect3" id="turnoff2">
2076 <title>How can I tell Privoxy to totally ignore certain sites?</title>
2077 <para>
2078  Bypassing a proxy, or proxying based on arbitrary criteria, is purely a browser
2079  configuration issue, not a &my-app; issue. Modern browsers typically do have
2080  settings for not proxying certain sites. Check your browser's help files.
2081 </para>
2082 </sect2>
2083
2084
2085 <sect2 renderas="sect3" id="crunch">
2086 <title>My logs show Privoxy <quote>crunches</quote>
2087 ads, but also its own internal CGI pages. What is a <quote>crunch</quote>?</title>
2088 <para>
2089  A <quote>crunch</quote> means <application>Privoxy</application> intercepted
2090  <emphasis>something</emphasis>, nothing more. Often this is indeed ads or
2091  banners, but <application>Privoxy</application> uses the same mechanism for
2092  trapping requests for its own internal pages. For instance, a request for
2093  <application>Privoxy's</application> configuration page at: <ulink
2094  url="http://config.privoxy.org">http://config.privoxy.org</ulink>, is
2095  intercepted (i.e. it does not go out to the 'net), and the familiar CGI
2096  configuration is returned to the browser, and the log consequently will show
2097  a <quote>crunch</quote>.
2098 </para>
2099 <para>
2100  Since version 3.0.7, Privoxy will also log the crunch reason.
2101  If you are using an older version you might want to upgrade.
2102 </para>
2103 </sect2>
2104
2105 <sect2 renderas="sect3" id="downloads">
2106 <title>Can Privoxy affect files that I download
2107 from a webserver? FTP server?</title>
2108 <para>
2109  From the webserver's perspective, there is no difference between
2110  viewing a document (i.e. a page), and downloading a file. The same is true of
2111  <application>Privoxy</application>. If there is a match for a <literal><ulink
2112  url="../user-manual/actions-file.html#BLOCK">block</ulink></literal> pattern,
2113  it will still be blocked, and of course this is obvious.
2114  </para>
2115  <para>
2116  Filtering is potentially more of a concern since the results are not always
2117  so obvious, and the effects of filtering are there whether the file is simply
2118  viewed, or downloaded. And potentially whether the content is some obnoxious
2119  advertisement, or Mr. Jimmy's latest/greatest source code jewel. Of course,
2120  one of these presumably is <quote>bad</quote> content that we don't want, and
2121  the other is <quote>good</quote> content that we do want.
2122  <application>Privoxy</application> is blind to the differences, and can only
2123  distinguish <quote>good from bad</quote> by the configuration parameters
2124  <emphasis>we</emphasis> give it.
2125 </para>
2126 <para>
2127  <application>Privoxy</application> knows the differences in files according
2128  to the <quote>Content Type</quote> as reported by the webserver. If this is
2129  reported accurately (e.g. <quote>application/zip</quote> for a zip archive),
2130  then <application>Privoxy</application> knows to ignore these where
2131  appropriate. <application>Privoxy</application> potentially can filter HTML
2132  as well as plain text documents, subject to configuration parameters of
2133  course. Also, documents that are of an unknown type (generally assumed to be
2134  <quote>text/plain</quote>) can be filtered, as will those that might be
2135  incorrectly reported by the webserver. If such a file is a downloaded file
2136  that is intended to be saved to disk, then any content that might have been
2137  altered by filtering, will be saved too, for these (probably rare) cases.
2138 </para>
2139 <para>
2140  Note that versions later than 3.0.2 do NOT filter document types reported as
2141  <quote>text/plain</quote>. Prior to this, <application>Privoxy</application>
2142  did filter this document type.
2143 </para>
2144 <para>
2145  In short, filtering is <quote>ON</quote> if a) the content type as reported
2146  by the webserver is appropriate <emphasis>and</emphasis> b) the configuration
2147  allows it (or at least does not disallow it). That's it. There is no magic
2148  cookie anywhere to say this is <quote>good</quote> and this is
2149  <quote>bad</quote>. It's the configuration that lets it all happen or not.
2150 </para>
2151 <para>
2152  If you download text files, you probably do not want these to be filtered,
2153  particularly if the content is source code, or other critical content. Source
2154  code sometimes might be mistaken for Javascript (i.e. the kind that might
2155  open a pop-up window). It is recommended to turn off filtering for download
2156  sites (particularly if the content may be plain text files and you are using
2157  version 3.0.2 or earlier) in your <filename>user.action</filename> file. And
2158  also, for any site or page where making <emphasis>any</emphasis> changes at
2159  all to the content is to be avoided.
2160 </para>
2161 <para>
2162  <application>Privoxy</application> does not do FTP at all, only HTTP
2163  and HTTPS (SSL) protocols.
2164 </para>
2165 </sect2>
2166
2167 <sect2 renderas="sect3" id="downloads2">
2168 <title>I just downloaded a Perl script, and Privoxy
2169 altered it! Yikes, what is wrong!</title>
2170 <para>
2171  Please read above.
2172 </para>
2173 </sect2>
2174
2175 <sect2 renderas="sect3" id="hostsfile">
2176 <title>Should I continue to use a <quote>HOSTS</quote> file for ad-blocking?</title>
2177 <para>
2178  One time-tested technique to defeat common ads is to trick the local DNS
2179  system by giving a phony IP address for the ad generator in the local
2180  <filename>HOSTS</filename> file, typically using <literal>127.0.0.1</literal>, aka
2181  <literal>localhost</literal>. This effectively blocks the ad.
2182 </para>
2183 <para>
2184  There is no reason to use this technique in conjunction with
2185  <application>Privoxy</application>. <application>Privoxy</application>
2186  does essentially the same thing, much more elegantly and with much more
2187  flexibility. A large <filename>HOSTS</filename> file, in fact, not only
2188  duplicates effort, but may get in the way and seriously slow down your system.
2189  It is recommended to remove such entries from your <filename>HOSTS</filename> file. If you think
2190  your hosts list is neglected by <application>Privoxy's </application>
2191  configuration, consider adding your list to your <filename>user.action</filename> file:
2192 </para>
2193  <screen>
2194   { +block }
2195    www.ad.example1.com
2196    ad.example2.com
2197    ads.galore.example.com
2198    etc.example.com</screen>
2199 </sect2>
2200
2201 <sect2 renderas="sect3" id="seealso">
2202 <title>Where can I find more information about Privoxy
2203 and related issues?</title>
2204 <!-- Include seealso.sgml boilerplate: -->
2205  &seealso;
2206 <!-- end boilerplate -->
2207
2208 <!--
2209 <para>
2210  Please see the
2211  <ulink url="../user-manual/seealso.html">user-manual</ulink> for
2212  others references.
2213 </para>
2214 -->
2215 </sect2>
2216
2217 <sect2 renderas="sect3" id="microsuck">
2218 <title>I've noticed that Privoxy changes <quote>Microsoft</quote> to
2219 <quote>MicroSuck</quote>! Why are you manipulating my browsing?</title>
2220
2221 <para>
2222  We're not. The text substitutions that you are seeing are disabled
2223  in the default configuration as shipped. You have either manually
2224  activated the <quote><literal>fun</literal></quote> filter which
2225  is clearly labeled <quote>Text replacements for subversive browsing
2226  fun!</quote> or you are using an older Privoxy version and have implicitly
2227  activated it by choosing the <quote>Advanced</quote> profile in the
2228  web-based editor. Please upgrade.
2229 </para>
2230 </sect2>
2231
2232 <sect2 renderas="sect3" id="valid">
2233 <title>Does Privoxy produce <quote>valid</quote> HTML (or XHTML)?</title>
2234
2235 <para>
2236  Privoxy generates HTML in both its own <quote>templates</quote>, and possibly
2237  whenever there are text substitutions via a &my-app; filter. While this
2238  should always conform to the HTML 4.01 specifications, it has not been
2239  validated against this or any other standard.
2240 </para>
2241 </sect2>
2242
2243 <sect2 renderas="sect3" id="surprise-privoxy">
2244 <title>How did you manage to get Privoxy on my computer without my consent?</title>
2245
2246 <para>
2247  We didn't. We make Privoxy available for download, but we don't go
2248  around installing it on other people's systems behind their back.
2249  If you discover Privoxy running on your system and are sure you didn't
2250  install it yourself, somebody else did. You may not even be running
2251  the real Privoxy, but maybe something else that only pretends to be
2252  Privoxy, or maybe something that is based on the real Privoxy,
2253  but has been modified.
2254 </para>
2255 <para>
2256  Lately there have been reports of problems with some kind of
2257  "parental control" software based on Privoxy that came preinstalled on
2258  certain <ulink url="https://sourceforge.net/p/ijbswa/bugs/813/">ASUS Netbooks</ulink>.
2259  The problems described are inconsistent with the behaviour of official
2260  Privoxy versions, which suggests that the preinstalled software may
2261  contain vendor modifications that we don't know about and thus can't debug.
2262 </para>
2263 <para>
2264  Privoxy's <link linkend="copyright">license</link> allows vendor
2265  modifications, but the vendor has to comply with the license,
2266  which involves informing the user about the changes and to make
2267  the changes available under the same license as Privoxy itself.
2268 </para>
2269 <para>
2270  If you are having trouble with a modified Privoxy version,
2271  please try to talk to whoever made the modifications before
2272  reporting the problem to us. Please also try to convince
2273  whoever made the modifications to talk to us.  If you think
2274  somebody gave you a modified Privoxy version without complying
2275  to the license, please let us know.
2276 </para>
2277 </sect2>
2278
2279
2280 </sect1>
2281
2282
2283 <!--   ~~~~~       New section      ~~~~~     -->
2284
2285 <sect1 id="trouble">
2286 <title>Troubleshooting</title>
2287
2288 <sect2 renderas="sect3" id="refused">
2289 <title>I cannot connect to any websites. Or, I am getting
2290 <quote>connection refused</quote> message with every web page. Why?</title>
2291 <para>
2292  There are several possibilities:
2293 </para>
2294 <itemizedlist>
2295 <listitem><para>
2296 <application>Privoxy</application> is not running. Solution: verify
2297  that &my-app; is installed correctly, has not crashed, and is indeed running.
2298  Turn on <application>Privoxy's</application> logging, and look at the logs to see what they say.
2299 </para></listitem>
2300  <listitem><para>Or your browser is configured for a different port than what
2301  <application>Privoxy</application> is using. Solution: verify that &my-app;
2302  and your browser are set to the same port (<literal>listen-address</literal>).
2303 </para></listitem>
2304  <listitem><para>Or if using a forwarding rule, you have a configuration problem or a
2305  problem with a host in the forwarding chain. Solution: temporarily alter your
2306  configuration and take the forwarders out of the equation.
2307 </para></listitem>
2308  <listitem><para>
2309   Or you have a firewall that is interfering and blocking you. Solution:
2310   try disabling or removing the firewall as a simple test.
2311  </para></listitem>
2312 </itemizedlist>
2313
2314 </sect2>
2315
2316 <!--   ~~~~~       New section      ~~~~~     -->
2317 <sect2 renderas="sect3" id="error503">
2318 <title>Why am I getting a 503 Error (WSAECONNREFUSED) on every page?</title>
2319  <para>
2320   More than likely this is a problem with your TCP/IP networking. ZoneAlarm has
2321   been reported to cause this symptom -- even if not running! The solution is
2322   to either fight the ZA configuration, or uninstall ZoneAlarm, and then find
2323   something better behaved in its place. Other personal firewall type products
2324   may cause similar type problems if not configured correctly.
2325  </para>
2326 </sect2>
2327
2328 <sect2 renderas="sect3" id="flushit">
2329 <title>I just added a new rule, but the steenkin ad is
2330 still getting through. How?</title>
2331 <para>
2332  If the ad had been displayed before you added its URL, it will probably be
2333  held in the browser's cache for some time, so it will be displayed without
2334  the need for any request to the server, and <application>Privoxy</application>
2335  will not be involved. Flush the browser's caches, and then try again.
2336 </para>
2337
2338 <para>
2339  If this doesn't help, you probably have an error in the rule you
2340  applied. Try pasting the full URL of the offending ad into <ulink
2341  url="http://config.privoxy.org/show-url-info">http://config.privoxy.org/show-url-info</ulink>
2342  and see if it really matches your new rule. Blocking ads is like blocking
2343  spam: a lot of tinkering is required to stay ahead of the game. And
2344  remember you need to block the URL of the ad in question, which may be
2345  entirely different from the site URL itself. Most ads are hosted on different
2346  servers than the main site itself. If you right-click on the ad, you should
2347  be able to get all the relevant information you need. Alternately, you can
2348  find the correct URL by looking at <application>Privoxy's</application> logs
2349  (you may need to enable logging in the main config file if its disabled).
2350 </para>
2351 <para>
2352  Below is a slightly modified real-life log snippet that originates with one
2353  requested URL: <literal>www.example.com</literal> (name of site was changed
2354  for this example, the number of requests is real). You can see in this the
2355  complexity of what goes into making up this one <quote>page</quote>. There
2356  are eight different domains involved here, with thirty two separate URLs
2357  requested in all, making up all manner of images, Shockwave Flash,
2358  JavaScript, CSS stylesheets, scripts, and other related content. Some of this
2359  content is obviously <quote>good</quote> or <quote>bad</quote>, but not all.
2360  Many of the more questionable looking requests, are going to outside domains
2361  that seem to be identifying themselves with suspicious looking names, making
2362  our job a little easier. &my-app; has <quote>crunched</quote> (meaning caught
2363  and BLOCKED) quite a few items in this example, but perhaps missed a few as well.
2364 </para>
2365 <screen>
2366 <![CDATA[
2367 Request: www.example.com/
2368 Request: www.example.com/favicon.ico
2369 Request: img.example.com/main.css
2370 Request: img.example.com/sr.js
2371 Request: example.betamarker.com/example.html
2372 Request: www.lik-sang.com/Banners/bestsellers/skyscraper.php?likref=BSellers
2373 Request: img.example.com/pb.png
2374 Request: www.google-analytics.com/urchin.js crunch! (Blocked)
2375 Request: www.advertising-department.com/ats/switch.ps.php?26856 crunch! (Blocked)
2376 Request: img.example.com/p.gif
2377 Request: www.popuptraffic.com/assign.php?l=example&mode=behind crunch! (Blocked)
2378 Request: www.popuptraffic.com/scripts/popup.php?hid=5c3cf&tmpl=PBa.tmpl crunch! (Blocked)
2379 Request: www.popuptraffic.com/assign.php?l=example crunch! (Blocked)
2380 Request: www.lik-sang.com/Banners/best_sellers/best_sellers.css
2381 Request: www.adtrak.net/adx.js crunch! (Blocked)
2382 Request: img.example.com/hbg.gif
2383 Request: img.example.com/example.jpg
2384 Request: img.example.com/mt.png
2385 Request: img.example.com/mm.png
2386 Request: img.example.com/mb.png
2387 Request: www.popuptraffic.com/scripts/popup.php?hid=a71b91fa5&tmpl=Ua.tmp crunch! (Blocked)
2388 Request: www.example.com/tracker.js
2389 Request: www.lik-sang.com/Banners/best_sellers/lsi_head.gif
2390 Request: www.adtrak.net/adjs.php?n=020548130&what=zone:61 crunch! (Blocked)
2391 Request: www.adtrak.net/adjs.php?n=463594413&what=zone:58&source=Ua crunch! (Blocked)
2392 Request: www.lik-sang.com/Banners/best_sellers/bottomani.swf
2393 Request: mmm.elitemediagroup.net/install.php?allowpop=no&popupmincook=0&allowsp2=1 crunch! (Blocked)
2394 Request: www.example.com/tracker.js?screen=1400x1050&win=962x693
2395 Request: www.adtrak.net/adlog.php?bannerid=1309&clientid=439&zoneid=61 crunch! (Blocked)
2396 Request: 66.70.21.80/scripts/click.php?hid=5c3cf599a9efd0320d26&si
2397 Request: 66.70.21.80/img/pixel.gif
2398 Request: www.adtrak.net/adlog.php?bannerid=1309&clientid=439&zoneid=58&source=Ua&block=86400 crunch! (Blocked)
2399 Request: 66.70.21.80/scripts/click.php?hid=a71b9f6504b0c5681fa5&si=Ua
2400 ]]>
2401 </screen>
2402 <para>
2403  Despite 12 out of 32 requests being blocked, the page looked, and seemed to
2404  behave perfectly <quote>normal</quote> (minus some ads, of course).
2405 </para>
2406
2407 </sect2>
2408
2409 <sect2 renderas="sect3" id="badsite">
2410 <title>One of my favorite sites does not work with Privoxy.
2411 What can I do?</title>
2412
2413 <para>
2414  First verify that it is indeed a <application>Privoxy</application> problem,
2415  by toggling off <application>Privoxy</application> through <ulink
2416  url="http://config.privoxy.org/toggle">http://config.privoxy.org/toggle</ulink>
2417  (the toggle feature may need to be enabled in the main
2418  <filename>config</filename>),
2419  and then shift-reloading the problem page (i.e. holding down the shift key
2420  while clicking reload. Alternatively, flush your browser's disk and memory
2421  caches).
2422 </para>
2423
2424 <para>
2425  If the problem went away, we know we have a configuration related problem.
2426  Now go to <ulink
2427  url="http://config.privoxy.org/show-url-info">http://config.privoxy.org/show-url-info</ulink>
2428  and paste the full URL of the page in question into the prompt. See which
2429  actions are being applied to the URL, and which matches in which actions
2430  files are responsible for that. It might be helpful also to look at your logs
2431  for this site too, to see what else might be happening (note: logging may need
2432  to be enabled in the main config file). Many sites are
2433  complex and require a number of related pages to help present their content.
2434  Look at what else might be used by the page in question, and what of that
2435  might be <emphasis>required</emphasis>.
2436  Now, armed with this information, go to
2437  <ulink
2438  url="http://config.privoxy.org/show-status">http://config.privoxy.org/show-status</ulink>
2439  and select the appropriate actions files for editing. </para>
2440 <para>
2441  You can now either look for a section which disables the actions that
2442  you suspect to cause the problem and add a pattern for your site there,
2443  or make up a completely new section for your site. In any case, the recommended
2444  way is to disable only the prime suspect, reload the problem page, and only
2445  if the problem persists, disable more and more actions until you have
2446  identified the culprit. You may or may not want to turn the other actions
2447  on again. Remember to flush your browser's caches in between any such changes!
2448 </para>
2449 <para>
2450  Alternately, if you are comfortable with a text editor, you can accomplish
2451  the same thing by editing the appropriate actions file. Probably the easiest
2452  way to deal with such problems when editing by hand is to add your
2453  site to a <literal>{ fragile }</literal> section in <filename>user.action</filename>,
2454  which is an alias that turns off most <quote>dangerous</quote>
2455  actions, but is also likely to turn off more actions then needed, and thus lower
2456  your privacy and protection more than necessary,
2457 </para>
2458 <para>
2459  Troubleshooting actions is discussed in more detail in the <ulink
2460  url="../user-manual/appendix.html#ACTIONSANAT">User Manual appendix,
2461  Troubleshooting: the Anatomy of an Action</ulink>.
2462  There is also an <ulink
2463  url="../user-manual/actions-file.html#ACT-EXAMPLES">actions tutorial</ulink>
2464  with general configuration information and examples.
2465 </para>
2466 <para>
2467  As a last resort, you can always see if your browser has a setting that will
2468  bypass the proxy setting for selective sites. Modern browsers can do this.
2469 </para>
2470
2471 </sect2>
2472
2473
2474 <!--   ~~~~~       New section      ~~~~~     -->
2475 <sect2 id="dun" renderas="sect3">
2476 <title>After installing Privoxy, I have to log in
2477 every time I start IE. What gives?</title>
2478
2479 <para>
2480  This is a quirk that affects the installation of
2481  <application>Privoxy</application>, in conjunction with Internet Explorer and
2482  Internet Connection Sharing on Windows 2000 and Windows XP. The symptoms may
2483  appear to be corrupted or invalid DUN settings, or passwords.
2484 </para>
2485
2486 <para>
2487  When setting up an NT based Windows system with
2488  <application>Privoxy</application> you may find that things do not seem to be
2489  doing what you expect. When you set your system up you will probably have set
2490  up Internet Connection Sharing (ICS) with Dial up Networking (DUN) when
2491  logged in with administrator privileges. You will probably have made this DUN
2492  connection available to other accounts that you may have set-up on your
2493  system. E.g. Mum or Dad sets up the system and makes accounts suitably
2494  configured for the kids.
2495 </para>
2496
2497 <para>
2498  When setting up <application>Privoxy</application> in this environment you
2499  will have to alter the proxy set-up of Internet Explorer (IE) for the
2500  specific DUN connection on which you wish to use
2501  <application>Privoxy</application>. When you do this the ICS DUN set-up
2502  becomes user specific. In this instance you will see no difference if you
2503  change the DUN connection under the account used to set-up the connection.
2504  However when you do this from another user you will notice that the DUN
2505  connection changes to make available to "Me only". You will also find that
2506  you have to store the password under each different user!
2507 </para>
2508
2509 <para>
2510  The reason for this is that each user's set-up for IE is user specific. Each
2511  set-up DUN connection and each LAN connection in IE store the settings for
2512  each user individually. As such this enforces individual configurations
2513  rather than common ones. Hence the first time you use a DUN connection after
2514  re-booting your system it may not perform as you expect, and prompt you for
2515  the password. Just set and save the password again and all should be OK.
2516 </para>
2517
2518 <para>
2519 [Thanks to Ray Griffith for this submission.]
2520 </para>
2521 </sect2>
2522
2523
2524 <!--   ~~~~~       New section      ~~~~~     -->
2525 <sect2 id="ftp" renderas="sect3">
2526 <title>I cannot connect to any FTP sites. Privoxy
2527  is blocking me.</title>
2528  <para>
2529   <application>Privoxy</application> cannot act as a proxy for FTP traffic,
2530   so do not configure your browser to use <application>Privoxy</application>
2531   as an FTP proxy. The same is true for <emphasis>any protocol other than HTTP
2532   or HTTPS (SSL)</emphasis>.
2533  </para>
2534  <para>
2535   Most browsers understand FTP as well as HTTP. If you connect to a site, with
2536   a URL like <literal>ftp://ftp.example.com</literal>, your browser is making
2537   an FTP connection, and not a HTTP connection. So while your browser may
2538   speak FTP, <application>Privoxy</application> does not, and cannot proxy
2539   such traffic.
2540  </para>
2541  <para>
2542   To complicate matters, some systems may have a generic <quote>proxy</quote>
2543   setting, which will enable various protocols, including
2544   <emphasis>both</emphasis> HTTP and FTP proxying! So it is possible to
2545   accidentally enable FTP proxying in these cases. And of course, if this
2546   happens, <application>Privoxy</application> will indeed cause problems since
2547   it does not know FTP. <![%p-newstuff;[Newer version will give a sane error
2548   message if a FTP connection is attempted.]]> Just disable the FTP setting
2549   and all will be well again.
2550  </para>
2551  <para>
2552   Will <application>Privoxy</application> ever proxy FTP traffic? Unlikely.
2553   There just is not much reason, and the work to make this happen is more than
2554   it may seem.
2555  </para>
2556 </sect2>
2557
2558 <!--   ~~~~~       New section      ~~~~~     -->
2559 <sect2 id="macosxie" renderas="sect3">
2560 <title>In Mac OS X, I can't configure Microsoft Internet Explorer to use
2561  Privoxy as the HTTP proxy.</title>
2562  <para>
2563   Microsoft Internet Explorer (in versions like 5.1) respects system-wide
2564   network settings.  In order to change the HTTP proxy, open System
2565   Preferences, and click on the Network icon.  In the settings pane that
2566   comes up, click on the Proxies tab.  Ensure the "Web Proxy (HTTP)" checkbox
2567   is checked and enter <literal>127.0.0.1</literal> in the entry field.
2568   Enter <literal>8118</literal> in the Port field.  The next time you start
2569   IE, it should reflect these values.
2570  </para>
2571 </sect2>
2572
2573 <!--   ~~~~~       New section      ~~~~~     -->
2574 <sect2 renderas="sect3" id="macosxuninstall">
2575 <title>In Mac OS X, I dragged the Privoxy folder to the trash in order to
2576  uninstall it. Now the finder tells me I don't have sufficient privileges to
2577  empty the trash.</title>
2578  <para>
2579  Note: This ONLY applies to privoxy 3.0.6 and earlier.
2580  </para>
2581  <para>
2582   Just dragging the <application>Privoxy</application> folder to the trash is
2583   not enough to delete it. <application>Privoxy</application> supplies an
2584   <application>uninstall.command</application> file that takes care of
2585   these details. Open the trash, drag the <application>uninstall.command</application>
2586   file out of the trash and double-click on it. You will be prompted for
2587   confirmation and the administration password.
2588  </para>
2589  <para>
2590   The trash may still appear full after this command; emptying the trash
2591   from the desktop should make it appear empty again.
2592  </para>
2593 </sect2>
2594
2595 <!--   ~~~~~       New section      ~~~~~     -->
2596 <sect2 renderas="sect3" id="macosximages">
2597 <title>In Mac OS X Panther (10.3), images often fail to load and/or I
2598  experience random delays in page loading. I'm using
2599  <literal>localhost</literal> as my browser's proxy setting.</title>
2600  <para>
2601   We believe this is due to an IPv6-related bug in Mac OS X, but don't fully
2602   understand the issue yet. In any case, changing the proxy setting to
2603   <literal>127.0.0.1</literal> instead of <literal>localhost</literal>
2604   works around the problem.
2605  </para>
2606 </sect2>
2607
2608 <!--   ~~~~~       New section      ~~~~~     -->
2609 <sect2 renderas="sect3" id="macosxaccountdeletion">
2610 <title>I just upgraded to Mac OS X 10.9 (Mavericks) and now &my-app; has stopped
2611  working.</title>
2612  <para>
2613   The upgrade process to Mac OS X Mavericks (10.9) from an earlier version of OS
2614   X deletes all user accounts that are either not part of OS X itself or are
2615   not interactive user accounts (ones you log in with). Since, for the sake of
2616   security, &my-app; runs as a non-privileged user that is created by its
2617   installer (_privoxy), it can no longer start up once that account gets deleted.
2618   The solution is to perform a complete uninstall using the supplied
2619   <application>uninstall.command</application> script (either back up your
2620   configuration files or select to not have the uninstaller remove them when it
2621   prompts you) and then reinstall &my-app; using the installer package and merge
2622   in your configuration.
2623  </para>
2624 </sect2>
2625
2626 <sect2 renderas="sect3" id="nohostname">
2627 <title>My logs show many <quote>Unable to get my own hostname</quote> lines.
2628 Why?</title>
2629 <para>
2630  <application>Privoxy</application> tries to get the hostname of the system
2631  its running on from the IP address of the system interface it is bound to
2632  (from the <filename>config</filename> file
2633  <emphasis>listen-address</emphasis> setting). If the system cannot supply
2634  this information, <application>Privoxy</application> logs this condition.
2635 </para>
2636 <para>
2637  Typically, this would be considered a minor system configuration error. It is
2638  not a fatal error to <application>Privoxy</application> however, but may
2639  result in a much slower response from <application>Privoxy</application> on
2640  some platforms due to DNS timeouts.
2641 </para>
2642 <para>
2643  This can be caused by a problem with the local <filename>hosts</filename>
2644  file. If this file has been changed from the original, try reverting it to
2645  see if that helps. Make sure whatever name(s) are used for the local system,
2646  that they resolve both ways.
2647 </para>
2648 <para>
2649  You should also be able to work around the problem with the
2650  <ulink url="../user-manual/config.html#HOSTNAME">hostname option</ulink>.
2651 </para>
2652 </sect2>
2653
2654 <sect2 renderas="sect3" id="inuse">
2655 <title>When I try to launch Privoxy, I get an
2656 error message <quote>port 8118 is already in use</quote> (or similar wording).
2657 Why?</title>
2658 <para>
2659  Port 8118 is <application>Privoxy's</application> default TCP
2660  <quote>listening</quote> port. Typically this message would mean that there
2661  is already one instance of <application>Privoxy</application> running, and
2662  your system is actually trying to start a second
2663  <application>Privoxy</application> on the same port, which will not work.
2664  (You can have multiple instances but they must be assigned different ports.)
2665  How and why this might happen varies from platform to platform, but you need
2666  to check your installation and start-up procedures.
2667 </para>
2668 </sect2>
2669
2670 <sect2 renderas="sect3" id="demoronizer">
2671 <title>
2672  Pages with UTF-8 fonts are garbled.
2673 </title>
2674 <para>
2675  This may be the result of an overly aggressive filter. The filters that
2676  are enabled in the default configuration aren't expected to cause problems
2677  like this. If you enabled the <quote>demoronizer</quote> filter, please
2678  try temporarily disabling it.
2679 </para>
2680 <para>
2681  If that doesn't help, temporarily disable all filters to see if another
2682  filter could be the culprit. If the problem disappears, enable the filters
2683  one by one, until the problem reappears and the offending filter is found.
2684 </para>
2685 <para>
2686  Once the problem-causing filter is known, it can be fixed or disabled.
2687 </para>
2688 <para>
2689  Upgrading <application>Privoxy</application>, or going to the most recent
2690  <filename>default.action</filename> file available from <ulink
2691  url="https://www.privoxy.org/gitweb/?p=privoxy.git;a=blob_plain;f=default.action.master;hb=HEAD">git</ulink>
2692  might be worth a try, too.
2693 </para>
2694 </sect2>
2695
2696 <sect2 renderas="sect3" id="demoronizer2">
2697 <title>
2698  Why are binary files (such as images) corrupted when Privoxy
2699  is used?
2700 </title>
2701 <para>
2702  This may also be caused by an (<link linkend="DEMORONIZER">overly aggressive
2703  filter</link> in conjunction with a web server that is misreporting the content
2704  type. By default binary files are exempted from
2705  <application>Privoxy's</application> filtering
2706  (unless the web server by mistake says the file is something else).
2707 </para>
2708 </sect2>
2709
2710 <sect2 renderas="sect3" id="demoronizer3">
2711 <title>
2712  What is the <quote>demoronizer</quote> and why is it there?
2713 </title>
2714 <para>
2715  The original demoronizer was a Perl script that cleaned up HTML pages which
2716  were created with certain Microsoft products. MS has used proprietary extensions
2717  to standardized font encodings (ISO 8859-1), which has caused problems for pages
2718  that are viewed with non-Microsoft products (and are expecting to see a
2719  standard set of fonts). The demoronizer corrected these errors so the pages
2720  displayed correctly. <application>Privoxy</application> borrowed from this
2721  script, introducing a filter based on the original demoronizer, which in turn could
2722  correct these errors on the fly.
2723 </para>
2724 <para>
2725  But this is only needed in some situations, and will cause serious problems in some
2726  other situations.
2727 </para>
2728 <para>
2729  If you are using Microsoft products, you do not need it. If you need to view
2730  pages with UTF-8 characters (such as Cyrillic or Chinese), then it will
2731  cause corruption of the fonts, and thus <emphasis>should not be on</emphasis>.
2732 </para>
2733 <para>
2734  On the other hand, if you use non-Microsoft products, and you occasionally
2735  notice weird characters on pages, you might want to try it.
2736 </para>
2737 </sect2>
2738
2739 <sect2 renderas="sect3" id="windowopen">
2740 <title>
2741  Why do I keep seeing <quote>PrivoxyWindowOpen()</quote> in raw source code?
2742 </title>
2743 <para>
2744  <application>Privoxy</application> is attempting to disable malicious
2745   <ulink url="http://en.wikipedia.org/wiki/Javascript">Javascript</ulink>
2746   in this case, with the <literal>unsolicited-popups</literal>
2747  filter. <application>Privoxy</application> cannot tell very well
2748  <quote>good</quote> code snippets from <quote>bad</quote> code snippets.
2749 </para>
2750 <para>
2751  If you see this in HTML source, and the page displays without problems, then
2752  this is good, and likely some pop-up window was disabled. If you see this
2753  where it is causing a problem, such as a downloaded program source code file,
2754  then you should set an exception for this site or page such that the
2755  integrity of the page stays in tact by disabling all filtering.
2756 </para>
2757 </sect2>
2758
2759 <sect2 renderas="sect3" id="dnserrors">
2760 <title>
2761  I am getting too many DNS errors like <quote>404 No Such Domain</quote>. Why
2762  can't Privoxy do this better?
2763 </title>
2764 <para>
2765  There are potentially several factors here. First of all, the DNS resolution
2766  is done by the underlying operating system -- not
2767  <application>Privoxy</application> itself. <application>Privoxy</application>
2768  merely initiates the process and hands it off, and then later reports
2769  whatever the outcome was and tries to give a coherent message if there seems
2770  to be a problem. In some cases, this might otherwise be mitigated by the
2771  browser itself which might try some work-arounds and alternate approaches (e.g
2772  adding <quote>www.</quote> to the URL).
2773 </para>
2774 <para>
2775  In other cases, if <application>Privoxy</application> is being chained
2776  with another proxy, this could complicate the issue, and cause undue
2777  delays and timeouts. In the case of a <quote>socks4a</quote> proxy, the socks
2778  server handles all the DNS.  <application>Privoxy</application> would just be
2779  the <quote>messenger</quote> which is reporting whatever problem occurred
2780  downstream, and not the root cause of the error.
2781 </para>
2782 <![%p-newstuff;[
2783 <para>
2784  In any case, versions newer than 3.0.3 include various improvements to help
2785  <application>Privoxy</application> better handle these cases.
2786 </para>]]>
2787 </sect2>
2788
2789 <sect2 renderas="sect3" id="allcpu">
2790 <title>
2791  At one site Privoxy just hangs, and starts taking
2792  all CPU. Why is this?
2793 </title>
2794 <para>
2795  This is probably a manifestation of the <quote>100% cpu</quote> problem that
2796  occurs on pages containing many (thousands upon thousands) of blank lines. The blank lines
2797  are in the raw HTML source of the page, and the browser just ignores them. But the
2798  pattern matching in <application>Privoxy's</application> page filtering
2799  mechanism is trying to match against absurdly long strings and this becomes
2800  very CPU-intensive, taking a long, long time to complete.
2801 </para>
2802 <para>
2803  Until a better solution comes along, disable filtering on these pages,
2804  particularly the <literal>js-annoyances</literal> and
2805  <literal>unsolicited-popups</literal> filters. If you run into this problem
2806  with a recent &my-app; version, please send a problem report.
2807 </para>
2808 </sect2>
2809
2810 <sect2 renderas="sect3" id="slowcrawl">
2811 <title>I just installed Privoxy, and all my
2812 browsing has slowed to a crawl. What gives? </title>
2813 <para>
2814  This should not happen, and for the overwhelming number of users world-wide,
2815  it does not happen. I would suspect some inadvertent interaction of software
2816  components such as anti-virus software, spyware protectors, personal
2817  firewalls or similar components. Try disabling (or uninstalling) these one
2818  at a time and see if that helps. Either way, if you are using a
2819  recent &my-app; version, please report the problem.
2820 </para>
2821 </sect2>
2822
2823 <sect2 renderas="sect3" id="preventcomp">
2824 <title>Why do my filters work on some sites but not on others? </title>
2825 <para>
2826  It's probably due to compression. It is a common practice for web servers to
2827  send their content <quote>compressed</quote> in order to speed things up, and
2828  then let the browser <quote>uncompress</quote> them. When compiled with zlib support
2829  &my-app; can decompress content before filtering, otherwise you may want to enable
2830 <ulink
2831  url="../user-manual/actions-file.html#PREVENT-COMPRESSION">prevent-compression</ulink>.
2832 </para>
2833 <para>
2834  As of &my-app; 3.0.9, zlib support is enabled in the default builds.
2835 </para>
2836 </sect2>
2837
2838
2839 <sect2 renderas="sect3" id="ssl-warnings">
2840 <title>On some HTTPS sites my browser warns me about unauthenticated content,
2841  the URL bar doesn't get highlighted and the lock symbol appears to be broken.
2842  What's going on?</title>
2843 <para>
2844  Probably the browser is requesting ads through HTTPS and &my-app;
2845  is blocking the requests. Privoxy's error messages are delivered
2846  unencrypted and while it's obvious for the browser that the HTTPS
2847  request is already blocked by the proxy, some warn about unauthenticated
2848  content anyway.
2849 </para>
2850 <para>
2851  To work around the problem you can redirect those requests to an invalid
2852  local address instead of blocking them. While the redirects aren't
2853  encrypted either, many browsers don't care. They simply follow the
2854  redirect, fail to reach a server and display an error message instead
2855  of the ad.
2856 </para>
2857 <para>
2858  To do that, enable logging to figure out which requests get blocked by
2859  &my-app; and add the hosts (no path patterns) to a section like this:
2860 </para>
2861 <screen>
2862 <![CDATA[
2863 {+redirect{http://127.0.0.1:0/} -block -limit-connect}
2864 .ivwbox.de:443/
2865 ]]>
2866 </screen>
2867 <para>
2868  Additionally you have to configure your browser to contact
2869  <quote>127.0.0.1:0</quote> directly (instead of through &my-app;).
2870 </para>
2871 <para>
2872  To add a proxy exception in <application>Mozilla Firefox</application>
2873  open the <quote>Preferences</quote>, click the <quote>Settings</quote>
2874  button located on the <quote>Network</quote> tab in the <quote>Advanced</quote>
2875  section, and add <quote>127.0.0.1:0</quote> in the <quote>No Proxy for:</quote>
2876  field.
2877 </para>
2878 </sect2>
2879
2880
2881 <sect2 renderas="sect3" id="se-linux">
2882 <title>I get selinux error messages. How can I fix this?</title>
2883 <para>
2884  Please report the problem to the creator of your selinux policies.
2885 </para>
2886 <para>
2887  The problem is that some selinux policy writers aren't familiar
2888  with the application they are trying to <quote>secure</quote> and
2889  thus create policies that make no sense.
2890 </para>
2891 <para>
2892  In <application>Privoxy's</application> case the problem usually
2893  is that the policy only allows outgoing connections for certain
2894  destination ports (e.g. 80 and 443). While this may cover the
2895  standard ports, websites occasionally use other ports as well.
2896  This isn't a security problem and therefore <application>Privoxy's</application>
2897  default configuration doesn't block these requests.
2898 </para>
2899 <para>
2900  If you really want to block these ports (and don't be able
2901  to load websites that don't use standard ports), you should
2902  configure Privoxy to block these ports as well, so it doesn't
2903  trigger the selinux warnings.
2904 </para>
2905 </sect2>
2906
2907
2908 <sect2 renderas="sect3" id="gentoo-ricers">
2909 <title>I compiled &my-app; with Gentoo's portage and it appears to be very slow. Why?</title>
2910 <para>
2911  Probably you unintentionally compiled &my-app; without threading support
2912  in which case requests have to be serialized and only one can be served
2913  at the same time.
2914 </para>
2915 <para>
2916  Check your <quote>USE</quote> flags and make sure they include
2917  <quote>threads</quote>. If they don't, add the flag and rebuild &my-app;.
2918 </para>
2919 <para>
2920  If you compiled &my-app; with threading support (on POSIX-based systems),
2921  the <quote>Conditional #defines</quote> section on <ulink
2922  url="http://config.privoxy.org/show-status">http://config.privoxy.org/show-status</ulink>
2923  will list <quote>FEATURE_PTHREAD</quote> as <quote>enabled</quote>.
2924 </para>
2925 </sect2>
2926
2927 <sect2 renderas="sect3" id="tainted-sockets">
2928 <title>What are tainted sockets and how do I prevent them?</title>
2929 <para>
2930  &my-app; marks sockets as tainted when it can't use them to
2931  serve additional requests.
2932  This does not necessarily mean that something went wrong and
2933  information about tainted sockets is only logged if connection
2934  debugging is enabled (debug 2).
2935 </para>
2936 <para>
2937  For example server sockets that were used for CONNECT requests
2938  (which are used to tunnel https:// requests) are considered tainted
2939  once the client closed its connection to &my-app;.
2940  Technically &my-app; could keep the connection to the server open,
2941  but the server would not accept requests that do not belong to the
2942  previous TLS/SSL session (and the client may even have terminated
2943  the session).
2944 </para>
2945 <para>
2946  Server sockets are also marked tainted when a client requests a
2947  resource, but closes the connection before &my-app; has completely
2948  received (and forwarded) the resource to the client.
2949  In this case the server would (probably) accept additional requests,
2950  but &my-app; could not get the response without completely reading
2951  the leftovers from the previous response.
2952 </para>
2953 <para>
2954  These are just two examples, there are currently a bit more than
2955  25 scenarios in which a socket is considered tainted.
2956 </para>
2957 <para>
2958  While sockets can also be marked tainted as a result of a technical
2959  problem that may be worth fixing, the problem will be explicitly
2960  logged as error.
2961 </para>
2962 </sect2>
2963
2964 <sect2 renderas="sect3" id="pcre-stack-limit">
2965 <title>After adding my custom filters, &my-app; crashes when visitting certain websites</title>
2966 <para>
2967  This can happen if your custom filters require more memory than &my-app;
2968  is allowed to use.
2969  Usually the problem is that the operating system enforces a stack size limit
2970  that isn't sufficient.
2971 </para>
2972 <para>
2973  Unless the problem occurs with the filters available in the default configuration,
2974  this is not considered a Privoxy bug.
2975 </para>
2976 <para>
2977  To prevent the crashes you can rewrite your filter to use less resources,
2978  increase the relevant memory limit or recompile pcre to use less stack space.
2979  For details please see the
2980  <ulink url="http://pcre.org/original/doc/html/pcrestack.html">pcrestack man page</ulink>
2981  and the documentation of your operating system.
2982 </para>
2983 </sect2>
2984
2985 <sect2 renderas="sect3" id="file-permissions">
2986 <title>What to do if editing the config file of privoxy is access denied?</title>
2987 <para>
2988  Your userid probably isn't allowed to edit the file.
2989  <!--  show how to check permissions? -->
2990  On Windows you can use the windows equivalent of sudo:
2991 </para>
2992  <screen>runas /user:administrator "notepad \privoxy\config.txt"</screen>
2993
2994 <para>
2995  or fix the file permissions:
2996 </para>
2997 <screen>C:\Privoxy>icacls config.txt
2998 config.txt BUILTIN\Administrators:(I)(F)
2999            NT AUTHORITY\SYSTEM:(I)(F)
3000            BUILTIN\Users:(I)(RX)
3001            NT AUTHORITY\Authenticated Users:(I)(M)
3002
3003 Successfully processed 1 files; Failed processing 0 files
3004
3005 C:\Privoxy>icacls config.txt /grant Lee:F
3006 processed file: config.txt
3007 Successfully processed 1 files; Failed processing 0 files
3008
3009 C:\Privoxy>icacls config.txt
3010 config.txt I3668\Lee:(F)
3011            BUILTIN\Administrators:(I)(F)
3012            NT AUTHORITY\SYSTEM:(I)(F)
3013            BUILTIN\Users:(I)(RX)
3014            NT AUTHORITY\Authenticated Users:(I)(M)
3015
3016 Successfully processed 1 files; Failed processing 0 files
3017
3018 C:\Privoxy></screen>
3019
3020 <para>
3021  or try to point-n-click your way through adjusting the file
3022  permissions in windows explorer.
3023 </para>
3024 </sect2>
3025
3026 </sect1>
3027
3028   <!--   ~~~~~       New section      ~~~~~     -->
3029   <sect1 id="contact"><title>Contacting the developers, Bug Reporting and Feature Requests</title>
3030 <!-- Include contacting.sgml  -->
3031  &contacting;
3032 <!-- end contacting -->
3033   </sect1>
3034
3035 <!--   ~~~~~       New section      ~~~~~     -->
3036 <sect1 id="copyright"><title>Privoxy Copyright, License and History</title>
3037
3038  <!-- Include copyright.sgml -->
3039   &copyright;
3040  <!-- end -->
3041
3042
3043   <para>
3044    Portions of this document are <quote>borrowed</quote> from the original
3045    <application>Junkbuster</application> (tm) FAQ, and modified as
3046    appropriate for <application>Privoxy</application>.
3047   </para>
3048
3049  <!--   ~~~~~       New section      ~~~~~     -->
3050  <sect2><title>License</title>
3051  <!-- Include copyright.sgml: -->
3052   &license;
3053  <!-- end copyright -->
3054  </sect2>
3055  <!--  ~  End section  ~  -->
3056
3057  <!--   ~~~~~       New section      ~~~~~     -->
3058  <sect2><title>History</title>
3059  <!-- Include history.sgml -->
3060   &history;
3061  <!-- end -->
3062  </sect2>
3063
3064  </sect1>
3065  <!--  ~  End section  ~  -->
3066
3067
3068 <!--   ~~~~~       New section      ~~~~~     -->
3069 <!--
3070 <sect1 id="seealso"><title>See also</title>
3071 -->
3072 <!-- Include seealso.sgml -->
3073 <!--
3074  &see;
3075 -->
3076 <!-- end  -->
3077 <!--
3078 </sect1>
3079 -->
3080
3081  <!--
3082  This program is free software; you can redistribute it
3083  and/or modify it under the terms of the GNU General
3084  Public License as published by the Free Software
3085  Foundation; either version 2 of the License, or (at
3086  your option) any later version.
3087
3088  This program is distributed in the hope that it will
3089  be useful, but WITHOUT ANY WARRANTY; without even the
3090  implied warranty of MERCHANTABILITY or FITNESS FOR A
3091  PARTICULAR PURPOSE.  See the GNU General Public
3092  License for more details.
3093
3094  The GNU General Public License should be included with
3095  this file.  If not, you can view it at
3096  http://www.gnu.org/copyleft/gpl.html
3097  or write to the Free Software Foundation, Inc.,
3098  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
3099 -->
3100
3101 </article>