2 <HTML><HEAD><TITLE>Manpage of PRIVOXY</TITLE>
3 <LINK REL="STYLESHEET" TYPE="text/css" HREF="../p_doc.css"></HEAD><BODY>
5 Section: (1)<BR>Updated: 24 April 2002<BR><A HREF="#index">Index</A>
8 <A NAME="lbAB"> </A>
11 privoxy - Privacy Enhancing Proxy
12 <A NAME="lbAC"> </A>
16 <B>privoxy</B> [<B>--help</B>] [<B>--version</B>] [<B>--no-daemon</B>] [<B>--pidfile </B><I>pidfile</I><B></B>] [<B>--user </B><I>user[.group]</I><B></B>] [<B></B><I>configfile</I><B></B>] <B>(UNIX)</B>
19 <B>privoxy.exe</B> [<B></B><I>configfile</I><B></B>] <B>(Windows)</B>
21 <A NAME="lbAD"> </A>
26 <B>Privoxy</B> may be invoked with the following command line
30 Print brief usage info and exit.
31 <DT><B>--version</B><DD>
32 Print version info and exit.
33 <DT><B>--no-daemon</B><DD>
34 Don't become a daemon, i.e. don't fork and become process group
35 leader, don't detach from controlling tty, and do all logging there.
36 <DT><B>--pidfile </B><I>pidfile</I><B></B><DD>
37 On startup, write the process ID to <I>pidfile</I>.
38 Delete the <I>pidfile</I> on exit.
39 Failiure to create or delete the <I>pidfile</I>
40 is non-fatal. If no <B>--pidfile</B> option is given, no PID file will be used.
41 <DT><B>--user </B><I>user[.group]</I><B></B><DD>
42 After (optionally) writing the PID file, assume the user ID of
43 <I>user</I> and the GID of
44 <I>group</I>, or, if the optional
45 <I>group</I> was not given, the default group of
46 <I>user</I>. Exit if the privileges are not
51 If the <I>configfile</I> is not specified on the command line,
52 <B>Privoxy</B> will look for a file named
53 <I>config</I> in the current directory (except on Win32 where
54 it will try <I>config.txt</I>). If no
55 <I>configfile</I> is found, <B>Privoxy</B> will
57 <A NAME="lbAE"> </A>
62 <B>Privoxy</B> is a web proxy with advanced filtering
63 capabilities for protecting privacy, filtering web page content, managing
64 cookies, controlling access, and removing ads, banners, pop-ups and other
65 obnoxious Internet junk. <B>Privoxy</B> has a very
66 flexible configuration and can be customized to suit individual needs and
67 tastes. <B>Privoxy</B> has application for both
68 stand-alone systems and multi-user networks.
71 <B>Privoxy</B> is based on <B>Internet
73 <A NAME="lbAF"> </A>
74 <H2>INSTALLATION AND USAGE</H2>
78 Browsers must be individually configured to use <B>Privoxy</B> as
79 a HTTP proxy. The default setting is for localhost, on port 8118
80 (configurable in the main config file). To set the HTTP proxy in Netscape
81 and Mozilla, go through: <B>Edit</B>;
82 <B>Preferences</B>; <B>Advanced</B>;
83 <B>Proxies</B>; <B>Manual Proxy Configuration</B>;
87 For Internet Explorer, go through: <B>Tools</B>;
88 <B>Internet Properties</B>; <B>Connections</B>;
92 The Secure (SSL) Proxy should also be set to the same values, otherwise
93 https: URLs will not be proxied.
96 For other browsers, check the documentation.
97 <A NAME="lbAG"> </A>
98 <H2>CONFIGURATION</H2>
102 <B>Privoxy</B> can be configured with the various configuration
103 files. The default configuration files are: <I>config</I>,
104 <I>default.action</I>, and
105 <I>default.filter</I>. These are well commented. On Unix and
106 Unix-like systems, these are located in <I>/etc/privoxy/</I> by
107 default. On Windows, OS/2 and AmigaOS, these files are in the same directory
108 as the <B>Privoxy</B> executable.
111 The name and number of configuration files has changed from previous
112 versions, and is subject to change as development progresses. In fact, the
113 configuration itself is changed and much more sophisticated. See the
115 brief explanation of all configuration options.
118 The actions list (ad blocks, etc) can also be configured with your
119 web browser at <A HREF="http://ijbswa.sourceforge.net/config.">http://ijbswa.sourceforge.net/config.</A>
120 <B>Privoxy's</B> configuration parameters can also be viewed at
121 the same page. In addition, <B>Privoxy</B> can be toggled on/off.
122 This is an internal page.
123 <A NAME="lbAH"> </A>
124 <H2>SAMPLE CONFIGURATION</H2>
128 A brief example of what a <I>default.action</I> configuration
133 # Define a few useful custom aliases for later use
136 # Don't accept cookies
137 +no-cookies = +no-cookies-set +no-cookies-read
140 -no-cookies = -no-cookies-set -no-cookies-read
142 # Treat these blocked URLs as images.
143 +imageblock = +block +image
145 # Define page filters we want to use.
146 myfilters = +filter{html-annoyances} +filter{js-annoyances}\
147 +filter{no-popups} +filter{webbugs}
149 ## Default Policies (actions) ############################
158 +hide-referer{forge} \
161 +image-blocker{blank} \
171 # Now set exceptions to the above defined policies #######
173 # Sites where we want persistant cookies
174 {-no-cookies -no-cookies-keep}
180 # This site requires cookies AND 'fast-redirects' on
181 {-no-cookies -no-cookies-keep -fast-redirects}
184 # Add custom headers, and turn off filtering of page source
185 {+add-header{X-Privacy: Yes please} #-add-header{*} \
186 +add-header{X-User-Tracking: No thanks!} -filter}
189 # Block, and treat these URLs as 'images'.
191 .ad.preferences.com/image.*
193 .ad-adex3.flycast.com
196 .ad.de.doubleclick.net
197 /.*/count\.cgi\?.*df=
199 a196.g.akamai.net/7/196/2670/000[12]/images.gmx.net/i4/images/.*/
201 # Block any URLs that match these patterns
203 /.*/(.*[-_.])?ads?[0-9]?(/|[-_.].*|\.(gif|jpe?g))
204 /.*/(plain|live|rotate)[-_.]?ads?/
205 /.*/(sponsor)s?[0-9]?/
206 /.*/ad(server|stream|juggler)\.(cgi|pl|dll|exe)
208 /.*/adv((er)?ts?|ertis(ing|ements?))?/
211 /.*/advert[0-9]+\.jpg
214 /images/.*/.*_anim\.gif
216 /.*(ms)?backoff(ice)?.*\.(gif|jpe?g)
217 195.63.104.*/(inbox|log|meld|folderlu|folderru|log(in|out)[lmr]u|)
219 .images.yahoo.com/adv/
225 See the comments in the configuration files themselves, or the
227 for explanations of the above syntax, and other <B>Privoxy</B>
228 configuration options.
229 <A NAME="lbAI"> </A>
235 <I>/usr/sbin/privoxy</I>
236 <I>/etc/privoxy/config</I>
237 <I>/etc/privoxy/default.action</I>
238 <I>/etc/privoxy/standard.action</I>
239 <I>/etc/privoxy/user.action</I>
240 <I>/etc/privoxy/default.filter</I>
241 <I>/etc/privoxy/trust</I>
242 <I>/etc/privoxy/templates/*</I>
243 <I>/var/log/privoxy/logfile</I>
248 Various other files should be included, but may vary depending on platform
249 and build configuration. More documentation should be included in the local
250 documentation directory, though is not complete at this time.
251 <A NAME="lbAJ"> </A>
256 <B>Privoxy</B> terminates on the <B>SIGINT</B>,
257 <B>SIGTERM</B> and <B>SIGABRT</B> signals. Log
258 rotation scripts may cause a re-opening of the logfile by sending a
259 <B>SIGHUP</B> to <B>Privoxy</B>. Note that unlike
260 other daemons, <B>Privoxy</B> does not need to be made aware of
261 config file changes by <B>SIGHUP</B> -- it will detect them
263 <A NAME="lbAK"> </A>
268 This is a beta version of <B>Privoxy</B>. Not
269 all features are well tested.
272 Please see the <I>user-manual</I> on how to contact the
273 developers for feature requests, reporting problems, and other questions.
274 <A NAME="lbAL"> </A>
279 Other references and sites of interest to <B>Privoxy</B>
284 <A HREF="http://www.privoxy.org/,">http://www.privoxy.org/,</A>
285 The <B>Privoxy</B> Home page.
287 <A HREF="http://sourceforge.net/projects/ijbswa,">http://sourceforge.net/projects/ijbswa,</A>
288 the Project Page for <B>Privoxy</B> on
291 <A HREF="http://p.p/,">http://p.p/,</A> access
292 <B>Privoxy</B> from your browser. Alternately,
293 <A HREF="http://config.privoxy.org">http://config.privoxy.org</A>
294 may work in some situations where the first does not.
296 <A HREF="http://p.p/">http://p.p/</A>
297 to submit ``misses'' to the developers.
299 <A HREF="http://www.junkbusters.com/ht/en/cookies.html">http://www.junkbusters.com/ht/en/cookies.html</A>
301 <A HREF="http://www.waldherr.org/junkbuster/">http://www.waldherr.org/junkbuster/</A>
303 <A HREF="http://privacy.net/analyze/">http://privacy.net/analyze/</A>
305 <A HREF="http://www.squid-cache.org/">http://www.squid-cache.org/</A>
306 <A NAME="lbAM"> </A>
307 <H2>DEVELOPMENT TEAM</H2>
316 Rodrigo Barbosa (RPM specfiles)
319 Gábor Lipták
322 David Schmidt (OS/2, Mac OSX ports)
327 <A NAME="lbAN"> </A>
328 <H2>COPYRIGHT AND LICENSE</H2>
332 <B>Privoxy</B> is free software; you can
333 redistribute it and/or modify it under the terms of the GNU General Public
334 License as published by the Free Software Foundation; either version 2 of the
335 License, or (at your option) any later version.
338 This program is distributed in the hope that it will be useful, but WITHOUT
339 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
340 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
341 more details, which is available from the Free Software Foundation, Inc, 59
342 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
345 You should have received a copy of the GNU General Public License
346 along with this program; if not, write to the Free Software Foundation, Inc.,
347 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
351 <A NAME="index"> </A><H2>Index</H2>
353 <DT><A HREF="#lbAB">NAME</A><DD>
354 <DT><A HREF="#lbAC">SYNOPSIS</A><DD>
355 <DT><A HREF="#lbAD">OPTIONS</A><DD>
356 <DT><A HREF="#lbAE">DESCRIPTION</A><DD>
357 <DT><A HREF="#lbAF">INSTALLATION AND USAGE</A><DD>
358 <DT><A HREF="#lbAG">CONFIGURATION</A><DD>
359 <DT><A HREF="#lbAH">SAMPLE CONFIGURATION</A><DD>
360 <DT><A HREF="#lbAI">FILES</A><DD>
361 <DT><A HREF="#lbAJ">SIGNALS</A><DD>
362 <DT><A HREF="#lbAK">NOTES</A><DD>
363 <DT><A HREF="#lbAL">SEE ALSO</A><DD>
364 <DT><A HREF="#lbAM">DEVELOPMENT TEAM</A><DD>
365 <DT><A HREF="#lbAN">COPYRIGHT AND LICENSE</A><DD>
368 This document was created by
370 using the manual pages.<BR>
371 Time: 05:09:36 GMT, April 24, 2002