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