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