Added back in man page
[privoxy.git] / junkbuster.1
1 .\" Revised man page 10/13/01\r
2 .\" Hal Burgiss <hal@foobox.net for Junkbuster developers\r
3 .TH JUNKBUSTER 1 "v2.9.9 (alpha) Date: 2001/10/14"\r
4 \r
5 .SH NAME\r
6 \fBjunkbuster\fP\r
7 - The\r
8 Internet Junkbuster\r
9 Proxy\r
10 \s-2(TM)\s+2\r
11 .SH SYNOPSIS\r
12 \fBjunkbuster\fP\r
13 \fI\&[config_file] &\fP\r
14 .br\r
15 \fBjunkbstr.exe\fP\r
16 \fI\&[config_file]\fP\r
17 (Windows)\r
18 .br\r
19 .P\r
20 If the configuration file is not specified on the command line,\r
21 \fBJunkbuster\fP will look for a file named \fIconfig\fP in the \r
22 current directory (except on Amiga where it will look for \r
23 \fIAmiTCP:db/junkbuster/config\fP and Win32 where it will try \r
24 \fIjunkbstr.txt\fP).\r
25 \r
26 \r
27 .SH DESCRIPTION\r
28 \fBJunkbuster\fP\r
29 is an instrumentable HTTP proxy that filters the \r
30 \s-2HTTP\s0\r
31 data stream between\r
32 web servers and browsers.\r
33 \fBJunkbuster\fP can be used to protect privacy, manage cookies, filter web\r
34 page content, manage access restrictions, and to remove such annoying Internet\r
35 junk as ads, banners, and pop-ups. Or whatever other annoyances strike your\r
36 fancy.\r
37 \r
38 .SH INSTALLATION AND USE\r
39 Browsers must be configured to use \r
40 \fBJunkbuster\fP\r
41 (the default is localhost, \r
42 port 8000).\r
43 To set the \r
44 \s-2HTTP\s0\r
45 proxy in Netscape and Mozilla,\r
46 go through:\r
47 \fB\&Edit\fP;\r
48 \fB\&Preferences\fP;\r
49 \fB\&Advanced\fP;\r
50 \fB\&Proxies\fP;\r
51 \fB\&Manual Proxy Configuration\fP;\r
52 \fB\&View\fP.\r
53 .P\r
54 For Internet Explorer,\r
55 go through:\r
56 \fB\&Tools\fP;\r
57 \fB\&Internet Properties\fP;\r
58 \fB\&Connections\fP;\r
59 \fB\&LAN Settings\fP.\r
60 .P\r
61 Set the HTTP proxy location for localhost, port 8000.\r
62 The\r
63 Secure (SSL) Proxy\" ijbfaq.html#security\r
64 should also be set to the same values,\r
65 otherwise\r
66 \fB\&https:\fP\r
67 \s-2URL\s0s\r
68 won't be proxied.\r
69 \r
70 .SH CONFIGURATION\r
71 All \fBJunkbuster\fP configuration is done via the various configuarion \r
72 files. The default configuration files are: \fIconfig\fP, \r
73 \fIactionsfile\fP, and \fIre_filterfile\fP. These are well commented. \r
74 On Unix and Unix-like systems, these are located in \fI/etc/junkbuster/\fP \r
75 by default. On Windows and OS/2, these files are in the same directory \r
76 as the \fBJunkbuster\fP executable. \r
77 .P\r
78 The name and number of configuration files has changed from previous versions,\r
79 and is subject to change as development progresses. In fact, the configuration\r
80 itself is changed and much more sophisticated. See the user-manual for a brief\r
81 explanation of all configuration options.\r
82 \r
83 \r
84 .SH "SAMPLE CONFIGURATION"\r
85 .PP\r
86 A brief example of what an \fIactionsfile\fP configuration might look like:\r
87 .PP\r
88 .nf\r
89 \r
90 # Define a few useful custom aliases for later use\r
91 {{alias}}\r
92 +no-cookies = +no-cookies-set +no-cookies-read\r
93 -no-cookies = -no-cookies-set -no-cookies-read\r
94 +imageblock = +block +image\r
95 \r
96 ## Default Policies (actions) ############################\r
97 { \\\r
98  -block \\\r
99  -downgrade \\\r
100  +fast-redirects \\\r
101  +filter \\\r
102  +no-compression \\\r
103  +hide-forwarded \\\r
104  +hide-from{block} \\\r
105  +hide-referer{forge} \\\r
106  -hide-user-agent \\\r
107  -image \\\r
108  +image-blocker{blank} \\\r
109  +no-cookies-read \\\r
110  +no-cookies-set \\\r
111  +no-popups \\\r
112  +vanilla-wafer \\\r
113 }\r
114 /\r
115 \r
116 # Now set exceptions to the above defined policies #######\r
117 \r
118 # Sites that DO need cookies\r
119 {-no-cookies}\r
120  .redhat.com\r
121  .sun.com\r
122  .yahoo.com\r
123  .msdn.microsoft.com\r
124 \r
125 # This site requires cookies AND 'fast-redirects' on\r
126 {-no-cookies -fast-redirects}\r
127  .nytimes.com\r
128 \r
129 # Add custom headers, and turn off filtering of page source\r
130 {+add-header{X-Privacy: Yes please} #-add-header{*} \\\r
131  +add-header{X-User-Tracking: No thanks!} -filter}\r
132  privacy.net\r
133 \r
134 {+imageblock}\r
135  .adforce.imgis.com\r
136  .ad.preferences.com/image.*\r
137  .ads.web.aol.com\r
138  .ad-adex3.flycast.com\r
139  .ad.doubleclick.net\r
140  .ln.doubleclick.net\r
141  .ad.de.doubleclick.net\r
142  /.*/count\\.cgi\\?.*df=\r
143  194.221.183.22[1-7]\r
144  a196.g.akamai.net/7/196/2670/000[12]/images.gmx.net/i4/images/.*/\r
145 \r
146 # Block any URLs that match these patterns\r
147 {+block}\r
148  /.*/(.*[-_.])?ads?[0-9]?(/|[-_.].*|\\.(gif|jpe?g))\r
149  /.*/(.*[-_.])?count(er)?(\\.cgi|\\.dll|\\.exe|[?/])\r
150  /.*/(plain|live|rotate)[-_.]?ads?/\r
151  /.*/(sponsor)s?[0-9]?/\r
152  /.*/ad(server|stream|juggler)\\.(cgi|pl|dll|exe)\r
153  /.*/adbanners/\r
154  /.*/adv((er)?ts?|ertis(ing|ements?))?/\r
155  /.*/banners?/\r
156  /.*/popupads/\r
157  /.*/sponsor.*\\.gif\r
158  /.*/advert[0-9]+\\.jpg\r
159  /ad_images/\r
160  /.*/ads/\r
161  /images/.*/.*_anim\\.gif\r
162  /rotations/ \r
163  /.*(ms)?backoff(ice)?.*\\.(gif|jpe?g)\r
164  195.63.104.*/(inbox|log|meld|folderlu|folderru|log(in|out)[lmr]u|)\r
165  .images.nytimes.com\r
166  .images.yahoo.com/adv/\r
167  /.*cnnstore\\.gif\r
168 \r
169 .fi\r
170 .sp\r
171 .PP\r
172 See the comments in the configuration files themselves, or the user-manual \r
173 for explanations of the above syntax.\r
174 \r
175 .SH "FILES"\r
176 \fI/usr/sbin/junkbuster\fP\r
177 .br\r
178 \fI/etc/junkbuster/config\fP\r
179 .br\r
180 \fI/etc/junkbuster/actionsfile\fP\r
181 .br\r
182 \fI/etc/junkbuster/re_filterfile\fP\r
183 .br\r
184 \fI/var/log/junkbuster/logfile\fP\r
185 \r
186 .P\r
187 Various other files should be included, but may vary depending on platform.\r
188 More documentation should be included in the local documentation directory,\r
189 though is not complete at this time.\r
190 \r
191 .SH NOTES\r
192 This is a development version of \fBJunkbuster\fP. All features are not \r
193 complete.\r
194 \r
195 .SH BUGS\r
196 Yes. HTTP/1.1 support is only partially implemented. See the user-manual for \r
197 how and where to report bugs.\r
198 \r
199 .SH SEE ALSO\r
200 http://ijbswa.sourceforge.net/\r
201 .br\r
202 http://sourceforge.net/projects/ijbswa\r
203 .br\r
204 http://www.waldherr.org/junkbuster/\" waldherr.org#\r
205 .br\r
206 http://www.junkbusters.com/ht/en/cookies.html\" cookies.html#\r
207 .br\r
208 http://ijbswa.sourceforge.net/config/\r
209 .br\r
210 http://privacy.net/analyze/\r
211 .br\r
212 http://www.squid-cache.org/\r
213 \r
214 .SH DEVELOPMENT TEAM\r
215 .br\r
216  Stefan Waldherr \r
217 .br\r
218  Andreas Oesterhelt \r
219 .br\r
220  Jon Foster \r
221 .br\r
222  Markus Breitenbach\r
223 .br\r
224  Thomas Steudten\r
225 .br\r
226  David Schmidt\r
227 .br\r
228  Haroon Rafique\r
229 .br\r
230  Jorg Strohmayer\r
231 .br\r
232  Shamim Mohamed\r
233 .br\r
234  Sarantis Paskalis\r
235 .br\r
236  Gabriel L. Somlo\r
237 .br\r
238  John Venvertloh\r
239 .br\r
240  Hal Burgiss\r
241 \r
242 \r
243 .SH COPYRIGHT AND GPL\r
244 Orginally written by, and copyrighted by, the Anonymous Coders and Junkbusters\r
245 Corporation. \r
246 .P\r
247 This program is free software; you can redistribute it and/or modify\r
248 it under the terms of the GNU General Public License as published by\r
249 the Free Software Foundation; either version 2 of the License, or\r
250 (at your option) any later version.\r
251 .P\r
252 This program is distributed in the hope that it will be useful,\r
253 but WITHOUT ANY WARRANTY; without even the implied warranty of\r
254 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
255 GNU General Public License for more details.\r
256 .P\r
257 You should have received a copy of the GNU General Public License\r
258 along with this program; if not, write to the Free Software\r
259 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\r
260 .P\r
261 Internet Junkbuster\r
262 Proxy\r
263 is a\r
264 trademark\" legal.html#marks\r
265 of Junkbusters Corporation.\r