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