Clean-ups and fine-tuning.
[privoxy.git] / ChangeLog
1 --------------------------------------------------------------------
2 ChangeLog for Privoxy
3 --------------------------------------------------------------------
4 *** Since 3.0.3 ***
5 - Windows version can be installed/started as a service.
6 - Windows icon stays blue when Privoxy is idle, green when busy.
7 - Integrated Fabian Keil's extensive patch.  See:
8   http://www.fabiankeil.de/sourcecode/privoxy/. Includes the 
9   following new or significantly improved actions (among many 
10   other improvements):
11
12      content-type-overwrite{}
13      crunch-client-header{string}
14      crunch-if-none-match
15      crunch-server-header{string}
16      fast-redirects{check-decoded-url}
17      filter-client-headers
18      filter-server-headers
19      force-text-mode
20      handle-as-empty-document
21      hide-accept-language{}
22      hide-content-disposition{}
23      hide-if-modified-since
24      hide-referrer{conditional-block}
25      overwrite-last-modified{}
26      redirect{URL}
27      treat-forbidden-connects-like-blocks
28
29 - Privoxy's default error pages are no longer be cached.
30 - Improved DNS error handling.
31 - Multiple filter files can now be specified in config.
32 - Added jpeg filtering to defend against MS jpeg vulnerability MS04-028
33   with the new inspect-jpegs action.
34 - Removed the "arbitrary" 1000 filter limit - addresses tracker #911950
35 - Thanks to Jindrich Makovicka for a race condition fix for the log 
36   file.  The race condition remains for non-pthread implementations.
37   Reference patch #1175720. Various other logging enhancements.
38 - A pile of assorted bug fixes, memory leaks, etc.
39
40 *** Version 3.0.3 ***
41
42 - Fixed yet another two memory leaks. Process growth seems stopped now.
43 - Further tightened security against malicious toggle-off links.
44 - Excluded text/plain MIME types from filtering. This fixes a
45   couple of client-crashing, download corruption and
46   Privoxy performance issues, whose root cause lies in
47   web servers labelling content of unknown type as text/plain.
48 - Assorted fixes for POSIX compliance, signal handling, graceful
49   termination, compiler warnings, OSX support, Win32 systray,
50   error logging, hostname wildcards, correct detection of NetBSD.
51 - Workarounds for client (iTunes etc) and server (PHP < 4.2.3) bugs
52   including the notorious "blank page" problem.
53 - Various filter improvements; most notably the unsolicited-popups
54   filter became less destructive     
55 - Major revamp of the actions file
56         
57 *** Version 3.0.2 ***
58
59 - Fixed two memory leaks, one serious
60 - Fixed bug in pcrs which could cause crashes with user-defined filters
61 - Fixed bug in domain name matching
62 - Assorted small fixes (Win32 menu, CGI URL editor, ..) 
63 - Added basic support for the OPTIONS and TRACE http methods
64 - Added workaround for Bug in Mac OSX that made Privoxy crash occasionally
65 - Refined the default action file through >400 items of user feedback
66 - Filter changes:
67   - Assorted refinements, optimizations and fixes in the js-annoyances,
68     img-reorder, banners-by-size, banners-by-link, webbugs, refresh-tags,
69     html-annoyances, content-cookies and fun filters
70   - Replaced filter "popups" by choice between two modes:
71     - "unsolicited-popups" tries to catch only the unsolicited ones
72     - "all-popups" tries to kill them all (as before)
73   - New filter "tiny-textforms" Help those tiny or hard-wrap textareas. 
74   - New filter "jumping-windows" that prevents windows from resizing
75     and moving themselves
76   - New filter "demoronizer" which fixes MS's abuse of std charsets
77     (common cases anyway).
78   - Replaced "nimda" with more general "ie-exploits" filter in which
79     all filters for exploits shall be collected
80 - Improved cookie logging
81 - Rewrote make install target. Added uninstall and install-strip
82   targets.
83 - Fixed a potential (application-level, NOT OS-level!) security
84   problem involving remote toggling and action file manipulation
85   by mailicious websites.
86 - Added ability to chroot (thanks to Sviatoslav Sviridov)
87 - Added more action aliases for prehistoric action names
88 - Add Slackware support to Makefile.
89
90 *** Version 3.0  ***
91
92 - Fixed Windows startmenu items, log window and tray icon menus.
93 - Added warning for bogus install target
94 - Added quicktime-kioskmode filter and improved frameset-borders
95 - Updated default.action based on latest feedback
96 - New PDF doc build process
97 - Add a user contrib module to cvs: 
98   http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/ijbswa/contrib/
99
100 *** Version 2.9.18  ***
101
102 - Added workaround for IE bug that broke CGI interface
103 - Bugfix: String actions now reliably editable through CGI interface
104 - Three filters fixed (again!)
105 - Assorted small fixes and doc enhancements
106
107 *** Version 2.9.16  *** 
108
109 - Major revamp of default.action to get rid of years of cruft.
110 - Same for default.filter
111 - Re-design and major improvements to the CGI editor interface.
112 - Address spurious 'out of memory' error due to incorrect file permissions.
113 - Impose buffer limits while reading client and server headers.
114 - Better memory and CPU optimization.
115 - Add Conectiva Linux package.
116 - user-manual directive added to config for help links from within CGI
117   editor.
118 - Multiple actions files can now be specified in config.
119 - Actions files are changed to: default.action, standard.action, and 
120   user.action. user.action is for personal/local configuration.
121 - The usual many small and miscellaneous bug and security fixes.
122
123 *** Version 2.9.14 Beta *** 
124
125 - Fix Solaris compile problem (gateway.h and filters.h)
126 - Makefile fixes for Solaris, FreeBSD (?)
127 - Fix build failure where certain features were disabled.
128 - 'blocked-compact' template is removed. Various CGI improvements,
129   including an adaptive 'blocked' template.
130 - Various tweaks for actions file to get ready for stable 3.0
131 - Included a 'Bookmarklet' and PHP scripts for reporting actions file
132   problems via web interface at privoxy.org. Accessed via internal CGIs.
133 - Include cgi-style.css for templates.
134 - #include mechansim for common text in templates
135 - Various other minor fixes.
136
137 *** Version 2.9.13 Beta *** 
138
139 - *NEWS*: The project has been renamed to Privoxy! The new name is 
140   reflected throughout (file locations, etc).
141 - ijb.action is now default.action. re_filterfile is now 
142   default.filter.
143 - http://i.j.b/ is now http://p.p/
144 - The 'logo' option for replacing ad iamges is removed now. 'Pattern' 
145   (checkerboard) is now the default.
146 - RPM spec file make over.
147
148
149 *** Version 2.9.12 Beta *** 
150
151 - **READ**: The default listening PORT is NOW 8118!!! Changed from 
152   8000 due to conflict with NAS (Network Audio Server, whatever that 
153   is.)
154 - More CGI actions editor fixes and improvements.
155 - Win32 command line fix ups.
156 - re_filterfile now has modular sections that can be activated on a 
157   per site basis. Some new goodies there too.
158 - +filter now takes arguments to match FILTER sections in re_filterfile
159   for even more flexibility. 
160 - Added a new image blocker option: +image-blocker{pattern}, which 
161   displays a checkerboard patthern and scales better than the logo.
162 - PNG images will be used in place of GIF for JB built-in images
163   if configured with --enable-no-gif.
164 - Clean up compiler warnings (mostly).
165 - Improved handling of failed DNS lookups & diagnostics for failed bind
166   to listen socket
167 - Made --no-daemon mode log to tty instead of logfile.
168 - Various spec file and init script cleanups and improvements (Redhat and
169   SuSE).
170 - CGI Editor works on OS/2 now.
171 - Fix restart failure where sockets were in TIME_WAIT.
172 - Fixes for actions cgi editor, make sure we have right file.
173 - A --pidfile command line option now, in addition to --help, 
174   --version, --no-daemon, --user and configfile. --no-daemon replaces
175   the former -d option and _DEBUG define. --user will drop privileges 
176   to the specified user.
177 - Signal handling cleanups (*nix).
178 - CGI actions editor improvements and fixes.
179 - Error handling improvements, especially out of memory.
180 - Default re_filterfile fix that caused spurious IJB logos 
181   (instead of 'blank').
182 - configure.in threading fixes for Solaris.
183 - Various other minor fixes.
184
185
186 *** Version 2.9.11 Beta Changes ***
187
188 - Add "session" cookie concept where cookies exist for the life 
189 of that browser session only (ie never goes to disk). 
190 - Checks for correct header length.
191 - Fix user:pass@host.domain.com auth bug.
192 - Better signal handling on *nix.
193 - Fix CFLAGS hard-coded in configure.in
194 - Fix threading bug re: gethostbyname() that caused random 
195 URLs to fail in some cases.
196
197
198 *** Version 2.9.11 Alpha Changes ***
199
200 - A web-based editor for the actions file is included (go to http://i.j.b/).
201 - Web-based toggle IJB on/off support.
202 - Cookie handling has changed - the new +no-cookies-keep feature is now the
203 default.
204 - actionsfile is renamed to ijb.action.
205 - junkbstr.txt is now config.txt on Win32.
206 - Support for running IJB as a UNIX daemon process has improved.
207 - Unix daemon now returns error code on failed start.
208 - Timestamps in logfile and jarfile now.
209 - Fix for the Netscape bug reintroduced in 2.9.9.
210 - make should now abort if gmake (GNU make) not present.
211 - Many other minor bugfixes
212 - Start a ChangeLog :)
213
214
215
216 *** Version 2.9.3 pre-Alpha Changes ***
217
218 - Amiga support (completely untested by me - I don't have an Amiga)
219 - "tinygif 3" support (redirects blocked images to a specified URL, so
220 the browser doesn't have to load and cache many copies of the same
221 image).
222 - one case where there were both local and global "referrer" variables
223 (yuck!) clarified by renaming the local one to "refer".
224 - Fixed some places where close() was used instead of close_socket().
225 Thanks to Jörg Strohmayer (joergs at users.sourceforge.net) for these.
226 - Temporary hack to get FORCE_LOAD to work with IE.  I just lowercased the
227 FORCE_LOAD_PREFIX.  Needs fixing properly.
228 - Most URLs hardcoded into Junkbuster were changed to go through a script
229 e.g. http://ijbswa.sourceforge.net/redirect.php?v=2.9.3&to=faq
230 The only other URLs left are the GNU GPL:
231   http://www.fsf.org/copyleft/gpl.html
232 and the home page:
233   http://ijbswa.sourceforge.net/
234 ... and various URLs which will be intercepted by Junkbuster anyway.
235 TODO: Still need to do something with the URLs in Junkbuster Corp's 
236 copyright/trademark notice on the bottom of the show-proxy-args page.
237 - PCRE or GNU Regex is now a #define option.
238
239
240 *** Version 2.9.2 pre-Alpha Changes ***
241
242 - Andreas applied the latest version of the FORCE patch.
243
244
245 *** Version 2.9.1 pre-Alpha Changes ***
246
247 - in parsers.c, fixed two #ifdef FORCE to #ifdef FORCE_LOAD
248 (BTW: I think FORCE is precise enough, since loading remote
249 data is the whole purpose of a proxy..)
250 - Set the FORCE_PREFIX (back) to 'IJB-FORCE-LOAD-'. While 'noijb.'
251 is more elegant and looks like a hostname in the URL, it doesn't
252 make clear to the inexperienced user that the proxy is bypassed. It
253 also has a higher name collision risk.
254 - Filled in the function header templates for my functions in
255 parsers.c (again). They obviously got lost in our current
256 patch war ;-)
257 - Cut the credit for the §-referrer-option from the config file,
258 that Stefan had placed there.
259 - Improved the re_filterfile 
260
261
262 *** Version 2.9.0 pre-Alpha Changes ***
263
264 -  Now use PCRE, not GNU REGEX.  I have not yet had chance to check the
265 syntax of the block/image/cookie file to ensure that they match what
266 is expected - however they seem to work.
267 -  Replaced "configure" script with one generated by "autoconf".  Also 
268 use a header "config.h" (was ijbconfig.h in my previous release) for 
269 the #defines.  "config.h" is now generated with "autoheader" from 
270 "acconfig.h" and "configure.in".  (Note that to install you do not
271 need autoconf or autoheader - just run "./configure".)
272 To see command-line options, run "./configure --help".
273 This is my first ever autoconf script, so it has some rough edges
274 (how PCRE is handled is the roughest).
275 -  Error logging code replaced with new module errlog.c, based on the
276 one from JunkbusterMT (but with the threading code removed).
277 -  Most of Rodney's 0.21 and 0.21A patches applied. (Marked *).  I did not
278 apply all of these, since I had already independently done conditional
279 popup file, conditional image file, and integration of popup code.
280 - ACL, Jar and trust files conditionally compiled.
281 - New source file headers.
282 - Various cosmetic changes.  (But I have not consistently ordered the 
283 config files - I think that's worthwhile, but it's 1am and I want to
284 get this released!)
285 - RCS tags on .h files.
286 -  RCS tags are const char[] rather than const char *.  (Saves 4 bytes
287 per tag ;-)
288 - VC++ project files renamed to vc_junkbuster.*.
289 - show-proxy-args now shows status of all conditionals, not just REGEX
290 - Various functions moved around.  Most notably all the system-specific
291 sockets code which was spread between jcc.c, bind.c, and connect.c,
292 has been moved to "jbsockets.c".  The non-system-specific code from
293 connect.c and socks4.c has been movet to "gateway.c".  Also, the
294 config file loader and the global variables it writes to have been
295 moved to "loadcfg.c".  (Maybe this should go into loaders.c?)
296 And candidate for the "worst filename ever" award is "miscutil.c",
297 which contains, well, miscellaneous utility functions like zalloc.
298 (Suggestions for a better name for this file are welcome!)
299 - Loaders now use a common function to read a line and skip comments,
300 and this function also stores the proxy_args.
301 - Added ./junkbuster --help     (Not for Win32 GUI)
302 - Added ./junkbuster --version  (Not for Win32 GUI)
303 - Win32 resources are now all marked as "U.S. English", rather than
304 being a mix of "U.S. English", "U.K. English" and "Irish English".
305 - Version number changes to 2.9.0
306
307
308
309 ----------------------------------------------------------------------
310 Copyright   :  Written by and Copyright (C) 2001 the SourceForge
311                Privoxy team. http://www.privoxy.org/
312
313                Based on the Internet Junkbuster originally written
314                by and Copyright (C) 1997 Anonymous Coders and 
315                Junkbusters Corporation.  http://www.junkbusters.com
316
317                This program is free software; you can redistribute it 
318                and/or modify it under the terms of the GNU General
319                Public License as published by the Free Software
320                Foundation; either version 2 of the License, or (at
321                your option) any later version.
322
323                This program is distributed in the hope that it will
324                be useful, but WITHOUT ANY WARRANTY; without even the
325                implied warranty of MERCHANTABILITY or FITNESS FOR A
326                PARTICULAR PURPOSE.  See the GNU General Public
327                License for more details.
328
329                The GNU General Public License should be included with
330                this file.  If not, you can view it at
331                http://www.gnu.org/copyleft/gpl.html
332                or write to the Free Software Foundation, Inc., 59
333                Temple Place - Suite 330, Boston, MA  02111-1307, USA.
334
335 set vi:tw=68