1 --------------------------------------------------------------------
3 --------------------------------------------------------------------
6 - Added zlib support to filter content with gzip and deflate
7 encoding. (Patch provided by Wil Mahan)
8 - Dedicated filters and actions are used for header filtering.
9 "filter-client-headers" and "filter-client-headers" are no longer
10 supported, use server-header-filter{} and client-header-filter{}
12 - Tags can be used to change actions based on HTTP headers.
13 - New server-header filter: less-download-windows.
14 - New client-header taggers: css-requests, image-requests,
15 client-ip-address, http-method, allow-post, complete-url,
16 user-agent and privoxy-control.
17 - New server-header taggers: content-type and privoxy-control.
18 - The forward-override{} action allows to change the forwarding
19 settings through the action files, for example based on client
20 headers like the User-Agent, or the request origin.
21 - Socks errors are no longer handled by the CGI page for
22 DNS resolution failures.
23 - CGI pages use favicons to signal whether they are error
24 or control pages. This is useful if you rely heavily on
26 - The show-url-info CGI page shows the forwarding settings.
27 - "Crunch!" log messages (used when Privoxy answers requests
28 by itself) now also contain the reason.
29 - Allow to rewrite the request destination behind the client's back.
30 - Fix socks requests on big-endian platforms. Patch provided by Song Weijia.
31 - Fixes possible deadlocks and crashes on OpenBSD.
32 Patch provided by Ralf Horstmann.
33 - The CGI action editor allows to edit actionfiles with previously
34 forbidden characters like dots.
35 - New trust entries are saved with a comment that contains the
36 trusted referring URL (Suggested by Daniel Griscom).
37 - Filter descriptions are HTML encoded automatically.
38 - New config option "split-large-forms" to work
39 around a browser bug that caused IE6 and IE7 to ignore
40 the Submit button on the edit-actions-for-url CGI page.
41 - New config option "allow-cgi-request-crunching" to allow
42 requests for Privoxy's CGI pages to be blocked, redirected
43 or (un)trusted like ordinary requests.
44 - Empty filter files no longer interrupt the filtering process
45 prematurely and are correctly listed on the show-status CGI page.
46 - New config option "accept-intercepted-requests" to combine
47 Privoxy with any packet filter to build an intercepting proxy
48 for HTTP/1.1 requests (and for HTTP/1.0 requests with Host header set).
49 - fast-redirects{} catch redirects to https URLs as well.
50 - redirect{s@foo@bar@} can be used to redirect to a rewritten
51 version of the original URL.
52 - Trap unsupported gopher proxy requests.
53 - Fixed a bug in the User Manual delivery on Windows
54 (mingw32 only). Images now show up correctly and HTML
55 pages are no longer padded with garbage data.
56 - Fixed several minor memory leaks, most of them discovered with Valgrind.
57 - Only unlink the pidfile if it's actually used.
58 - Retries after connection problems with forced requests
60 - On Unix SIGABRT causes a core dump as expected and is no
61 longer treated as normal shutdown signal.
62 - The "access denied" CGI page is more descriptive and
63 allows retries to circumvent the referrer check.
64 - Updated PCRS to handle unexpected PCRE errors properly.
65 Fixed crashes that could occur if Privoxy was build
66 with external PCRE versions newer than Privoxy's internal
67 one. (Reported by Chung-chieh Shan)
68 - Fixed crashes with null bytes in PCRS replacement strings
69 (Patch provided by Felix Gröbert).
70 - Fixed crashes with header time randomization on mingw32.
71 - The CGI style sheet is no longer delivered if the referring
72 page isn't a Privoxy CGI page. This prevents a JavaScript-based
73 Privoxy detection "attack". Note that detecting Privoxy is
74 still possible through other ways and Privoxy was never intended
75 to be invisible anyway.
76 - Added support for AmigaOS 4, fixed build for AmigaOS 3.x.
77 - The show-url-info CGI page displays a warning if Privoxy
78 is currently toggled off.
79 - The show-status CGI page suppresses the edit button
80 for action files if Privoxy has no write access.
81 - Most CGI error pages react properly to HEAD requests.
82 - Requests with RFC 3253 HTTP methods (used by Subversion)
83 are accepted. (Patch provided by Petr Kadlec)
84 - New config option "templdir" to change the location
85 of the CGI templates to make sure customized templates
87 - Better handling of "HTTP/1.1 100 Continue" responses.
88 - The background of the PNG pattern is transparent.
89 - Fixed XML syntax errors caused by banners-by-size and banners-by-url.
90 - Fixed crashes and possible action file corruptions
91 when lines containing hashes are written through the CGI editor.
92 - Supports dynamic filters which can contain variables.
93 - Supports tags to change the actions based on client or server headers.
94 - Incorrect actions are logged before program termination.
95 - The "actionsfile" syntax in the configuration file is consistent
96 with the rest of the configuration options and requires the
97 whole file name. This is an incompatible change, if you use
98 an old configuration file you might have to append ".action"
99 to your "actionsfile" directives.
100 - With the configuration file option "enforce-blocks" the
101 "go there anyway" mechanism can be disabled without recompiling
103 - More precise error messages in case of incorrect acl syntax.
104 - Logs a warning if filtering is enabled but impossible due
105 to lack of zlib support or use of the prevent-compression action.
106 - Less noisy handling of Cookie:" and "Connection:" headers.
107 - Improved error messages in case of connection problems.
108 - Fix a command-line-parsing bug that was introduced before 3.0.5
109 beta and caused Privoxy to treat the last argument as configuration
110 file if no configuration file was specified.
111 - Treat unknown command line options as fatal errors instead
112 of silently ignoring them.
113 - Use string functions with length checks more often.
114 - Don't log CONNECT requests twice.
115 - Allow to log the source address for ACL-related connection drops.
116 - Don't ignore applying filters if the server didn't
117 specify a Content-Type. Bug reported by Amuro Namie.
118 - Rejected CONNECT requests are logged with log level info
119 (enabled by default) and the reason for the block.
120 - New command line option "--pre-chroot-nslookup hostname" to
121 intialize the resolver library before chroot'ing. On some systems this
122 reduces the number of files that must be copied into the chroot tree.
123 (Patch provided by Stephen Gildea)
124 - Fix a long-standing memory corruption bug that could cause
125 Privoxy to overwrite a single byte in memory it didn't explicitly
126 allocate (but that probably was allocated anyway due to bucket size).
127 - Send template-based CGI pages as HTTP/1.1 unless the client
129 - Let the first line in connection established responses
130 end in \r\n as required by RFC1945. Reported by Bert van Leeuwen.
131 - If no log file has been specified, disable logging instead of logging
133 - Don't block stderr when in daemon mode.
134 - Ignore missing zero-chunks when filtering chunk-encoded content.
135 Earlier Privoxy versions would buffer and then forward the content
136 unmodified which caused some browsers to simply show empty pages.
137 - Fix double free in cgi_edit_actions_list(). Reported by Venustech AD-LAB.
138 - The code to add X-Forwarded-For headers has been removed.
139 - Fixed trustfile feature which previously didn't work without FEATURE_TOGGLE.
141 - Minor code clean-ups, filter and action file updates.
142 (Some of them reported by Davide Alberani, Markus Elfring,
143 Stefan Huehner and Adam Piggott)
145 *** Version 3.0.6 ***
147 - New content filters: no-ping, google, msn, yahoo and blogspot.
148 - New header filters: x-httpd-php-to-html, html-to-xml, xml-to-html
149 and hide-tor-exit-notation.
150 - The special header "X-Filter: No" now disables header filtering as well.
151 - Improved the filters img-reorder, js-annoyances, webbugs,
152 banners-by-size, banners-by-link and ie-exploits to make them
153 less likely to break anything.
154 - Removed outdated URL patterns in default.action and added new ones.
155 - Added redirection from http://p.p/user-manual to http://p.p/user-manual/
156 - Changed webinterface default values for hide-user-agent, hide-referrer
157 and set-image-blocker.
159 *** Version 3.0.5 ***
161 - Windows version can be installed/started as a service.
162 - Windows icon stays blue when Privoxy is idle, green when busy.
163 - Integrated Fabian Keil's extensive patch. See:
164 http://www.fabiankeil.de/sourcecode/privoxy/. Includes the
165 following new or significantly improved actions (among many
168 content-type-overwrite{}
169 crunch-client-header{string}
171 crunch-server-header{string}
172 fast-redirects{check-decoded-url}
173 filter-client-headers
174 filter-server-headers
176 handle-as-empty-document
177 hide-accept-language{}
178 hide-content-disposition{}
179 hide-if-modified-since
180 hide-referrer{conditional-block}
181 overwrite-last-modified{}
183 treat-forbidden-connects-like-blocks
185 - Standard-compliant clients are prevented from displaying cached
186 copies of Privoxy's error messages after the cause of the problem
188 - Improved DNS error handling.
189 - Multiple filter files can now be specified in config.
190 - Added jpeg filtering to defend against MS jpeg vulnerability MS04-028
191 with the new inspect-jpegs action.
192 - Removed the "arbitrary" 1000 filter limit - addresses tracker #911950
193 - Thanks to Jindrich Makovicka for a race condition fix for the log
194 file. The race condition remains for non-pthread implementations.
195 Reference patch #1175720. Various other logging enhancements.
196 - A pile of assorted bug fixes, memory leaks, enhancements, etc.
197 - Moved Actions file reporting mechanism to SF tracker.
198 - Two new options for config: enable-remote-http-toggle and
199 forwarded-connect-retries.
200 - Trap unsupported FTP requests.
201 - Let text/xml be filtered.
202 - Numerous updates to default.action
203 - Increase the compiled in limit of trusted referrers from 64 to 512
204 (for trustfile users).
206 *** Version 3.0.3 ***
208 - Fixed yet another two memory leaks. Process growth seems stopped now.
209 - Further tightened security against malicious toggle-off links.
210 - Excluded text/plain MIME types from filtering. This fixes a
211 couple of client-crashing, download corruption and
212 Privoxy performance issues, whose root cause lies in
213 web servers labelling content of unknown type as text/plain.
214 - Assorted fixes for POSIX compliance, signal handling, graceful
215 termination, compiler warnings, OSX support, Win32 systray,
216 error logging, hostname wildcards, correct detection of NetBSD.
217 - Workarounds for client (iTunes etc) and server (PHP < 4.2.3) bugs
218 including the notorious "blank page" problem.
219 - Various filter improvements; most notably the unsolicited-popups
220 filter became less destructive
221 - Major revamp of the actions file
223 *** Version 3.0.2 ***
225 - Fixed two memory leaks, one serious
226 - Fixed bug in pcrs which could cause crashes with user-defined filters
227 - Fixed bug in domain name matching
228 - Assorted small fixes (Win32 menu, CGI URL editor, ..)
229 - Added basic support for the OPTIONS and TRACE http methods
230 - Added workaround for Bug in Mac OSX that made Privoxy crash occasionally
231 - Refined the default action file through >400 items of user feedback
233 - Assorted refinements, optimizations and fixes in the js-annoyances,
234 img-reorder, banners-by-size, banners-by-link, webbugs, refresh-tags,
235 html-annoyances, content-cookies and fun filters
236 - Replaced filter "popups" by choice between two modes:
237 - "unsolicited-popups" tries to catch only the unsolicited ones
238 - "all-popups" tries to kill them all (as before)
239 - New filter "tiny-textforms" Help those tiny or hard-wrap textareas.
240 - New filter "jumping-windows" that prevents windows from resizing
241 and moving themselves
242 - New filter "demoronizer" which fixes MS's abuse of std charsets
243 (common cases anyway).
244 - Replaced "nimda" with more general "ie-exploits" filter in which
245 all filters for exploits shall be collected
246 - Improved cookie logging
247 - Rewrote make install target. Added uninstall and install-strip
249 - Fixed a potential (application-level, NOT OS-level!) security
250 problem involving remote toggling and action file manipulation
251 by mailicious websites.
252 - Added ability to chroot (thanks to Sviatoslav Sviridov)
253 - Added more action aliases for prehistoric action names
254 - Add Slackware support to Makefile.
258 - Fixed Windows startmenu items, log window and tray icon menus.
259 - Added warning for bogus install target
260 - Added quicktime-kioskmode filter and improved frameset-borders
261 - Updated default.action based on latest feedback
262 - New PDF doc build process
263 - Add a user contrib module to cvs:
264 http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/ijbswa/contrib/
266 *** Version 2.9.18 ***
268 - Added workaround for IE bug that broke CGI interface
269 - Bugfix: String actions now reliably editable through CGI interface
270 - Three filters fixed (again!)
271 - Assorted small fixes and doc enhancements
273 *** Version 2.9.16 ***
275 - Major revamp of default.action to get rid of years of cruft.
276 - Same for default.filter
277 - Re-design and major improvements to the CGI editor interface.
278 - Address spurious 'out of memory' error due to incorrect file permissions.
279 - Impose buffer limits while reading client and server headers.
280 - Better memory and CPU optimization.
281 - Add Conectiva Linux package.
282 - user-manual directive added to config for help links from within CGI
284 - Multiple actions files can now be specified in config.
285 - Actions files are changed to: default.action, standard.action, and
286 user.action. user.action is for personal/local configuration.
287 - The usual many small and miscellaneous bug and security fixes.
289 *** Version 2.9.14 Beta ***
291 - Fix Solaris compile problem (gateway.h and filters.h)
292 - Makefile fixes for Solaris, FreeBSD (?)
293 - Fix build failure where certain features were disabled.
294 - 'blocked-compact' template is removed. Various CGI improvements,
295 including an adaptive 'blocked' template.
296 - Various tweaks for actions file to get ready for stable 3.0
297 - Included a 'Bookmarklet' and PHP scripts for reporting actions file
298 problems via web interface at privoxy.org. Accessed via internal CGIs.
299 - Include cgi-style.css for templates.
300 - #include mechansim for common text in templates
301 - Various other minor fixes.
303 *** Version 2.9.13 Beta ***
305 - *NEWS*: The project has been renamed to Privoxy! The new name is
306 reflected throughout (file locations, etc).
307 - ijb.action is now default.action. re_filterfile is now
309 - http://i.j.b/ is now http://p.p/
310 - The 'logo' option for replacing ad iamges is removed now. 'Pattern'
311 (checkerboard) is now the default.
312 - RPM spec file make over.
315 *** Version 2.9.12 Beta ***
317 - **READ**: The default listening PORT is NOW 8118!!! Changed from
318 8000 due to conflict with NAS (Network Audio Server, whatever that
320 - More CGI actions editor fixes and improvements.
321 - Win32 command line fix ups.
322 - re_filterfile now has modular sections that can be activated on a
323 per site basis. Some new goodies there too.
324 - +filter now takes arguments to match FILTER sections in re_filterfile
325 for even more flexibility.
326 - Added a new image blocker option: +image-blocker{pattern}, which
327 displays a checkerboard patthern and scales better than the logo.
328 - PNG images will be used in place of GIF for JB built-in images
329 if configured with --enable-no-gif.
330 - Clean up compiler warnings (mostly).
331 - Improved handling of failed DNS lookups & diagnostics for failed bind
333 - Made --no-daemon mode log to tty instead of logfile.
334 - Various spec file and init script cleanups and improvements (Redhat and
336 - CGI Editor works on OS/2 now.
337 - Fix restart failure where sockets were in TIME_WAIT.
338 - Fixes for actions cgi editor, make sure we have right file.
339 - A --pidfile command line option now, in addition to --help,
340 --version, --no-daemon, --user and configfile. --no-daemon replaces
341 the former -d option and _DEBUG define. --user will drop privileges
342 to the specified user.
343 - Signal handling cleanups (*nix).
344 - CGI actions editor improvements and fixes.
345 - Error handling improvements, especially out of memory.
346 - Default re_filterfile fix that caused spurious IJB logos
347 (instead of 'blank').
348 - configure.in threading fixes for Solaris.
349 - Various other minor fixes.
352 *** Version 2.9.11 Beta Changes ***
354 - Add "session" cookie concept where cookies exist for the life
355 of that browser session only (ie never goes to disk).
356 - Checks for correct header length.
357 - Fix user:pass@host.domain.com auth bug.
358 - Better signal handling on *nix.
359 - Fix CFLAGS hard-coded in configure.in
360 - Fix threading bug re: gethostbyname() that caused random
361 URLs to fail in some cases.
364 *** Version 2.9.11 Alpha Changes ***
366 - A web-based editor for the actions file is included (go to http://i.j.b/).
367 - Web-based toggle IJB on/off support.
368 - Cookie handling has changed - the new +no-cookies-keep feature is now the
370 - actionsfile is renamed to ijb.action.
371 - junkbstr.txt is now config.txt on Win32.
372 - Support for running IJB as a UNIX daemon process has improved.
373 - Unix daemon now returns error code on failed start.
374 - Timestamps in logfile and jarfile now.
375 - Fix for the Netscape bug reintroduced in 2.9.9.
376 - make should now abort if gmake (GNU make) not present.
377 - Many other minor bugfixes
378 - Start a ChangeLog :)
382 *** Version 2.9.3 pre-Alpha Changes ***
384 - Amiga support (completely untested by me - I don't have an Amiga)
385 - "tinygif 3" support (redirects blocked images to a specified URL, so
386 the browser doesn't have to load and cache many copies of the same
388 - one case where there were both local and global "referrer" variables
389 (yuck!) clarified by renaming the local one to "refer".
390 - Fixed some places where close() was used instead of close_socket().
391 Thanks to Jörg Strohmayer (joergs at users.sourceforge.net) for these.
392 - Temporary hack to get FORCE_LOAD to work with IE. I just lowercased the
393 FORCE_LOAD_PREFIX. Needs fixing properly.
394 - Most URLs hardcoded into Junkbuster were changed to go through a script
395 e.g. http://ijbswa.sourceforge.net/redirect.php?v=2.9.3&to=faq
396 The only other URLs left are the GNU GPL:
397 http://www.fsf.org/copyleft/gpl.html
399 http://ijbswa.sourceforge.net/
400 ... and various URLs which will be intercepted by Junkbuster anyway.
401 TODO: Still need to do something with the URLs in Junkbuster Corp's
402 copyright/trademark notice on the bottom of the show-proxy-args page.
403 - PCRE or GNU Regex is now a #define option.
406 *** Version 2.9.2 pre-Alpha Changes ***
408 - Andreas applied the latest version of the FORCE patch.
411 *** Version 2.9.1 pre-Alpha Changes ***
413 - in parsers.c, fixed two #ifdef FORCE to #ifdef FORCE_LOAD
414 (BTW: I think FORCE is precise enough, since loading remote
415 data is the whole purpose of a proxy..)
416 - Set the FORCE_PREFIX (back) to 'IJB-FORCE-LOAD-'. While 'noijb.'
417 is more elegant and looks like a hostname in the URL, it doesn't
418 make clear to the inexperienced user that the proxy is bypassed. It
419 also has a higher name collision risk.
420 - Filled in the function header templates for my functions in
421 parsers.c (again). They obviously got lost in our current
423 - Cut the credit for the §-referrer-option from the config file,
424 that Stefan had placed there.
425 - Improved the re_filterfile
428 *** Version 2.9.0 pre-Alpha Changes ***
430 - Now use PCRE, not GNU REGEX. I have not yet had chance to check the
431 syntax of the block/image/cookie file to ensure that they match what
432 is expected - however they seem to work.
433 - Replaced "configure" script with one generated by "autoconf". Also
434 use a header "config.h" (was ijbconfig.h in my previous release) for
435 the #defines. "config.h" is now generated with "autoheader" from
436 "acconfig.h" and "configure.in". (Note that to install you do not
437 need autoconf or autoheader - just run "./configure".)
438 To see command-line options, run "./configure --help".
439 This is my first ever autoconf script, so it has some rough edges
440 (how PCRE is handled is the roughest).
441 - Error logging code replaced with new module errlog.c, based on the
442 one from JunkbusterMT (but with the threading code removed).
443 - Most of Rodney's 0.21 and 0.21A patches applied. (Marked *). I did not
444 apply all of these, since I had already independently done conditional
445 popup file, conditional image file, and integration of popup code.
446 - ACL, Jar and trust files conditionally compiled.
447 - New source file headers.
448 - Various cosmetic changes. (But I have not consistently ordered the
449 config files - I think that's worthwhile, but it's 1am and I want to
451 - RCS tags on .h files.
452 - RCS tags are const char[] rather than const char *. (Saves 4 bytes
454 - VC++ project files renamed to vc_junkbuster.*.
455 - show-proxy-args now shows status of all conditionals, not just REGEX
456 - Various functions moved around. Most notably all the system-specific
457 sockets code which was spread between jcc.c, bind.c, and connect.c,
458 has been moved to "jbsockets.c". The non-system-specific code from
459 connect.c and socks4.c has been movet to "gateway.c". Also, the
460 config file loader and the global variables it writes to have been
461 moved to "loadcfg.c". (Maybe this should go into loaders.c?)
462 And candidate for the "worst filename ever" award is "miscutil.c",
463 which contains, well, miscellaneous utility functions like zalloc.
464 (Suggestions for a better name for this file are welcome!)
465 - Loaders now use a common function to read a line and skip comments,
466 and this function also stores the proxy_args.
467 - Added ./junkbuster --help (Not for Win32 GUI)
468 - Added ./junkbuster --version (Not for Win32 GUI)
469 - Win32 resources are now all marked as "U.S. English", rather than
470 being a mix of "U.S. English", "U.K. English" and "Irish English".
471 - Version number changes to 2.9.0
475 ----------------------------------------------------------------------
476 Copyright : Written by and Copyright (C) 2001-2007 the SourceForge
477 Privoxy team. http://www.privoxy.org/
479 Based on the Internet Junkbuster originally written
480 by and Copyright (C) 1997 Anonymous Coders and
481 Junkbusters Corporation. http://www.junkbusters.com/
483 This program is free software; you can redistribute it
484 and/or modify it under the terms of the GNU General
485 Public License as published by the Free Software
486 Foundation; either version 2 of the License, or (at
487 your option) any later version.
489 This program is distributed in the hope that it will
490 be useful, but WITHOUT ANY WARRANTY; without even the
491 implied warranty of MERCHANTABILITY or FITNESS FOR A
492 PARTICULAR PURPOSE. See the GNU General Public
493 License for more details.
495 The GNU General Public License should be included with
496 this file. If not, you can view it at
497 http://www.gnu.org/copyleft/gpl.html
498 or write to the Free Software Foundation, Inc., 59
499 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
501 Note that parts of Privoxy are under licenses that are
502 GPL-compatible but less restrictive - for details see
503 Privoxy's source code. The Privoxy team doesn't hold the
504 copyright for these parts and doesn't relicense them either.
505 You are free to extract them again to distribute them under