2 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
3 <HTML><HEAD><TITLE>Man page of PRIVOXY</TITLE>
4 <LINK REL="STYLESHEET" TYPE="text/css" HREF="../p_doc.css"></HEAD><BODY>
6 Section: (1)<BR>Updated: 21 March 2009<BR><A HREF="#index">Index</A>
9 <A NAME="lbAB"> </A>
12 privoxy - Privacy Enhancing Proxy
13 <A NAME="lbAC"> </A>
17 <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>--chroot</B> ] [<B>--pre-chroot-nslookup </B><I>hostname</I><B></B> ] [<B></B><I>configfile</I><B></B> ]
19 <A NAME="lbAD"> </A>
24 <B>Privoxy</B> may be invoked with the following command line
28 Print brief usage info and exit.
29 <DT><B>--version</B><DD>
30 Print version info and exit.
31 <DT><B>--no-daemon</B><DD>
32 Don't become a daemon, i.e. don't fork and become process group
33 leader, don't detach from controlling tty, and do all logging there.
34 <DT><B>--pidfile </B><I>pidfile</I><B></B><DD>
35 On startup, write the process ID to <I>pidfile</I>.
36 Delete the <I>pidfile</I> on exit.
37 Failure to create or delete the <I>pidfile</I>
38 is non-fatal. If no <B>--pidfile</B> option is given, no PID file will be used.
39 <DT><B>--user </B><I>user[.group]</I><B></B><DD>
40 After (optionally) writing the PID file, assume the user ID of
41 <I>user</I> and the GID of
42 <I>group</I>, or, if the optional
43 <I>group</I> was not given, the default group of
44 <I>user</I>. Exit if the privileges are not
46 <DT><B>--chroot</B><DD>
47 Before changing to the user ID given in the --user option, chroot to
48 that user's home directory, i.e. make the kernel pretend to the
49 <B>Privoxy</B> process that the directory tree starts
50 there. If set up carefully, this can limit the impact of possible
51 vulnerabilities in <B>Privoxy</B> to the files contained in
53 <DT><B>--pre-chroot-nslookup </B><I>hostname</I><B></B><DD>
54 Initialize the resolver library using <I>hostname</I>
55 before chroot'ing. On some systems this reduces the number of files
56 that must be copied into the chroot tree.
60 If the <I>configfile</I> is not specified on the command line,
61 <B>Privoxy</B> will look for a file named
62 <I>config</I> in the current directory. If no
63 <I>configfile</I> is found, <B>Privoxy</B> will
65 <A NAME="lbAE"> </A>
70 Privoxy is a non-caching web proxy with advanced filtering capabilities
71 for enhancing privacy, modifying web page data and HTTP headers, controlling
72 access, and removing ads and other obnoxious Internet junk. Privoxy has a
73 flexible configuration and can be customized to suit individual needs and tastes.
74 It has application for both stand-alone systems and multi-user networks.
77 Privoxy is Free Software and licensed under the GPL2.
78 <A NAME="lbAF"> </A>
79 <H2>INSTALLATION AND USAGE</H2>
83 Browsers can either be individually configured to use
84 <B>Privoxy</B> as a HTTP proxy (recommended),
85 or <B>Privoxy</B> can be combined with a packet
86 filter to build an intercepting proxy
87 (see <I>config</I>). The default setting is for
88 localhost, on port 8118 (configurable in the main config file). To set the
89 HTTP proxy in Firefox, go through: <B>Tools</B>;
90 <B>Options</B>; <B>General</B>;
91 <B>Connection Settings</B>;
92 <B>Manual Proxy Configuration</B>.
95 For Internet Explorer, go through: <B>Tools</B>;
96 <B>Internet Properties</B>; <B>Connections</B>;
100 The Secure (SSL) Proxy should also be set to the same values, otherwise
101 https: URLs will not be proxied. Note: <B>Privoxy</B> can only
102 proxy HTTP and HTTPS traffic. Do not try it with FTP or other protocols.
103 HTTPS presents some limitations, and not all features will work with HTTPS
107 For other browsers, check the documentation.
108 <A NAME="lbAG"> </A>
109 <H2>CONFIGURATION</H2>
113 <B>Privoxy</B> can be configured with the various configuration
114 files. The default configuration files are: <I>config</I>,
115 <I>default.filter</I>, <I>default.action</I> and
116 <I>default.action</I>. <I>user.action</I> should
117 be used for locally defined exceptions to the default rules in
118 <I>match-all.action</I> and <I>default.action</I>,
119 and <I>user.filter</I> for locally defined filters. These are
120 well commented. On Unix and Unix-like systems, these are located in
121 <I>/etc/privoxy/</I> by default.
124 <B>Privoxy</B> uses the concept of <B>actions</B>
125 in order to manipulate the data stream between the browser and remote sites.
126 There are various actions available with specific functions for such things
127 as blocking web sites, managing cookies, etc. These actions can be invoked
128 individually or combined, and used against individual URLs, or groups of URLs
129 that can be defined using wildcards and regular expressions. The result is
130 that the user has greatly enhanced control and freedom.
133 The actions list (ad blocks, etc) can also be configured with your
134 web browser at <A HREF="http://config.privoxy.org/">http://config.privoxy.org/</A>
135 (assuming the configuration allows it).
136 <B>Privoxy's</B> configuration parameters can also be viewed at
137 the same page. In addition, <B>Privoxy</B> can be toggled on/off.
138 This is an internal page, and does not require Internet access.
141 See the <I>User Manual</I> for a detailed
142 explanation of installation, general usage, all configuration options, new
143 features and notes on upgrading.
144 <A NAME="lbAH"> </A>
150 <I>/usr/sbin/privoxy</I>
151 <I>/etc/privoxy/config</I>
152 <I>/etc/privoxy/match-all.action</I>
153 <I>/etc/privoxy/default.action</I>
154 <I>/etc/privoxy/user.action</I>
155 <I>/etc/privoxy/default.filter</I>
156 <I>/etc/privoxy/user.filter</I>
157 <I>/etc/privoxy/trust</I>
158 <I>/etc/privoxy/templates/*</I>
159 <I>/var/log/privoxy/logfile</I>
164 Various other files should be included, but may vary depending on platform
165 and build configuration. Additional documentation should be included in the local
166 documentation directory.
167 <A NAME="lbAI"> </A>
172 <B>Privoxy</B> terminates on the <B>SIGINT</B>,
173 <B>SIGTERM</B> and <B>SIGABRT</B> signals. Log
174 rotation scripts may cause a re-opening of the logfile by sending a
175 <B>SIGHUP</B> to <B>Privoxy</B>. Note that unlike
176 other daemons, <B>Privoxy</B> does not need to be made aware of
177 config file changes by <B>SIGHUP</B> -- it will detect them
179 <A NAME="lbAJ"> </A>
184 Please see the <I>User Manual</I> on how to contact the
185 developers, for feature requests, reporting problems, and other questions.
186 <A NAME="lbAK"> </A>
191 Other references and sites of interest to <B>Privoxy</B>
196 <A HREF="http://www.privoxy.org/">http://www.privoxy.org/,</A>
197 the <B>Privoxy</B> Home page.
199 <A HREF="http://www.privoxy.org/faq/">http://www.privoxy.org/faq/,</A>
200 the <B>Privoxy</B> FAQ.
202 <A HREF="http://www.privoxy.org/developer-manual/">http://www.privoxy.org/developer-manual/,</A>
203 the <B>Privoxy</B> developer manual.
205 <A HREF="https://sourceforge.net/projects/ijbswa/">https://sourceforge.net/projects/ijbswa/,</A>
206 the Project Page for <B>Privoxy</B> on
209 <A HREF="http://config.privoxy.org/">http://config.privoxy.org/,</A>
210 the web-based user interface. <B>Privoxy</B> must be
211 running for this to work. Shortcut: <A HREF="http://p.p/">http://p.p/</A>
213 <A HREF="https://sourceforge.net/tracker/?group_id=11118">https://sourceforge.net/tracker/?group_id=11118</A>&atid=460288, to submit ``misses'' and other
214 configuration related suggestions to the developers.
215 <A NAME="lbAL"> </A>
216 <H2>DEVELOPMENT TEAM</H2>
220 Fabian Keil, lead developer
221 David Schmidt, developer
231 <A NAME="lbAM"> </A>
232 <H2>COPYRIGHT AND LICENSE</H2>
234 <A NAME="lbAN"> </A>
239 Copyright (C) 2001-2009 by Privoxy Developers <<A HREF="mailto:ijbswa-developers@lists.sourceforge.net">ijbswa-developers@lists.sourceforge.net</A>>
242 Some source code is based on code Copyright (C) 1997 by Anonymous Coders
243 and Junkbusters, Inc. and licensed under the <I>GNU General Public
245 <A NAME="lbAO"> </A>
250 <B>Privoxy</B> is free software; you can
251 redistribute it and/or modify it under the terms of the
252 <I>GNU General Public License</I>, version 2,
253 as published by the Free Software Foundation.
256 This program is distributed in the hope that it will be useful, but WITHOUT
257 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
258 FITNESS FOR A PARTICULAR PURPOSE. See the <I>GNU General Public License</I> for details.
261 You should have received a copy of the <I>GNU GPL</I>
262 along with this program; if not, write to the Free Software
263 Foundation, Inc. 51 Franklin Street, Fifth Floor
264 Boston, MA 02110-1301
269 <A NAME="index"> </A><H2>Index</H2>
271 <DT><A HREF="#lbAB">NAME</A><DD>
272 <DT><A HREF="#lbAC">SYNOPSIS</A><DD>
273 <DT><A HREF="#lbAD">OPTIONS</A><DD>
274 <DT><A HREF="#lbAE">DESCRIPTION</A><DD>
275 <DT><A HREF="#lbAF">INSTALLATION AND USAGE</A><DD>
276 <DT><A HREF="#lbAG">CONFIGURATION</A><DD>
277 <DT><A HREF="#lbAH">FILES</A><DD>
278 <DT><A HREF="#lbAI">SIGNALS</A><DD>
279 <DT><A HREF="#lbAJ">NOTES</A><DD>
280 <DT><A HREF="#lbAK">SEE ALSO</A><DD>
281 <DT><A HREF="#lbAL">DEVELOPMENT TEAM</A><DD>
282 <DT><A HREF="#lbAM">COPYRIGHT AND LICENSE</A><DD>
284 <DT><A HREF="#lbAN">COPYRIGHT</A><DD>
285 <DT><A HREF="#lbAO">LICENSE</A><DD>
289 This document was created by
291 using the manual pages.<BR>
292 Time: 11:32:52 GMT, March 21, 2009