Accept and ignore: SDCH-compressed content detected, content filtering disabled....
[privoxy.git] / privoxy.1
1 .\" This manpage has been automatically generated by docbook2man 
2 .\" from a DocBook document.  This tool can be found at:
3 .\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> 
4 .\" Please send any bug reports, improvements, comments, patches, 
5 .\" etc. to Steve Cheng <steve@ggi-project.org>.
6 .TH "PRIVOXY" "1" "13 November 2010" "Privoxy 3.0.17" ""
7 .SH NAME
8 privoxy \- Privacy Enhancing Proxy
9 .SH SYNOPSIS
10
11 \fBprivoxy\fR [\fB\-\-help\fR ] [\fB\-\-version\fR ] [\fB\-\-no-daemon\fR ] [\fB\-\-pidfile \fIpidfile\fB\fR ] [\fB\-\-user \fIuser[.group]\fB\fR ] [\fB\-\-chroot\fR ] [\fB\-\-pre-chroot-nslookup \fIhostname\fB\fR ] [\fB\fIconfigfile\fB\fR ]
12
13 .SH "OPTIONS"
14 .PP
15 \fBPrivoxy\fR may be invoked with the following command line
16 options:
17 .TP
18 \fB\-\-help\fR
19 Print brief usage info and exit.
20 .TP
21 \fB\-\-version\fR
22 Print version info and exit.
23 .TP
24 \fB\-\-no-daemon\fR
25 Don't  become  a daemon, i.e. don't fork and become process group
26 leader, don't detach from controlling tty, and do all logging there.
27 .TP
28 \fB\-\-pidfile \fIpidfile\fB\fR
29 On startup, write the process ID to \fIpidfile\fR.
30 Delete the \fIpidfile\fR on exit.
31 Failure to create or delete the \fIpidfile\fR
32 is non-fatal. If no \fB\-\-pidfile\fR option is given, no PID file will be used.
33 .TP
34 \fB\-\-user \fIuser[.group]\fB\fR
35 After (optionally) writing the PID file, assume the user ID of
36 \fIuser\fR and the GID of
37 \fIgroup\fR, or, if the optional
38 \fIgroup\fR was not given, the default group of
39 \fIuser\fR. Exit if the privileges are not
40 sufficient to do so.
41 .TP
42 \fB\-\-chroot\fR
43 Before changing to the user ID given in the \-\-user option, chroot to
44 that user's home directory, i.e. make the kernel pretend to the
45 \fBPrivoxy\fR process that the directory tree starts
46 there. If set up carefully, this can limit the impact of possible
47 vulnerabilities in \fBPrivoxy\fR to the files contained in
48 that hierarchy. 
49 .TP
50 \fB\-\-pre-chroot-nslookup \fIhostname\fB\fR
51 Initialize the resolver library using \fIhostname\fR
52 before chroot'ing. On some systems this reduces the number of files
53 that must be copied into the chroot tree.
54 .PP
55 If the \fIconfigfile\fR is not specified on  the  command  line,
56 \fBPrivoxy\fR  will  look for a file named
57 \fIconfig\fR in the current directory. If no
58 \fIconfigfile\fR is found, \fBPrivoxy\fR will 
59 fail to start.
60 .SH "DESCRIPTION"
61 .PP
62 Privoxy is a non-caching web proxy with advanced filtering capabilities
63 for enhancing privacy, modifying web page data and HTTP headers, controlling
64 access, and removing ads and other obnoxious Internet junk. Privoxy has a
65 flexible configuration and can be customized to suit individual needs and tastes.
66 It has application for both stand-alone systems and multi-user networks.
67 .PP
68 Privoxy is Free Software and licensed under the GNU GPLv2.
69 .PP
70 Privoxy is an associated project of Software in the Public Interest (SPI).
71 .PP
72 Helping hands and donations are welcome:
73 .TP 0.2i
74 \(bu
75 http://www.privoxy.org/faq/general.html#PARTICIPATE
76 .TP 0.2i
77 \(bu
78 http://www.privoxy.org/faq/general.html#DONATE
79 .SH "INSTALLATION AND USAGE"
80 .PP
81 Browsers can either be individually configured to use
82 \fBPrivoxy\fR as a HTTP proxy (recommended),
83 or \fBPrivoxy\fR can be combined with a packet
84 filter to build an intercepting proxy
85 (see \fIconfig\fR).  The default setting is  for
86 localhost,  on port  8118 (configurable in the main config file).  To set the
87 HTTP proxy in Firefox, go through: \fBTools\fR; 
88 \fBOptions\fR; \fBGeneral\fR;
89 \fBConnection Settings\fR;
90 \fBManual Proxy Configuration\fR. 
91 .PP
92 For Internet Explorer, go through: \fBTools\fR; 
93 \fBInternet Properties\fR; \fBConnections\fR;
94 \fBLAN Settings\fR. 
95 .PP
96 The Secure (SSL) Proxy should also be set to the same values, otherwise
97 https: URLs will not be proxied. Note: \fBPrivoxy\fR can only
98 proxy HTTP and HTTPS traffic. Do not try it with FTP or other protocols.
99 HTTPS presents some limitations, and not all features will work with HTTPS 
100 connections.
101 .PP
102 For other browsers, check the documentation.
103 .SH "CONFIGURATION"
104 .PP
105 \fBPrivoxy\fR can be configured with the various configuration
106 files. The default configuration files are: \fIconfig\fR,
107 \fIdefault.filter\fR, \fIdefault.action\fR and
108 \fIdefault.action\fR. \fIuser.action\fR should 
109 be used for locally defined exceptions to the default rules in
110 \fImatch-all.action\fR and \fIdefault.action\fR,
111 and \fIuser.filter\fR for locally defined filters. These are
112 well commented.  On Unix and Unix-like systems, these are located in
113 \fI/etc/privoxy/\fR by default. 
114 .PP
115 \fBPrivoxy\fR uses the concept of \fBactions\fR 
116 in order to manipulate the data stream between the browser and remote sites.
117 There are various actions available with specific functions for such things 
118 as blocking web sites, managing cookies, etc. These actions can be invoked
119 individually or combined, and used against individual URLs, or groups of URLs 
120 that can be defined using wildcards and regular expressions. The result is
121 that the user has greatly enhanced control and freedom.
122 .PP
123 The actions list (ad blocks, etc) can also be configured with your
124 web browser at http://config.privoxy.org/ 
125 (assuming the configuration allows it).
126 \fBPrivoxy's\fR configuration parameters  can also  be viewed at
127 the same page. In addition, \fBPrivoxy\fR can be toggled on/off.
128 This is an internal page, and does not require Internet access.
129 .PP
130 See the \fIUser Manual\fR for a detailed
131 explanation of installation, general usage, all configuration options, new
132 features and notes on upgrading.
133 .SH "FILES"
134
135 .nf
136  
137  \fI/usr/sbin/privoxy\fR
138  \fI/etc/privoxy/config\fR
139  \fI/etc/privoxy/match-all.action\fR
140  \fI/etc/privoxy/default.action\fR
141  \fI/etc/privoxy/user.action\fR
142  \fI/etc/privoxy/default.filter\fR
143  \fI/etc/privoxy/user.filter\fR
144  \fI/etc/privoxy/trust\fR
145  \fI/etc/privoxy/templates/*\fR
146  \fI/var/log/privoxy/logfile\fR
147 .fi
148 .PP
149 Various other files should be included, but may vary depending on platform
150 and build configuration. Additional documentation should be included in the local
151 documentation directory.
152 .SH "SIGNALS"
153 .PP
154 \fBPrivoxy\fR terminates on the \fBSIGINT\fR,
155 \fBSIGTERM\fR and \fBSIGABRT\fR signals. Log
156 rotation scripts may cause a re-opening of the logfile by sending a 
157 \fBSIGHUP\fR to \fBPrivoxy\fR. Note that unlike
158 other daemons,  \fBPrivoxy\fR does not need to be made aware of
159 config file changes by \fBSIGHUP\fR -- it will detect them
160 automatically. 
161 .SH "NOTES"
162 .PP
163 Please see the \fIUser Manual\fR on how to contact the
164 developers, for feature requests, reporting problems, and other questions.
165 .SH "SEE ALSO"
166 .PP
167 Other references and sites of interest to \fBPrivoxy\fR
168 users:
169 .PP
170
171 http://www.privoxy.org/, 
172 the \fBPrivoxy\fR Home page. 
173
174 http://www.privoxy.org/faq/, 
175 the \fBPrivoxy\fR FAQ. 
176
177 http://www.privoxy.org/developer-manual/, 
178 the \fBPrivoxy\fR developer manual. 
179
180 https://sourceforge.net/projects/ijbswa/, 
181 the Project Page for \fBPrivoxy\fR on 
182 SourceForge.
183
184 http://config.privoxy.org/,
185 the web-based user interface. \fBPrivoxy\fR must be
186 running for this to work. Shortcut: http://p.p/
187
188 https://sourceforge.net/tracker/?group_id=11118&atid=460288, to submit ``misses'' and other
189 configuration related suggestions to the developers. 
190 .SH "DEVELOPMENT TEAM"
191
192 .nf
193  Fabian Keil, lead developer
194  David Schmidt, developer
195
196  Hal Burgiss
197  Mark Miller
198  Gerry Murphy
199  Lee Rian
200  Roland Rosenfeld
201 .fi
202 .SH "COPYRIGHT AND LICENSE"
203 .SS "COPYRIGHT"
204 .PP
205 Copyright (C) 2001-2010 by Privoxy Developers <ijbswa-developers@lists.sourceforge.net>
206 .PP
207 Some source code is based on code Copyright (C) 1997 by Anonymous Coders
208 and Junkbusters, Inc. and licensed under the \fIGNU General Public
209 License\fR.
210 .SS "LICENSE"
211 .PP
212 \fBPrivoxy\fR is free software; you can
213 redistribute it and/or modify it under the terms of the 
214 \fIGNU General Public License\fR, version 2,
215 as published by the Free Software Foundation.
216 .PP
217 This program is distributed in the hope that it will be useful, but WITHOUT
218 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
219 FITNESS FOR A PARTICULAR PURPOSE.  See the  \fIGNU General Public License\fR for details.
220 .PP
221 You should have received a copy of the \fIGNU GPL\fR
222 along with this program; if not, write to the  Free Software
223 Foundation, Inc. 51 Franklin Street, Fifth Floor
224 Boston, MA 02110-1301
225 USA