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