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
5 .TH JUNKBUSTER 1 "v2.9.10 (beta) Date: 2001/12/30"
\r
15 \fI\&[config_file]\fP
\r
18 \fI\&[config_file]\fP
\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
31 is an instrumentable HTTP proxy that filters the
\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
40 .SH INSTALLATION AND USE
\r
41 Browsers must be configured to use
\r
43 (the default is localhost,
\r
47 proxy in Netscape and Mozilla,
\r
50 \fB\&Preferences\fP;
\r
53 \fB\&Manual Proxy Configuration\fP;
\r
56 For Internet Explorer,
\r
59 \fB\&Internet Properties\fP;
\r
60 \fB\&Connections\fP;
\r
61 \fB\&LAN Settings\fP.
\r
63 Set the HTTP proxy location for localhost, port 8000.
\r
65 Secure (SSL) Proxy\" ijbfaq.html#security
\r
66 should also be set to the same values,
\r
73 All \fBJunkbuster\fP configuration is done via the various configuration
\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
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
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
90 .SH "SAMPLE CONFIGURATION"
\r
92 A brief example of what an \fIijb.action\fP configuration might look like:
\r
96 # Define a few useful custom aliases for later use
\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
104 ## Default Policies (actions) ############################
\r
112 +hide-from{block} \\
\r
113 +hide-referer{forge} \\
\r
114 -hide-user-agent \\
\r
116 +image-blocker{blank} \\
\r
117 +no-cookies-keep \\
\r
118 -no-cookies-read \\
\r
126 # Now set exceptions to the above defined policies #######
\r
128 # Sites where we want persistant cookies
\r
129 {-no-cookies -no-cookies-keep}
\r
133 .msdn.microsoft.com
\r
135 # This site requires cookies AND 'fast-redirects' on
\r
136 {-no-cookies -no-cookies-keep -fast-redirects}
\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
144 # Block, and treat these URLs as 'images'.
\r
147 .ad.preferences.com/image.*
\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
157 # Block any URLs that match these patterns
\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
164 /.*/adv((er)?ts?|ertis(ing|ements?))?/
\r
167 /.*/advert[0-9]+\\.jpg
\r
170 /images/.*/.*_anim\\.gif
\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
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
186 \fI/usr/sbin/junkbuster\fP
\r
188 \fI/etc/junkbuster/config\fP
\r
190 \fI/etc/junkbuster/ijb.action\fP
\r
192 \fI/etc/junkbuster/ijb-advanced.action\fP
\r
194 \fI/etc/junkbuster/ijb-basic.action\fP
\r
196 \fI/etc/junkbuster/ijb-intermediate.action\fP
\r
198 \fI/etc/junkbuster/re_filterfile\fP
\r
200 \fI/etc/junkbuster/trust\fP
\r
202 \fI/var/log/junkbuster/logfile\fP
\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
210 \fBJunkbuster\fP use the signal \fISIGHUP\fP (see kill -l) to reload all configuration
\r
211 files (see CONFIGURATION). This includes the re-open of the logfiles
\r
212 (logfile and jarfile) eg. used
\r
213 after rotation of the logfiles by logrotate.
\r
214 The \fISIGHUP\fP behavior is only for UNIX like OS'.
\r
216 However the configfile will be read if \fBJunkbuster\fP notice a different
\r
217 modification time of this file and behaves so like start of \fBJunkbuster\fP
\r
218 in context of all the files.
\r
221 This is a development version of \fBJunkbuster\fP. Not all features are
\r
225 Yes. HTTP/1.1 support is only partially implemented. See the user-manual for
\r
226 how and where to report bugs.
\r
232 http://ijbswa.sourceforge.net/
\r
234 http://sourceforge.net/projects/ijbswa
\r
236 http://www.waldherr.org/junkbuster/\" waldherr.org#
\r
238 http://www.junkbusters.com/ht/en/cookies.html\" cookies.html#
\r
240 http://privacy.net/analyze/
\r
242 http://www.squid-cache.org/
\r
244 http://linuxalpha.ch/packages/
\r
246 .SH DEVELOPMENT TEAM
\r
250 Andreas Oesterhelt
\r
274 .SH COPYRIGHT AND LICENSE
\r
275 Orginally written by, and copyrighted by, the Anonymous Coders and Junkbusters
\r
278 This program is free software; you can redistribute it and/or modify
\r
279 it under the terms of the GNU General Public License as published by
\r
280 the Free Software Foundation; either version 2 of the License, or
\r
281 (at your option) any later version.
\r
283 This program is distributed in the hope that it will be useful,
\r
284 but WITHOUT ANY WARRANTY; without even the implied warranty of
\r
285 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
\r
286 GNU General Public License for more details.
\r
288 You should have received a copy of the GNU General Public License
\r
289 along with this program; if not, write to the Free Software
\r
290 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
\r
292 Internet Junkbuster
\r
295 trademark\" legal.html#marks
\r
296 of Junkbusters Corporation.
\r