Privoxy Frequently Asked Questions
-By: Privoxy Developers
+Copyright © 2001, 2002 by Privoxy Developers
-$Id: faq.sgml,v 1.51 2002/04/26 17:24:31 swa Exp $
+$Id: faq.sgml,v 1.57 2002/05/05 20:26:02 hal9 Exp $
This FAQ gives users and developers alike answers to frequently asked questions
about Privoxy .
-------------------------------------------------------------------------------
Table of Contents
-
1. General Information
1.1. What is this new version of Privoxy?
3.3. The "actions" concept confuses me. Please list some of these
"actions".
3.4. How are actions files configured? What is the easiest way to do this?
- 3.5. Why can I change the configuration with a browser? Does that not raise
+ 3.5. There are several different "actions" files. What are the differences?
+ 3.6. Why can I change the configuration with a browser? Does that not raise
security issues?
- 3.6. What is "default.filter"?
- 3.7. How can I set up Privoxy to act as a proxy for my LAN?
- 3.8. Instead of ads, now I get a checkerboard pattern. I don't want to see
+ 3.7. What is "default.filter"?
+ 3.8. How can I set up Privoxy to act as a proxy for my LAN?
+ 3.9. Instead of ads, now I get a checkerboard pattern. I don't want to see
anything.
- 3.9. Why would anybody want to see a checkerboard pattern?
- 3.10. I see large red banners on some pages that say "Blocked". Why and how
+ 3.10. Why would anybody want to see a checkerboard pattern?
+ 3.11. I see large red banners on some pages that say "Blocked". Why and how
do I get rid of this?
- 3.11. I cannot see all of the "Blocked" page banner. All I see is a bright
- red square.
- 3.12. Can Privoxy run as a service on Win2K/NT?
- 3.13. How can I make Privoxy work with other proxies like Squid?
+ 3.12. I cannot see all of the "Blocked" page banner. Help.
+ 3.13. Can Privoxy run as a service on Win2K/NT?
+ 3.14. How can I make Privoxy work with other proxies like Squid?
+ 3.15. Can Privoxy run as a "transparent" proxy?
4. Miscellaneous
5.2. I just added a new rule, but the steenkin ad is still getting through.
How?
5.3. One of my favorite sites does not work with Privoxy. What can I do?
- 5.4. What time is it?
-7. Contacting the developers, Bug Reporting and Feature Requests
+6. Contacting the developers, Bug Reporting and Feature Requests
- 7.1. Get Support
- 7.2. Report bugs
- 7.3. Request new features
- 7.4. Report ads or other filter problems
- 7.5. Other
+ 6.1. Get Support
+ 6.2. Report bugs
+ 6.3. Request new features
+ 6.4. Report ads or other filter problems
+ 6.5. Other
-8. Copyright and History
+7. Privoxy Copyright, License and History
- 8.1. Copyright
- 8.2. History
+ 7.1. License
+ 7.2. History
--------------------------------------------------------------------------------
-
1. General Information
1.1. What is this new version of Privoxy?
-The original Internet Junkbuster™ (tm) is a copyrighted product of
-Junkbusters Corporation. Development of this effort stopped some time ago as of
-version 2.0.2. Stefan Waldherr started the ijbswa project on Sourceforge to
-rekindle development. Other developers subsequently joined with Stefan, and
-have since added many new features, refinements and enhancements. The result of
-this effort is Privoxy.
+The original Internet JunkbusterTM (tm) is a copyrighted product of Junkbusters
+Corporation. Development of this effort stopped some time ago as of version
+2.0.2. Stefan Waldherr started the ijbswa project on Sourceforge to rekindle
+development. Other developers subsequently joined with Stefan, and have since
+added many new features, refinements and enhancements. The result of this
+effort is Privoxy.
Privoxy has evolved from the Junkbuster 2.0.2 code base, and has advanced
significantly at this point.
1.4. What are some of the new features?
- * FIXME: complete the list of features. change the order: most important
- features to the top of the list. prefix new features with "NEW".
-
* Integrated browser based configuration and control utility at http://
config.privoxy.org/ (shortcut: http://p.p/). Browser-based tracing of rule
and filter effects. Remote toggling.
- * Blocking of annoying pop-up browser windows.
+ * Web page content filtering (removes banners based on size, invisible
+ "web-bugs", JavaScript and HTML annoyances, pop-up windows, etc.)
+
+ * Modularized configuration that allows for standard settings and user
+ settings to reside in separate files, so that installing updated actions
+ files won't overwrite idividual user settings.
* HTTP/1.1 compliant (but not all optional 1.1 features are supported).
and generally a more sophisticated and flexible configuration syntax over
previous versions.
- * GIF de-animation.
+ * Improved cookie management features (e.g. session based cookies).
- * Web page content filtering (removes banners based on size, invisible
- "web-bugs", JavaScript and HTML annoyances, pop-ups, etc.)
+ * GIF de-animation.
* Bypass many click-tracking scripts (avoids script redirection).
* Multi-threaded (POSIX and native threads).
- * Auto-detection and re-reading of config file changes.
-
- * User-customizable HTML templates (e.g. 404 error page).
+ * User-customizable HTML templates for all proxy-generated pages (e.g.
+ "blocked" page).
- * Improved cookie management features (e.g. session based cookies).
+ * Auto-detection and re-reading of config file changes.
* Improved signal handling, and a true daemon mode (Unix).
Privoxy is licensed under the GNU General Public License (GPL). It is free to
use, copy, modify or distribute as you wish under the terms of this license.
Please see the Copyright section for more information on the license and
-copyright.
+copyright. Or the LICENSE file that should be included.
There is no warranty of any kind, expressed, implied or otherwise. That is
something that would cost real money ;-) There is no registration either.
"actions" files are where various actions that Privoxy might take, are
configured. Typically, you would define a set of default actions that apply to
-all URLs, then add exceptions to these defaults.
+all URLs, then add exceptions to these defaults where needed.
Actions can be defined on a per site basis, or for groups of sites. Actions can
also be grouped together and then applied to one or more sites. There are many
blocking cookies as one of our default actions, but need to accept cookies from
a given site, we would define this in our "actions" file.
-Privoxy comes with several default actions files, with varying degrees of
-filtering and blocking, as starting points for your own configuration (see
-below).
-
-------------------------------------------------------------------------------
3.3. The "actions" concept confuses me. Please list some of these "actions".
3.4. How are actions files configured? What is the easiest way to do this?
The easiest way to do this, is to access Privoxy with your web browser at http:
-//p.p/, and then select "Edit the actions list" from the selection list. You
-can also do this by editing the appropriate file with a text editor.
+//p.p/, and then select "View & change the current configuration" from the
+selection list. You can also do this by editing the appropriate file with a
+text editor.
Please see the user-manual for a detailed explanation of these and other
configuration files, and their various options and syntax.
-------------------------------------------------------------------------------
-3.5. Why can I change the configuration with a browser? Does that not raise
+3.5. There are several different "actions" files. What are the differences?
+
+As of Privoxy v2.9.15, three actions files are being included, to be used for
+different purposes. These are default.action, standard.action, and user.action.
+Please see the User Manual for an explanation of each.
+
+Earlier versions included three different versions default.action files. The
+new scheme allows for greater flexibility of local configuration, and for
+browser based configuration.
+
+-------------------------------------------------------------------------------
+
+3.6. Why can I change the configuration with a browser? Does that not raise
security issues?
What I don't understand, is how I can browser edit the config file as a regular
-------------------------------------------------------------------------------
-3.6. What is "default.filter"?
+3.7. What is "default.filter"?
-The "default.filter" file is used to "filter" any web page content. By
-"filtering" we mean it can modify, remove, or change anything on the page,
-including HTML tags, and JavaScript. Regular expressions are used to accomplish
-this, and operate on a line by line basis. This is potentially a very powerful
-feature, but requires some expertise.
+The "default.filter" file is where "filters" are defined, which are used to
+"filter" any web page content. By "filtering" we mean it can modify, remove, or
+change anything on the page, including HTML tags, and JavaScript. Regular
+expressions are used to accomplish this, and operate on a line by line basis.
+This is potentially a very powerful feature, but requires some expertise.
If you are familiar with regular expressions, and HTML, you can look at the
provided default.filter with a text editor and see some of things it can be
Presently, there is no GUI editor option for this part of the configuration,
but you can disable/enable various sections of the included default file with
-the "Actions List Editor" from your browser.
+the "View & change the current configuration" from your browser.
-------------------------------------------------------------------------------
-3.7. How can I set up Privoxy to act as a proxy for my LAN?
+3.8. How can I set up Privoxy to act as a proxy for my LAN?
By default, Privoxy only responds to requests from localhost. To have it act as
a server for a network, this needs to be changed in the main config file where
-------------------------------------------------------------------------------
-3.8. Instead of ads, now I get a checkerboard pattern. I don't want to see
+3.9. Instead of ads, now I get a checkerboard pattern. I don't want to see
anything.
This is a configuration option for images that Privoxy is stopping. You have
the choice of a checkerboard pattern, a transparent 1x1 GIF image (aka
"blank"), or a custom URL of your choice. Note that to fit this category, the
-URL must match both the "+image" and "+block" actions.
+URL must match both the "+handle-as-image" and "+block" actions.
-If you want to see nothing, then change the "+image-blocker" action to
-"+image-blocker{blank}". This can be done from the "Edit Actions List"
-selection at http://p.p/. Or by hand editing the appropriate actions file. This
-will only effect what is defined as "images" though. Also, some URLs that
-generate the bright red "Blocked" banner, can be moved to the "+image-blocker"
-section for the same reason, but there are some limits and risks to this (see
-below).
+If you want to see nothing, then change the "+set-image-blocker" action to
+"+image-blocker{blank}". This can be done from the "View & change the current
+configuration" selection at http://p.p/. Or by hand editing the appropriate
+actions file. This will only effect what is defined as "images" though. Also,
+some URLs that generate the bright red "Blocked" banner, can be moved to the
+"+set-image-blocker" section for the same reason, but there are some limits and
+risks to this (see below).
-------------------------------------------------------------------------------
-3.9. Why would anybody want to see a checkerboard pattern?
+3.10. Why would anybody want to see a checkerboard pattern?
This can be helpful for troubleshooting problems. It might also be good for
anyone new to Privoxy so that they can see if their favorite pages are
-------------------------------------------------------------------------------
-3.10. I see large red banners on some pages that say "Blocked". Why and how do
+3.11. I see large red banners on some pages that say "Blocked". Why and how do
I get rid of this?
-These are URLs that match something in one of Privoxy's block actions (+block).
-It is meant to be a warning so that you know something has been blocked and an
-easy way for you to see why. These are handled differently than what has been
-defined explicitly as "images" (e.g. ad banners). Depending on the URL itself,
-it is sometimes hard for Privoxy to really know whether there is indeed an ad
-image there or not. And there are limitations as to what Privoxy can do to
-"fool" the browser.
+These are URLs that match something in one of Privoxy's block actions ("+block"
+). It is meant to be a warning so that you know something has been blocked and
+an easy way for you to see why. These are handled differently than what has
+been defined explicitly as "images" (e.g. ads that are GIF image files).
+Depending on the URL itself, it is sometimes hard for Privoxy to really know
+whether there is indeed an ad image there or not. And there are limitations as
+to what Privoxy can do to "fool" the browser.
For instance, if the ad is in a frame, then it is embedded in the separate HTML
-page used for the frame. In this case, you cannot just substitute an aribitray
+page used for the frame. In this case, you cannot just substitute an aribitrary
image (like we would for a "blank" image), for an HTML page. The browser is
-expecting an HTML page, and that is what it must have for frames. So this
-situation can be a little trickier to deal with, and Privoxy will use the
-"Blocked" page.
+expecting an HTML page, and that is what it must have for frames. Such
+situations can be a little trickier to deal with, and Privoxy may show the
+"Blocked" page, despite your best efforts.
If you want these to be treated as if they were images, so that they can be
made invisible, you can try moving the offending URL from the "+block" section
what Privoxy uses to display the "Blocked" page.
Another way to deal with this is find why and where Privoxy is blocking the
-frame, and diable this. Then let the "+image-blocker" action handle the ad that
-is embedded in the frame's HTML page.
+frame, and diable this. Then let the "+set-image-blocker" action handle the ad
+that is embedded in the frame's HTML page.
-------------------------------------------------------------------------------
-3.11. I cannot see all of the "Blocked" page banner. All I see is a bright red
-square.
+3.12. I cannot see all of the "Blocked" page banner. Help.
-There is not enough space to fit the entire page. Try right clicking on the
-visible, red portion, and select "Show Frame", or equivalent. This will usually
-allow you to see the entire Privoxy "Blocked" page, and from there you can see
-just what is being blocked, and why.
+There is not enough available space to fit the entire Blocked page. Try right
+clicking on the visible portion, and select "Show Frame", or equivalent. This
+will usually allow you to see the entire Privoxy "Blocked" page, and from there
+you can see just what is being blocked, and why.
+
+As of Privoxy 2.9.14, the Blocked banner page is re-sizeable, and tries to
+adjust to the allotted space. There may be occassions where there just isn't
+enough room to display much of anything useful though.
-------------------------------------------------------------------------------
-3.12. Can Privoxy run as a service on Win2K/NT?
+3.13. Can Privoxy run as a service on Win2K/NT?
Yes, it can run as a system service using srvany.exe. The only catch is that
this will effectively disable the Privoxy icon in the taskbar. You can have one
-------------------------------------------------------------------------------
-3.13. How can I make Privoxy work with other proxies like Squid?
+3.14. How can I make Privoxy work with other proxies like Squid?
+
+This can be done. See the user manual, which describes how to do this.
+
+-------------------------------------------------------------------------------
+
+3.15. Can Privoxy run as a "transparent" proxy?
-This can be done. See the user manual, which describes how to do this.
+No, Privoxy currently does not have this ability, though it is planned for a
+future release. Transparent proxies require special handling of the request
+headers beyond what Privoxy is now capable of.
+
+Chaining Privoxy with another proxy that has this ability should work though.
+See the user manual, which describes this, and also http://
+www.transproxy.nlc.net.au/.
-------------------------------------------------------------------------------
4.2. I noticed considerable delays in page requests compared to the old
Junkbuster. What's wrong?
-Using the default filtering configuration, I noticed considerable delays in
-page requests compared to the old Junkbuster. Loading pages with large contents
-seemed to take forever, then suddenly delivering all the content at once.
-
-The whole content must be loaded in order to filter, and nothing is is sent to
-the browser during this time. The loading time does not really change in real
-numbers, but the feeling is different, because most browsers are able to start
-rendering incomplete content, giving the user a feeling of "it works".
+The entire page content must be loaded into memory in order for the filtering
+mechanism to work, and nothing is sent to the browser during this time. The
+loading time does not really change in real numbers, but the feeling is
+different, because most browsers are able to start rendering incomplete
+content, giving the user a feeling of "it works".
To modify the content of a page (i.e. make frames resizeable again, etc.) and
not just replace ads, Privoxy needs to download the entire page first, do its
If you have version 2.0.2, then the equivalent is http://example.com/
show-proxy-args (but you get far less information, and you should really
-consider upgrading to 2.9.14).
+consider upgrading to 2.9.15).
-------------------------------------------------------------------------------
http://p.p/, access Privoxy from your browser. Alternately, http://
config.privoxy.org may work in some situations where the first does not.
-http://p.p/, and select "actions file feedback system" to submit "misses" to
-the developers.
+http://p.p/, and select "Privoxy - Submit Filter Feedback" to submit "misses"
+to the developers.
http://www.junkbusters.com/ht/en/cookies.html
First verify that it is indeed a Privoxy problem, by disabling Privoxy
filtering and blocking. Go to http://p.p/ and click on "Toggle Privoxy On or
Off", then disable it. Now try that page again. It's probably a good idea to
-flush the browser cache as well.
+flush the browser cache as well with Shift+Reload to flush caches.
If still a problem, go to "Show which actions apply to a URL and why" from
http://p.p/ and paste the full URL of the page in question into the prompt. See
which actions are being applied to the URL. Now, armed with this information,
-go to "Edit the actions list". Here you should see various sections that have
-various Privoxy features disabled for specific sites. Most disabled "actions"
-will have a "-" (minus sign) in front of them. Some aliases are used just to
-disable other actions, e.g. "shop" and "fragile", and won't necessarily use a
-"+" or "-" sign. Add your problem page URL to one of these sections that looks
-like it is disabling the feature that is causing the problem. Rember to flush
-your browser's caches when making such changes! As a last resort, try "fragile"
-which disables most actions. Now re-try the page. There might be some trial and
-error involved. This is discussed in a little more detail in the user-manual
-appendix.
+go to "View & change the current configuration". Here you should see various
+sections that have various Privoxy features disabled for specific sites. Most
+disabled "actions" will have a "-" (minus sign) in front of them. Some aliases
+are used just to disable other actions, e.g. "shop" and "fragile", and won't
+necessarily use a "+" or "-" sign. Add your problem page URL to one of these
+sections that looks like it is disabling the feature that is causing the
+problem. Rember to flush your browser's caches when making such changes! As a
+last resort, try "fragile" which disables most actions. Now re-try the page.
+There might be some trial and error involved. This is discussed in more detail
+in the user-manual appendix.
Alternately, if you are comfortable with a text editor, you can accomplish the
same thing by editing the appropriate "actions" file.
-------------------------------------------------------------------------------
-5.4. What time is it?
-
-Time for you to go!
-
--------------------------------------------------------------------------------
-
-7. Contacting the developers, Bug Reporting and Feature Requests
+6. Contacting the developers, Bug Reporting and Feature Requests
We value your feedback. However, to provide you with the best support, please
note the following sections.
-------------------------------------------------------------------------------
-7.1. Get Support
+6.1. Get Support
To get support, use the Sourceforge Support Forum:
http://sourceforge.net/tracker/?group_id=11118&atid=211118
-
-------------------------------------------------------------------------------
-7.2. Report bugs
+6.2. Report bugs
To submit bugs, use the Sourceforge Bug Forum:
http://sourceforge.net/tracker/?group_id=11118&atid=111118.
-
Make sure that the bug has not already been submitted. Please try to verify
that it is a Privoxy bug, and not a browser or site bug first. If you are using
-------------------------------------------------------------------------------
-7.3. Request new features
+6.3. Request new features
To submit ideas on new features, use the Sourceforge feature request forum:
http://sourceforge.net/tracker/?atid=361118&group_id=11118&func=browse.
-
-------------------------------------------------------------------------------
-7.4. Report ads or other filter problems
+6.4. Report ads or other filter problems
You can also send feedback on websites that Privoxy has problems with. Please
bookmark the following link: "Privoxy - Submit Filter Feedback". Once you surf
-------------------------------------------------------------------------------
-7.5. Other
+6.5. Other
For any other issues, feel free to use the mailing lists:
http://sourceforge.net/mail/?group_id=11118.
-
Anyone interested in actively participating in development and related
discussions can also join the appropriate mailing list. Archives are available,
-------------------------------------------------------------------------------
-8. Copyright and History
+7. Privoxy Copyright, License and History
+
+Copyright © 2001, 2002 by Privoxy Developers <developers@privoxy.org>
-8.1. Copyright
+Some source code is based on code Copyright © 1997 by Anonymous Coders and
+Junkbusters, Inc. and licensed under the GNU General Public License.
+
+Portions of this document are "borrowed" from the original Junkbuster (tm) FAQ,
+and modified as appropriate for Privoxy.
+
+-------------------------------------------------------------------------------
+
+7.1. License
Privoxy is free software; you can redistribute it and/or modify it under the
-terms of the GNU General Public License as published by the Free Software
-Foundation; either version 2 of the License, or (at your option) any later
-version.
+terms of the GNU General Public License, version 2, as published by the Free
+Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
330, Boston, MA 02111-1307, USA.
You should have received a copy of the GNU General Public License along with
-this program; if not, write to the Free Software Foundation, Inc., 59 Temple
-Place, Suite 330, Boston, MA 02111-1307 USA.
+this program; if not, write to the
+
+ Free Software
+ Foundation, Inc. 59 Temple Place - Suite 330
+ Boston, MA 02111-1307
+ USA
-------------------------------------------------------------------------------
-8.2. History
+7.2. History
Privoxy is evolved, and derived from, the Internet Junkbuster, with many
improvments and enhancements over the original.