*** empty log message ***
[privoxy.git] / config
1 #  Sample Configuration file for the Internet Junkbuster 2.0
2
3 #
4 # $Id: config,v 1.2 2001/04/30 03:05:11 rodney Exp $
5 #
6
7 #
8 #
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.
12 #
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.
16
17 # For information see http://www.junkbusters.com/ht/en/ijbman.html
18 # or the documentation that came with the release
19
20 # Lines beginning with a # character are comments; they are ignored.
21 # Many example lines are provided here commented out
22
23 # the blockfile contains patterns to be blocked by the proxy
24 blockfile      ./blocklist # comments are OK here, too
25
26 # the imagefile contains patterns to detect blocked images
27 imagefile      ./imagelist
28
29 # the popfile contains patterns of servers where javascript popups are disabled
30 #
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
33 # popupfile     ./popup
34
35 # File containing content modification rules
36 #re_filterfile   ./re_filterfile
37
38 # Uncomment to filter *all* traffic. Default is to
39 # filter only if we wouldn't send a cookie either.
40 #
41 #re_filter_all
42
43
44 # the cookiefile contains patterns to specify the cookie management policy
45 #
46 cookiefile     ./cookiefile
47
48 # the logfile is where all logging and error messages are written
49 #
50 logfile        ./junkbuster.log
51
52 # the jarfile is where cookies can be stored
53 #
54 #jarfile    ./jarfile
55
56 # the forwardfile defines domain-specific routing
57 #
58 #forwardfile    ./forward
59
60 # file which lists and into which trusted domains are written
61 #
62 #trustfile     ./trust
63 # files specify locations of "for information about trusted referers, see.."
64 # multiple trust_info_url lines are OK
65 #
66 # trust_info_url     http://internet.junkbuster.com/
67 # trust_info_url     http://www.yoursite.com/our_trust_policy.html
68 #
69
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).
72 #
73 #aclfile ./aclfile
74
75 # add an "X-Forwarded-For:" specification to each request header
76 #
77 #add-forwarded-header
78
79 # if logging cookies into a jarfile, and no other wafers were
80 # explicity set, then by default a vanilla wafer is sent with
81 # each request.
82 #
83 # setting 'suppress-vanilla-wafer' stops this vanilla wafer from
84 # being sent.
85 #
86 suppress-vanilla-wafer
87
88 # add these wafers to each request header
89 # multiple wafer lines are OK
90 #
91 #wafer    NOTE=Like most people, I want my browsing to be anonymous.
92 #wafer    WARNING=Please do not attempt to track me.
93
94 # Anything can be added to the request headers. Please don't litter.
95 # multiple add-header lines are OK
96 #
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
100
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
111 # or equivalently:
112 listen-address    127.0.0.1:8000
113
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
120 #user-agent     @
121
122 # note: Russian browsers may be confused if user agent misidentifies
123 # the operating system (Mac vs Windows); see FAQ
124 user-agent    .
125
126 # referer specifies treatment of the "Referer:" header
127 # New option by "Andreas S. Oesterhelt" <oes@paradis.rhein.de>
128 #
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
137 referer     §
138
139 # from specifies value to be subsituted if browser provides a "From:" header
140 #
141 #from        spam-me-senseless@sittingduck.net
142
143 # tinygif allows you to change the appearance of blocked images
144 #
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     2
149 # tinygif  3 http://localhost/1x1.gif   # Temporary redirect to this URL
150
151 # Andrew <anw@tirana.freewire.co.uk> added
152 # The following can be used to suppress display of the block lists when the
153 # page http://x.x/show-proxy-args is displayed. With a long block list this
154 # accelerates loading of the configuration page and also hides the contents of
155 # the block lists (for whatever reason). Maintainers of junkbuster proxies for 
156 # multiple use can specify a message for any use who wants to know what is in
157 # these files.
158 #
159 #suppress-blocklists Contact sysadmin@example.com for details.
160 # suppress-blocklists
161
162 # debug sets the level of debugging information to log in the logfile
163 #
164 # debug         1 # GPC  = show each GET/POST/CONNECT request
165 # debug         2 # CONN = show each connection status
166 # debug         4 # IO   = show I/O status
167 # debug         8 # HDR  = show header parsing
168 # debug        16 # LOG  = log all data into the logfile
169 # debug        32 # FRC  = debug force feature
170 # debug        64 # REF  = debug regular expression filter 
171 #
172 # multiple "debug" directives, are OK - they're logical-OR'd together
173 #
174 #debug         15 # same as setting the first 4 listed above
175 debug 1
176 #debug 255
177
178 # single-threaded operation (i.e. disallows multiple threads or processes)
179 # This is most often used for debugging because it keeps the
180 # debugging output "in order" for easy reading.
181 #
182 #single-threaded
183
184 # Toggle flag.  0 => disabled, anything else (ie. 1) => enabled
185 toggle 1
186
187
188 # Win32 GUI specific options.  Moved here from ijbw32.ini
189 # in hopes of keep all of our config settings together.
190
191 activity-animation      1
192 log-messages            1
193 log-highlight-messages  1
194 log-buffer-size         1
195 log-max-lines           200
196 log-font-name           Comic Sans MS
197 log-font-size           8
198 show-on-task-bar        0
199 close-button-minimizes  1
200
201 # hide-console is used only on Win32 console mode. It instructs
202 # the Internet Junkbuster to disconnect from and hide the
203 # command console.
204 #
205 #hide-console
206
207