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