1 # Sample Configuration file for the Internet Junkbuster 2.0
4 # $Id: config,v 1.2 2001/04/30 03:05:11 rodney Exp $
9 # Copyright 1997-8 Junkbusters Corp. For distribution, modification and use
10 # under the GNU General Public License. These files come with NO WARRANTY.
11 # See http://www.junkbusters.com/ht/en/gpl.html or README file for details.
13 # When starting the proxy, give the name of this file as an argument.
14 # Any changes made to this file are *not* automatically loaded; you have
15 # to stop and restart the proxy.
17 # For information see http://www.junkbusters.com/ht/en/ijbman.html
18 # or the documentation that came with the release
20 # Lines beginning with a # character are comments; they are ignored.
21 # Many example lines are provided here commented out
23 # the blockfile contains patterns to be blocked by the proxy
24 blockfile ./blocklist # comments are OK here, too
26 # the imagefile contains patterns to detect blocked images
29 # the popfile contains patterns of servers where javascript popups are disabled
31 # if the next line is not commented out, all javascript popups from the sites
32 # that match the patterns in popup will be blocked
35 # File containing content modification rules
36 #re_filterfile ./re_filterfile
38 # Uncomment to filter *all* traffic. Default is to
39 # filter only if we wouldn't send a cookie either.
44 # the cookiefile contains patterns to specify the cookie management policy
46 cookiefile ./cookiefile
48 # the logfile is where all logging and error messages are written
50 logfile ./junkbuster.log
52 # the jarfile is where cookies can be stored
56 # the forwardfile defines domain-specific routing
60 # file which lists and into which trusted domains are written
63 # files specify locations of "for information about trusted referers, see.."
64 # multiple trust_info_url lines are OK
66 # trust_info_url http://internet.junkbuster.com/
67 # trust_info_url http://www.yoursite.com/our_trust_policy.html
70 # The access control list file can be used to restrict IP addresses
71 # that are permitted to use the proxy (see warnings in the FAQ).
75 # add an "X-Forwarded-For:" specification to each request header
79 # if logging cookies into a jarfile, and no other wafers were
80 # explicity set, then by default a vanilla wafer is sent with
83 # setting 'suppress-vanilla-wafer' stops this vanilla wafer from
86 suppress-vanilla-wafer
88 # add these wafers to each request header
89 # multiple wafer lines are OK
91 #wafer NOTE=Like most people, I want my browsing to be anonymous.
92 #wafer WARNING=Please do not attempt to track me.
94 # Anything can be added to the request headers. Please don't litter.
95 # multiple add-header lines are OK
97 #add-header Forwarded: by http://stay-out-of-my-backyard.net
98 #add-header Forwarded: by http://pro-privacy-isp.net
99 #add-header Proxy-Connection: Keep-Alive
101 # listen-address specifies where the Junkbuster will listen for connections
102 # Specifying a port is optional; if unspecified the defaults is 8000.
103 # Before Version 2.0.2 the default was to bind to all IP addresses (INADDR_ANY)
104 # This has been restricted to localhost to avoid unintended security breaches.
105 # To open the proxy to all, uncomment the following line:
106 #listen-address :8000
107 # other example usage:
108 #listen-address 124.207.250.245:8080
109 # to explicitly state what is now the default:
110 #listen-address localhost
112 listen-address 127.0.0.1:8000
114 # user-agent specifies treatment of the "User-Agent:" (and "UA-*:") header(s)
115 # default: Forge the "User-Agent:"
116 # 'text' : Always send <text> as the "User-Agent:"
117 # . : Pass the "User-Agent:" unchanged
118 # @ : Pass the "User-Agent:" if the server is in the cookie file,
119 # forge the "User-Agent:" otherwise
122 # note: Russian browsers may be confused if user agent misidentifies
123 # the operating system (Mac vs Windows); see FAQ
126 # referer specifies treatment of the "Referer:" header
127 # New option by "Andreas S. Oesterhelt" <oes@paradis.rhein.de>
129 # default: Kill the referrer-header from the client
130 # 'text' : Always send <text> as the referrer
131 # . : Pass the referrer unchanged
132 # @ : Pass the referrer if the server is in the cookie file,
133 # kill the referrer otherwise
134 # § : Pass the referrer if the server is in the cookie file,
135 # send a forged referrer that points to the root-diretory URL
136 # of the current request otherwise
139 # from specifies value to be subsituted if browser provides a "From:" header
141 #from spam-me-senseless@sittingduck.net
143 # tinygif allows you to change the appearance of blocked images
145 # tinygif 0 # Show a "broken icon"
146 # tinygif 1 # Show a GIF of one transparent pixel
147 tinygif 2 # Show a GIF with the word "JUNKBUSTER"
148 # tinygif 3 http://localhost/1x1.gif # Temporary redirect to this URL
150 # Andrew <anw@tirana.freewire.co.uk> added
151 # The following can be used to suppress display of the block lists when the
152 # page http://x.x/show-proxy-args is displayed. With a long block list this
153 # accelerates loading of the configuration page and also hides the contents of
154 # the block lists (for whatever reason). Maintainers of junkbuster proxies for
155 # multiple use can specify a message for any use who wants to know what is in
158 #suppress-blocklists Contact sysadmin@example.com for details.
159 # suppress-blocklists
161 # debug sets the level of debugging information to log in the logfile
163 # debug 1 # GPC = show each GET/POST/CONNECT request
164 # debug 2 # CONN = show each connection status
165 # debug 4 # IO = show I/O status
166 # debug 8 # HDR = show header parsing
167 # debug 16 # LOG = log all data into the logfile
168 # debug 32 # FRC = debug force feature
169 # debug 64 # REF = debug regular expression filter
171 # multiple "debug" directives, are OK - they're logical-OR'd together
173 #debug 15 # same as setting the first 4 listed above
175 # debug 255 # Log *everything*
177 # single-threaded operation (i.e. disallows multiple threads or processes)
178 # This is most often used for debugging because it keeps the
179 # debugging output "in order" for easy reading.
183 # Toggle flag. 0 => disabled, anything else (ie. 1) => enabled
187 # Win32 GUI specific options. Moved here from ijbw32.ini
188 # in hopes of keep all of our config settings together.
192 log-highlight-messages 1
195 log-font-name Comic Sans MS
198 close-button-minimizes 1
200 # hide-console is used only on Win32 console mode. It instructs
201 # the Internet Junkbuster to disconnect from and hide the