Update announcement for 3.0.21 stable
[privoxy.git] / doc / webserver / announce.txt
1                Announcing Privoxy 3.0.21 stable
2 --------------------------------------------------------------------
3
4 This is a bug-fix release for Privoxy 3.0.20 beta. It also addresses
5 a security issue that affects all previous Privoxy versions (on some
6 platforms).
7
8 --------------------------------------------------------------------
9 ChangeLog for Privoxy
10 --------------------------------------------------------------------
11 *** Version 3.0.21 stable ***
12
13 - Bug fixes:
14   - On POSIX-like platforms, network sockets with file descriptor
15     values above FD_SETSIZE are properly rejected. Previously they
16     could cause memory corruption in configurations that allowed
17     the limit to be reached.
18   - Compiles on OS/2 again now that unistd.h is only included
19     on platforms that have it.
20
21 - General improvements:
22   - The show-status page shows the FEATURE_STRPTIME_SANITY_CHECKS status.
23   - A couple of assert()s that could theoretically dereference
24     NULL pointers in debug builds have been relocated.
25   - Added an LSB info block to the generic start script.
26     Based on a patch from Natxo Asenjo.
27   - The max-client-connections default has been changed to 128
28     which should be more than enough for most setups.
29
30 - Action file improvements:
31   - Block rover.ebay./ar.*\&adtype= instead of "/.*\&adtype=" which
32     caused too man false positives.
33     Reported by u302320 in #360284, additional feedback from Adam Piggott.
34   - Unblock '.advrider.com/' and '/.*ADVrider'.
35     Anonymously reported in #3603636.
36
37 - Filter file improvements:
38   - Added an iframes filter.
39
40 - Documentation improvements:
41   - The whole GPLv2 text is included in the user manual now,
42     so Privoxy can serve it itself and the user can read it
43     without having to wade through GPLv3 ads first.
44   - Properly numbered and underlined a couple of section titles
45     in the config that where previously overlooked due to a flaw
46     in the conversion script. Reported by Ralf Jungblut.
47   - Improved the support instruction to hopefully make it harder to
48     unintentionally provide insufficient information when requesting
49     support. Previously it wasn't obvious that the information we need
50     in bug reports is usually also required in support requests.
51   - Removed documentation about packages that haven't been provided
52     in years.
53
54 - Privoxy-Regression-Test:
55   - Only log the test number when not running in verbose mode
56     The position of the test is rarely relevant and it previously
57     wasn't exactly obvious which one of the numbers was useful to
58     repeat the test with --test-number.
59
60 - GNUmakefile improvements:
61   - Factor generate-config-file out of config-file to make testing
62     more convenient.
63   - The clean target now also takes care of patch leftovers.
64
65 *** Version 3.0.20 beta ***
66
67 - Bug fixes:
68   - Client sockets are now properly shutdown and drained before being
69     closed. This fixes page truncation issues with clients that aggressively
70     pipeline data on platforms that otherwise discard already written data.
71     The issue mainly affected Opera users and was initially reported
72     by Kevin in #3464439, szotsaki provided additional information to track
73     down the cause.
74   - Fix latency calculation for shared connections (disabled by default).
75     It was broken since their introduction in 2009. The calculated latency
76     for most connections would be 0 in which case the timeout detection
77     failed to account for the real latency.
78   - Reject URLs with invalid port. Previously they were parsed incorrectly and
79     characters between the port number and the first slash were silently
80     dropped as shown by curl test 187.
81   - The default-server-timeout and socket-timeout directives accept 0 as
82     valid value.
83   - Fix a race condition on Windows that could cause Privoxy to become
84     unresponsive after toggling it on or off through the taskbar icon.
85     Reported by Tim H. in #3525694.
86   - Fix the compilation on Windows when configured without IPv6 support.
87   - Fix an assertion that could cause debug builds to abort() in case of
88     socks5 connection failures with "debug 2" enabled.
89   - Fix an assertion that could cause debug builds to abort() if a filter
90     contained nul bytes in the replacement text.
91
92 - General improvements:
93   - Significantly improved keep-alive support for both client and server
94     connections.
95   - New debug log level 65536 which logs all actions that were applied to
96     the request.
97   - New directive client-header-order to forward client headers in a
98     different order than the one in which they arrived.
99   - New directive tolerate-pipelining to allow client-side pipelining.
100     If enabled (3.0.20 beta enables it by default), Privoxy will keep
101     pipelined client requests around to deal with them once the current
102     request has been served.
103   - New --config-test option to let Privoxy exit after checking whether or not
104     the configuration seems valid. The limitations noted in TODO #22 and #23
105     still apply. Based on a patch by Ramkumar Chinchani.
106   - New limit-cookie-lifetime{} action to let cookies expire before the end
107     of the session. Suggested by Rick Sykes in #1049575.
108   - Increase the hard-coded maximum number of actions and filter files from
109     10 to 30 (each). It doesn't significantly affect Privoxy's memory usage
110     and recompiling wasn't an option for all Privoxy users that reached the
111     limit.
112   - Add support for chunk-encoded client request bodies. Previously
113     chunk-encoded request bodies weren't guaranteed to be forwarded correctly,
114     so this can also be considered a bug fix although chunk-encoded request
115     bodies aren't commonly used in the real world.
116   - Add support for Tor's optimistic-data SOCKS extension, which can reduce the
117     latency for requests on newly created connections. Currently only the
118     headers are sent optimistically and only if the client request has already
119     been read completely which rules out requests with large bodies.
120   - After preventing the client from pipelining, don't signal keep-alive
121     intentions. When looking at the response headers alone, it previously
122     wasn't obvious from the client's perspective that no additional responses
123     should be expected.
124   - Stop considering client sockets tainted after receiving a request with body.
125     It hasn't been necessary for a while now and unnecessarily causes test
126     failures when using curl's test suite.
127   - Allow HTTP/1.0 clients to signal interest in keep-alive through the
128     Proxy-Connection header. While such client are rare in the real world, it
129     doesn't hurt and couple of curl tests rely on it.
130   - Only remove duplicated Content-Type headers when filters are enabled.
131     If they are not it doesn't cause ill effects and the user might not want it.
132     Downgrade the removal message to LOG_LEVEL_HEADER to clarify that it's not
133     an error in Privoxy and is unlikely to cause any problems in general.
134     Anonymously reported in #3599335.
135   - Set the socket option SO_LINGER for the client socket.
136   - Move several variable declarations to the beginning of their code block.
137     It's required when compiling with gcc 2.95 which is still used on some
138     platforms. Initial patch submitted by Simon South in #3564815.
139   - Optionally try to sanity-check strptime() results before trusting them.
140     Broken strptime() implementations have caused problems in the past and
141     the most recent offender seems to be FreeBSD's libc (standards/173421).
142   - When filtering is enabled, let Range headers pass if the range starts at
143     the beginning. This should work around (or at least reduce) the video
144     playback issues with various Apple clients as reported by Duc in #3426305.
145   - Do not confuse a client hanging up with a connection time out. If a client
146     closes its side of the connection without sending a request line, do not
147     send the CLIENT_CONNECTION_TIMEOUT_RESPONSE, but report the condition
148     properly.
149   - Allow closing curly braces as part of action values as long as they are
150     escaped.
151   - On Windows, the logfile is now written before showing the GUI error
152     message which blocks until the user acknowledges it.
153     Reported by Adriaan in #3593603.
154   - Remove an unreasonable parameter limit in the CGI interface. The new
155     parameter limit depends on the memory available and is currently unlikely
156     to be reachable, due to other limits in both Privoxy and common clients.
157     Reported by Andrew on ijbswa-users@.
158   - Decrease the chances of parse failures after requests with unsupported
159     methods were sent to the CGI interface.
160
161 - Action file improvements:
162   - Remove the comment that indicated that updated default.action versions
163     are released on their own.
164   - Block 'optimize.indieclick.com/' and 'optimized-by.rubiconproject.com/'
165   - Unblock 'adjamblog.wordpress.com/' and 'adjamblog.files.wordpress.com/'.
166     Reported by Ryan Farmer in #3496116.
167   - Unblock '/.*Bugtracker'. Reported by pwhk in #3522341.
168   - Add test URLs for '.freebsd.org' and '.watson.org'.
169   - Unblock '.urbandictionary.com/popular'.
170   - Block '.adnxs.com/'.
171   - Block 'farm.plista.com/widgetdata.php'.
172   - Block 'rotation.linuxnewmedia.com/'.
173   - Block 'reklamy.sfd.pl/'. Reported by kacperdominik in #3399948.
174   - Block 'g.adspeed.net/'.
175   - Unblock 'websupport.wdc.com/'. Reported by Adam Piggot in #3577851.
176   - Block '/openx/www/delivery/'.
177   - Disable fast-redirects for '.googleapis.com/'.
178   - Block 'imp.double.net/'. Reported by David Bo in #3070411.
179   - Block 'gm-link.com/' which is used for email tracking.
180     Reported by David Bo in #1812733.
181   - Verify that requests to "bwp." are blocked. URL taken from #1736879
182     submitted by Francois Marier.
183   - Block '/.*bannerid='. Reported by Adam Piggott in #2975779.
184   - Block 'cltomedia.info/delivery/' and '.adexprt.com/'.
185     Anonymously reported in #2965254.
186   - Block 'de17a.com/'. Reported by David Bo in #3061472.
187   - Block 'oskar.tradera.com/'. Reported by David Bo in #3060596.
188   - Block '/scripts/webtrends\.js'. Reported by johnd16 in #3002729.
189   - Block requests for 'pool.*.adhese.com/'. Reported by johnd16 in #3002716.
190   - Update path pattern for Coremetrics and add tests.
191     Pattern and URLs submitted by Adam Piggott #3168443.
192   - Enable +fast-redirects{check-decoded-url} for 'tr.anp.se/'.
193     Reported by David Bo in #3268832.
194   - Unblock '.conrad.se/newsletter/banners/'. Reported by David Bo in #3413824.
195   - Block '.tynt.com/'. Reported by Dan Stahlke in #3421767.
196   - Unblock '.bbci.co.uk/radio/'. Reported by Adam Piggott in #3569603.
197   - Block requests to 'service.maxymiser.net/'.
198     Reported by johnd16 in #3118401 (with a previous URL).
199   - Disable fast-redirects for Google's "let's pretend your computer is
200     infected" page.
201   - Unblock '/.*download' to resolve actionsfile feedback #3498129.
202     Submitted by Steven Kolins (soundcloud.com not working).
203   - Unblock '.wlxrs.com/' which is required by hotmail.com.
204     Fixes #3413827 submitted by David Bo.
205   - Add two unblock patterns for popup radio and TV players.
206     Submitted by Adam Piggott in #3596089.
207
208 - Filter file improvements & bug fixes:
209   - Add a referer tagger.
210   - Reduce the likelihood that the google filter messes up HTML-generating
211     JavaScript. Reported by Zeno Kugy in #3520260.
212
213 - Documentation improvements:
214   - Revised all OS X sections due to new packaging module (OSXPackageBuilder).
215   - Update the list of supported operating systems to clarify that all Windows
216     versions after 95 are expected to work and note that the platform-specific
217     code for AmigaOS and QNX currently isn't maintained.
218   - Update 'Signals' section, the only explicitly handled signals are SIGINT,
219     SIGTERM and SIGHUP.
220   - Add Haiku to the list of operating systems on which Privoxy is known to
221     run.
222   - Add DragonFly to the list of BSDs on which Privoxy is known to run.
223   - Removed references to redhat-specific documentation set since it no longer
224     exists.
225   - Removed references to building PDFs since we no longer do so.
226   - Multiple listen-address directives are supported since 3.0.18, correct the
227     documentation to say so.
228   - Remove bogus section about long and short being preferable to int.
229   - Corrected some Internet JunkBuster references to Privoxy.
230   - Removed references to www.junkbusters.com since it is no longer
231     maintained. Reported by Angelina Matson.
232   - Various grammar and spelling corrections
233   - Add a client-header-tagger{} example for disabling filtering for range
234     requests.
235   - Correct a URL in the "Privoxy with Tor" FAQ.
236   - Spell 'refresh-tags' correctly. Reported by Don in #3571927.
237   - Sort manpage options alphabetically.
238   - Remove an incorrect sentence in the toggle section. The toggle state
239     doesn't affect whether or not the Windows version uses the tray icon.
240     Reported by Zeno Kugy in #3596395.
241   - Add new contributors since 3.0.19.
242
243 - Log message improvements:
244   - When stopping to watch a client socket due to pipelining, additionally log
245     the socket number.
246   - Log the client socket and its condition before closing it. This makes it
247     more obvious that the socket actually gets closed and should help when
248     diagnosing problems like #3464439.
249   - In case of SOCKS5 failures, do not explicitly log the server's response.
250     It hasn't helped so far and the response can already be logged by enabling
251     "debug 32768" anyway. This reverts v1.81 and the follow-up bug fix v1.84.
252   - Relocate the connection-accepted message from listen_loop() to serve().
253     This way it's printed by the thread that is actually serving the
254     connection which is nice when grepping for thread ids in log files.
255
256 - Code cleanups:
257   - Remove compatibility layer for versions prior to 3.0 since it has been
258     obsolete for more than 10 years now.
259   - Remove the ijb_isupper() and ijb_tolower() macros from parsers.c since
260     they aren't used in this file.
261   - Removed the 'Functions declared include:' comment sections since they tend
262     to be incomplete, incorrect and out of date and the benefit seems
263     questionable.
264   - Various comment grammar and comprehensibility improvements.
265   - Remove a pointless fflush() call in chat(). Flushing all streams pretty
266     much all the time for no obvious reason is ridiculous.
267   - Relocate ijb_isupper()'s definition to project.h and get the ijb_tolower()
268     definition from there, too.
269   - Relocate ijb_isdigit()'s definition to project.h.
270   - Rename ijb_foo macros to privoxy_foo.
271   - Add malloc_or_die() which will allow to simplify code paths where malloc()
272     failures don't need to be handled gracefully.
273   - Add strdup_or_die() which will allow to simplify code paths where strdup()
274     failures don't need to be handled gracefully.
275   - Replace strdup() calls with strdup_or_die() calls where it's safe and
276     simplifies the code.
277   - Fix white-space around parentheses.
278   - Add missing white-space behind if's and the following parentheses.
279   - Unwrap a memcpy() call in resolve_hostname_to_ip().
280   - Declare pcrs_get_delimiter()'s delimiters[] static const.
281   - Various optimisations to remove dead code and merge inefficient code
282     structures for improved clarity, performance or code compactness.
283   - Various data type corrections.
284   - Change visibility of several code segments when compiling without
285     FEATURE_CONNECTION_KEEP_ALIVE enabled for clarity.
286   - In pcrs_get_delimiter(), do not use delimiters outside the ASCII range.
287     Fixes a clang complaint.
288   - Fix an error message in get_last_url() nobody is supposed to see.
289     Reported by Matthew Fischer in #3507301.
290   - Fix a typo in the no-zlib-support complaint. Patch submitted by Matthew
291     Fischer in #3507304.
292   - Shorten ssplit()'s prototype by removing the last two arguments. We always
293     want to skip empty fields and ignore leading delimiters, so having
294     parameters for this only complicates the API.
295   - Use an enum for the type of the action value.
296   - Rename action_name's member takes_value to value_type as it isn't used as
297     boolean.
298   - Turn family mismatches in match_sockaddr() into fatal errors.
299   - Let enlist_unique_header() verify that the caller didn't pass a header
300     containing either \r or \n.
301   - Change the hashes used in load_config() to unsigned int. That's what
302     hash_string() actually returns and using a potentially larger type
303     is at best useless.
304   - Use privoxy_tolower() instead of vanilla tolower() with manual casting of
305     the argument.
306   - Catch ssplit() failures in parse_cgi_parameters().
307
308 - Privoxy-Regression-Test:
309   - Add an 'Overwrite condition' directive to skip any matching tests before
310     it. As it has a global scope, using it is more convenient than clowning
311     around with the Ignore directive.
312   - Log to STDOUT instead of STDERR.
313   - Include the Privoxy version in the output.
314   - Various grammar and spelling corrections in documentation and code.
315   - Additional tests for range requests with filtering enabled.
316   - Tests with mostly invalid range request.
317   - Add a couple of hide-if-modified-since{} tests with different date formats.
318   - Cleaned up the format of the regression-tests.action file to match the
319     format of default.action.
320   - Remove the "Copyright" line from print_version(). When using --help, every
321     line of screen space matters and thus shouldn't be wasted on things the
322     user doesn't care about.
323
324 - Privoxy-Log-Parser:
325   - Improve the --statistics performance by skipping sanity checks for input
326     that shouldn't affect the results anyway. Add a --strict-checks option
327     that enables some of the checks again, just in case anybody cares.
328   - The distribution of client requests per connection is included in
329     the --statistic output.
330   - The --accept-unknown-messages option has been removed and the behavior
331     is now the default.
332   - Accept and (mostly) highlight new log messages introduced with
333     Privoxy 3.0.20.
334
335 - uagen:
336   - Bump generated Firefox version to 17.
337
338 - GNUmakefile improvements:
339   - The dok-tidy target no longer taints documents with a tidy-mark
340   - Change RA_MODE from 0664 to 0644. Suggested by Markus Dittrich in
341     #3505445.
342   - Remove tidy's clean flag as it changes the scope of attributes.
343     Link-specific colors end up being applied to all text. Reported by Adam
344     Piggott in #3569551.
345   - Leave it up to the user whether or not smart tags are inserted.
346   - Let w3m itself do the line wrapping for the config file. It works better
347     than fmt as it can honour pre tags causing less unintentional line breaks.
348   - Ditch a pointless '-r' passed to rm to delete files.
349   - The config-file target now requires less manual intervention and updates
350     the original config.
351   - Change WDUMP to generate ASCII. Add WDUMP_UTF8 to allow UTF-8 in the
352     AUTHORS file so the names are right.
353   - Stop pretending that lynx and links are supported for the documentation.
354
355 - configure improvements:
356   - On Haiku, do not pass -lpthread to the compiler. Haiku's pthreads
357     implementation is contained in its system library, libroot, so no
358     additional library needs to be searched.
359     Patch submitted by Simon South in #3564815.
360   - Additional Haiku-specific improvements. Disable checks intended for
361     multi-user systems as Haiku is presently single-user. Group Haiku-specific
362     settings in their own section, following the pattern for Solaris, OS/2 and
363     AmigaOS. Add additional library-related settings to remove the need for
364     providing configure with custom LDFLAGS.
365     Submitted by Simon South in #3574538.
366
367 -----------------------------------------------------------------
368 About Privoxy:
369 -----------------------------------------------------------------
370
371 Privoxy is a non-caching web proxy with advanced filtering capabilities for
372 enhancing privacy, modifying web page data and HTTP headers, controlling
373 access, and removing ads and other obnoxious Internet junk. Privoxy has a
374 flexible configuration and can be customized to suit individual needs and
375 tastes. It has application for both stand-alone systems and multi-user
376 networks.
377
378 Privoxy is Free Software and licensed under the GNU GPLv2.
379
380 Privoxy is an associated project of Software in the Public Interest (SPI).
381
382 Helping hands and donations are welcome:
383
384   * http://www.privoxy.org/faq/general.html#PARTICIPATE
385
386   * http://www.privoxy.org/faq/general.html#DONATE
387
388 At present, Privoxy is known to run on Windows 95 and later versions
389 (98, ME, 2000, XP, Vista, Windows 7 etc.), GNU/Linux (RedHat, SuSE,
390 Debian, Fedora, Gentoo, Slackware and others), Mac OS X (10.4 and
391 upwards on PPC and Intel processors), OS/2, Haiku, DragonFly,
392 FreeBSD, NetBSD, OpenBSD, Solaris, and various other flavors of Unix.
393
394 In addition to the core features of ad blocking and cookie management,
395 Privoxy provides many supplemental features, that give the end-user
396 more control, more privacy and more freedom:
397
398
399     *  Supports "Connection: keep-alive". Outgoing connections can be kept
400        alive independently from the client. Currently not available on all
401        platforms.
402
403     *  Supports IPv6, provided the operating system does so too,
404        and the configure script detects it.
405
406     *  Supports tagging which allows to change the behaviour based on client
407        and server headers.
408
409     *  Can be run as an "intercepting" proxy, which obviates the need to
410        configure browsers individually.
411
412     *  Sophisticated actions and filters for manipulating both server and
413        client headers.
414
415     *  Can be chained with other proxies.
416
417     *  Integrated browser based configuration and control utility at
418        http://config.privoxy.org/ (shortcut: http://p.p/). Browser-based
419        tracing of rule and filter effects. Remote toggling.
420
421     *  Web page filtering (text replacements, removes banners based on size,
422        invisible <quote>web-bugs</quote> and HTML annoyances, etc.)
423
424     *  Modularized configuration that allows for standard settings and user
425        settings to reside in separate files, so that installing updated actions
426        files won't overwrite individual user settings.
427
428     *  Support for Perl Compatible Regular Expressions in the configuration
429        files, and a more sophisticated and flexible configuration syntax.
430
431     *  GIF de-animation.
432
433     *  Bypass many click-tracking scripts (avoids script redirection).
434
435     *  User-customizable HTML templates for most proxy-generated pages (e.g.
436        "blocked" page).
437
438     *  Auto-detection and re-reading of config file changes.
439     
440     *  Most features are controllable on a per-site or per-location basis.
441     
442
443 Download location: 
444    http://sourceforge.net/project/showfiles.php?group_id=11118
445  
446 Home Page: 
447    http://www.privoxy.org/
448
449
450   - Privoxy Developers <ijbswa-developers@lists.sourceforge.net>