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