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