create-package-feed.pl: Split script into functions
[privoxy.git] / ChangeLog
1 --------------------------------------------------------------------
2 ChangeLog for Privoxy
3 --------------------------------------------------------------------
4 *** Version 3.0.25 beta ***
5
6 - Bug fixes:
7   - Always use the current toggle state for new requests.
8     Previously new requests on reused connections inherited
9     the toggle state from the previous request even though
10     the toggle state could have changed.
11     Reported by Robert Klemme.
12   - Fixed two buffer-overflows in the (deprecated) static
13     pcre code. These bugs are not considered security issues
14     as the input is trusted.
15     Found with afl-fuzz and ASAN.
16
17 - General improvements:
18   - Added support for client-specific tags which allow Privoxy
19     admins to pre-define tags that are set for all requests from
20     clients that previously opted in through the CGI interface.
21     They are useful in multi-user setups where admins may
22     want to allow users to disable certain actions and filters
23     for themselves without affecting others.
24     In single-user setups they are useful to allow more fine-grained
25     toggling. For example to disable request blocking while still
26     crunching cookies, or to disable experimental filters only.
27     This is an experimental feature, the syntax and behaviour may
28     change in future versions.
29     Sponsored by Robert Klemme.
30   - Dynamic filters and taggers now support a $listen-address variable
31     which contains the address the request came in on.
32     For external filters the variable is called $PRIVOXY_LISTEN_ADDRESS.
33     Original patch contributed by pursievro.
34   - Add client-header-tagger 'listen-address'.
35   - Include the listen-address in the log message when logging new requests.
36     Patch contributed by pursievro.
37   - Turn invalid max-client-connections values into fatal errors.
38   - The show-status page now shows whether or not dates before 1970
39     and after 2038 are expected to be handled properly.
40     This is mainly useful for Privoxy-Regression-Test but could
41     also come handy when dealing with time-related support requests.
42   - On Mac OS X the thread id in log messages are more likely to
43     be unique now.
44   - When complaining about missing filters, the filter type is logged
45     as well.
46   - A couple of harmless coverity warnings were silenced
47     (CID #161202, CID #161203, CID #161211).
48
49 - Action file improvements:
50   - Filtering is disabled for Range requests to let download resumption
51     and Windows updates work with the default configuration.
52   - Unblock ".ardmediathek.de/".
53     Reported by ThTomate in #932.
54
55 - Documentation improvements:
56   - Add FAQ entry for crashes caused by memory limits.
57   - Remove obsolete FAQ entry about a bug in PHP 4.2.3.
58   - Mention the new mailing lists were appropriate.
59     As the archives have not been migrated, continue to
60     mention the archives at SF in the contacting section
61     for now.
62   - Note that the templates should be adjusted if Privoxy is
63     running as intercepting proxy without getting all requests.
64   - A bunch of links were converted to https://.
65   - Rephrase onion service paragraph to make it more obvious
66     that Tor is involved and that the whole website (and not
67     just the homepage) is available as onion service.
68   - Streamline the "More information" section on the homepage further
69     by additionally ditching the link to the 'See also' section
70     of the user manual. The section contains mostly links that are
71     directly reachable from the homepage already and the rest is
72     not significant enough to get a link from the homepage.
73   - Change the add-header{} example to set the DNT header
74     and use a complete section to make copy and pasting
75     more convenient.
76     Add a comment to make it obvious that adding the
77     header is not recommended for obvious reasons.
78     Using the DNT header as example was suggested by
79     Leo Wzukw.
80   - Streamline the support-and-service template
81     Instead of linking to the various support trackers
82     (whose URLs hopefully change soon), link to the
83     contact section of the user manual to increase the
84     chances that users actually read it.
85   - Add a FAQ entry for tainted sockets.
86   - More sections in the documentation have stable URLs now.
87   - FAQ: Explain why 'ping config.privoxy.org' is not expected
88     to reach a local Privoxy installation.
89   - Note that donations done through Zwiebelfreunde e.V. currently
90     can't be checked automatically.
91   - Updated section regarding starting Privoxy under OS X.
92   - Use dedicated start instructions for FreeBSD and ElectroBSD.
93   - Removed release instructions for AIX. They haven't been working
94     for years and unsurprisingly nobody seems to care.
95   - Removed obsolete reference to the solaris-dist target.
96   - Updated the release instructions for FreeBSD.
97   - Removed unfinished release instructions for Amiga OS and HP-UX 11.
98   - Added a pointer to the Cygwin Time Machine for getting the last release of
99     Cygwin version 1.5 to use for building Privoxy on Windows.
100   - Various typos have been fixed.
101
102 - Infrastructure improvements:
103   - The website is no longer hosted at SourceForge and
104     can be reached through https now.
105   - The mailing lists at SourceForge have been deprecated,
106     you can subscribe to the new ones at: https://lists.privoxy.org/
107   - Migrating the remaining services from SourceForge is
108     work in progress (TODO list item #53).
109
110 - Build system improvements:
111   - Add configure argument to optimistically redefine FD_SETSIZE
112     with the intent to change the maximum number of client
113     connections Privoxy can handle. Only works with some libcs.
114     Sponsored by Robert Klemme.
115   - Let the tarball-dist target skip files in ".git".
116   - Let the tarball-dist target work in cwds other than current.
117   - Make the 'clean' target faster when run from a git repository.
118   - Include tools in the generic distribution.
119   - Let the gen-dist target work in cwds other than current.
120   - Sort find output that is used for distribution tarballs
121     to get reproducible results.
122   - Don't add '-src' to the name of the tar ball generated by the
123     gen-dist target. The package isn't a source distribution but a
124     binary package.
125     While at it, use a variable for the name to reduce the chances
126     that the various references get out of sync and fix the gen-upload
127     target which was looking in the wrong directory.
128   - Add regression-tests.action to the files that are distributed.
129   - The gen-dist target which was broken since 2002 (r1.92) has been fixed.
130   - Remove genclspec.sh which has been obsolete since 2009.
131   - Remove obsolete reference to Redhat spec file.
132   - Remove the obsolete announce target which has been commented out years ago.
133   - Let rsync skip files if the checksums match.
134
135 - Privoxy-Regression-Test:
136   - Add a "Default level offset" directive which can be used to
137     change the default level by a given value.
138     This directive affects all tests located after it until the end
139     of the file or a another "Default level offset" directive is reached.
140     The purpose of this directive is to make it more convenient to skip
141     similar tests in a given file without having to remove or disable
142     the tests completely.
143   - Let test level 17 depend on FEATURE_64_BIT_TIME_T
144     instead of FEATURE_PTHREAD which has no direct connection
145     to the time_t size.
146   - Fix indentation in perldoc examples.
147   - Don't overlook directives in the first line of the action file.
148   - Bump version to 0.7.
149   - Fix detection of the Privoxy version now that https://
150     is used for the website.
151
152 *** Version 3.0.24 stable ***
153
154 - Security fixes (denial of service):
155   - Prevent invalid reads in case of corrupt chunk-encoded content.
156     CVE-2016-1982. Bug discovered with afl-fuzz and AddressSanitizer.
157   - Remove empty Host headers in client requests.
158     Previously they would result in invalid reads. CVE-2016-1983.
159     Bug discovered with afl-fuzz and AddressSanitizer.
160
161 - Bug fixes:
162   - When using socks5t, send the request body optimistically as well.
163     Previously the request body wasn't guaranteed to be sent at all
164     and the error message incorrectly blamed the server.
165     Fixes #1686 reported by Peter Müller and G4JC.
166   - Fixed buffer scaling in execute_external_filter() that could lead
167     to crashes. Submitted by Yang Xia in #892.
168   - Fixed crashes when executing external filters on platforms like
169     Mac OS X. Reported by Jonathan McKenzie on ijbswa-users@.
170   - Properly parse ACL directives with ports when compiled with HAVE_RFC2553.
171     Previously the port wasn't removed from the host and in case of
172     'permit-access 127.0.0.1 example.org:80' Privoxy would try (and fail)
173     to resolve "example.org:80" instead of example.org.
174     Reported by Pak Chan on ijbswa-users@.
175   - Check requests more carefully before serving them forcefully
176     when blocks aren't enforced. Privoxy always adds the force token
177     at the beginning of the path, but would previously accept it anywhere
178     in the request line. This could result in requests being served that
179     should be blocked. For example in case of pages that were loaded with
180     force and contained JavaScript to create additionally requests that
181     embed the origin URL (thus inheriting the force prefix).
182     The bug is not considered a security issue and the fix does not make
183     it harder for remote sites to intentionally circumvent blocks if
184     Privoxy isn't configured to enforce them.
185     Fixes #1695 reported by Korda.
186   - Normalize the request line in intercepted requests to make rewriting
187     the destination more convenient. Previously rewrites for intercepted
188     requests were expected to fail unless $hostport was being used, but
189     they failed "the wrong way" and would result in an out-of-memory
190     message (vanilla host patterns) or a crash (extended host patterns).
191     Reported by "Guybrush Threepwood" in #1694.
192   - Enable socket lingering for the correct socket.
193     Previously it was repeatedly enabled for the listen socket
194     instead of for the accepted socket. The bug was found by
195     code inspection and did not cause any (reported) issues.
196   - Detect and reject parameters for parameter-less actions.
197     Previously they were silently ignored.
198   - Fixed invalid reads in internal and outdated pcre code.
199     Found with afl-fuzz and AddressSanitizer.
200   - Prevent invalid read when loading invalid action files.
201     Found with afl-fuzz and AddressSanitizer.
202   - Windows build: Use the correct function to close the event handle.
203     It's unclear if this bug had a negative impact on Privoxy's behaviour.
204     Reported by Jarry Xu in #891.
205   - In case of invalid forward-socks5(t) directives, use the
206     correct directive name in the error messages. Previously they
207     referred to forward-socks4t failures.
208     Reported by Joel Verhagen in #889.
209
210 - General improvements:
211   - Set NO_DELAY flag for the accepting socket. This significantly reduces
212     the latency if the operating system is not configured to set the flag
213     by default. Reported by Johan Sintorn in #894.
214   - Allow to build with mingw x86_64. Submitted by Rustam Abdullaev in #135.
215   - Introduce the new forwarding type 'forward-webserver'.
216     Currently it is only supported by the forward-override{} action and
217     there's no config directive with the same name. The forwarding type
218     is similar to 'forward', but the request line only contains the path
219     instead of the complete URL.
220   - The CGI editor no longer treats 'standard.action' special.
221     Nowadays the official "standards" are part of default.action
222     and there's no obvious reason to disallow editing them through
223     the cgi editor anyway (if the user decided that the lack of
224     authentication isn't an issue in her environment).
225   - Improved error messages when rejecting intercepted requests
226     with unknown destination.
227   - A couple of log messages now include the number of active threads.
228   - Removed non-standard Proxy-Agent headers in HTTP snipplets
229     to make testing more convenient.
230   - Include the error code for pcre errors Privoxy does not recognize.
231   - Config directives with numerical arguments are checked more carefully.
232   - Privoxy's malloc() wrapper has been changed to prevent zero-size
233     allocations which should only occur as the result of bugs.
234   - Various cosmetic changes.
235
236 - Action file improvements:
237   - Unblock ".deutschlandradiokultur.de/".
238     Reported by u302320 in #924.
239   - Add two fast-redirect exceptions for "yandex.ru".
240   - Disable filter{banners-by-size} for ".plasmaservice.de/".
241   - Unblock "klikki.fi/adv/".
242   - Block requests for "resources.infolinks.com/".
243     Reported by "Black Rider" on ijbswa-users@.
244   - Block a bunch of criteo domains.
245     Reported by Black Rider.
246   - Block "abs.proxistore.com/abe/".
247     Reported by Black Rider.
248   - Disable filter{banners-by-size} for ".black-mosquito.org/".
249   - Disable fast-redirects for "disqus.com/".
250
251 - Documentation improvements:
252   - FAQ: Explicitly point fingers at ASUS as an example of a
253     company that has been reported to force malware based on
254     Privoxy upon its customers.
255   - Correctly document the action type for a bunch of "multi-value"
256     actions that were incorrectly documented to be "parameterized".
257     Reported by Gregory Seidman on ijbswa-users@.
258   - Fixed the documented type of the forward-override{} action
259     which is obviously 'parameterized'.
260
261 - Website improvements:
262   - Users who don't trust binaries served by SourceForge
263     can get them from a mirror. Migrating away from SourceForge
264     is planned for 2016 (TODO list item #53).
265   - The website is now available as onion service
266     (http://jvauzb4sb3bwlsnc.onion/).
267
268 *** Version 3.0.23 stable ***
269
270 - Bug fixes:
271   - Fixed a DoS issue in case of client requests with incorrect
272     chunk-encoded body. When compiled with assertions enabled
273     (the default) they could previously cause Privoxy to abort().
274     Reported by Matthew Daley. CVE-2015-1380.
275   - Fixed multiple segmentation faults and memory leaks in the
276     pcrs code. This fix also increases the chances that an invalid
277     pcrs command is rejected as such. Previously some invalid commands
278     would be loaded without error. Note that Privoxy's pcrs sources
279     (action and filter files) are considered trustworthy input and
280     should not be writable by untrusted third-parties. CVE-2015-1381.
281   - Fixed an 'invalid read' bug which could at least theoretically
282     cause Privoxy to crash. So far, no crashes have been observed.
283     CVE-2015-1382.
284   - Compiles with --disable-force again. Reported by Kai Raven.
285   - Client requests with body that can't be delivered no longer
286     cause pipelined requests behind them to be rejected as invalid.
287     Reported by Basil Hussain.
288
289 - General improvements:
290   - If a pcrs command is rejected as invalid, Privoxy now logs
291     the cause of the problem as text. Previously the pcrs error
292     code was logged.
293   - The tests are less likely to cause false positives.
294
295 - Action file improvements:
296   - '.sify.com/' is no longer blocked. Apparently it is not actually
297     a pure tracking site (anymore?). Reported by Andrew on ijbswa-users@.
298   - Unblock banners on .amnesty.de/ which aren't ads.
299
300 - Documentation improvements:
301   - The 'Would you like to donate?' section now also contains
302     a "Paypal" address.
303   - The list of supported operating systems has been updated.
304   - The existence of the SF support and feature trackers has been
305     deemphasized because they have been broken for months.
306     Most of the time the mailing lists still work.
307   - The claim that default.action updates are sometimes released
308     on their own has been removed. It hasn't happened in years.
309   - Explicitly mention that Tor's port may deviate from the default
310     when using a bundle. Requested by Andrew on ijbswa-users@.
311
312 *** Version 3.0.22 stable ***
313
314 - Bug fixes:
315   - Fixed a memory leak when rejecting client connections due to
316     the socket limit being reached (CID 66382). This affected
317     Privoxy 3.0.21 when compiled with IPv6 support (on most
318     platforms this is the default). CVE-2015-1030.
319   - Fixed an immediate-use-after-free bug (CID 66394) and two
320     additional unconfirmed use-after-free complaints made by
321     Coverity scan (CID 66391, CID 66376). CVE-2015-1031.
322   - Actually show the FORCE_PREFIX value on the show-status page.
323   - Properly deal with Keep-Alive headers with timeout= parameters
324     If the timeout still can't be parsed, use the configured
325     timeout instead of preventing the client from keeping the
326     connection alive. Fixes #3615312/#870 reported by Bernard Guillot.
327   - Not using any filter files no longer results in warning messages
328     unless an action file is referencing header taggers or filters.
329     Reported by Stefan Kurtz in #3614835.
330   - Fixed a bug that prevented Privoxy from reusing some reusable
331     connections. Two bit masks with different purpose unintentionally
332     shared the same bit.
333   - A couple of additional bugs were discovered by Coverity Scan.
334     The fixes that are not expected to affect users are not explicitly
335     mentioned here, for details please have a look at the CVS logs.
336
337 - General improvements:
338   - Introduced negative tag patterns NO-REQUEST-TAG and NO-RESPONSE-TAG.
339     They apply if no matching tag is found after parsing client or
340     server headers.
341   - Add support for external filters which allow to process the
342     response body with a script or program written in any language
343     the platform supports. External filters are enabled with
344     +external-filter{} after they have been defined in one of the
345     filter files with a header line starting with "EXTERNAL-FILTER:".
346     External filter support is experimental, not compiled by default
347     and known not to work on all platforms.
348   - Add support for the 'PATCH' method as defined in RFC5789.
349   - Reject requests with unsupported Expect header values.
350     Fixes a couple of Co-Advisor tests.
351   - Normalize the HTTP-version in forwarded requests and responses.
352     This is an explicit RFC 2616 MUST and RFC 7230 mandates that
353     intermediaries send their own HTTP-version in forwarded
354     messages.
355   - Server 'Keep-Alive' headers are no longer forwarded. From a user's
356     point of view it doesn't really matter, but RFC 2616 (obsolete)
357     mandates that the header is removed and this fixes a Co-Advisor
358     complaint.
359   - Change declared template file encoding to UTF-8. The templates
360     already used a subset of UTF-8 anyway and changing the declaration
361     allows to properly display UTF-8 characters used in the action files.
362     This change may require existing action files with ISO-8859-1
363     characters that aren't valid UTF-8 to be converted to UTF-8.
364     Requested by Sam Chen in #582.
365   - Do not pass rejected keep-alive timeouts to the server. It might
366     not have caused any problems (we know of), but doing the right
367     thing shouldn't hurt either.
368   - Let log_error() use its own buffer size #define to make changing
369     the log buffer size slightly less inconvenient.
370   - Turned single-threaded into a "proper" toggle directive with arguments.
371   - CGI templates no longer enforce new windows for some links.
372   - Remove an undocumented workaround ('HOST' header removal) for
373     an Apple iTunes bug that according to #729900 got fixed in 2003.
374
375 - Action file improvements:
376   - The pattern 'promotions.' is no longer being blocked.
377     Reported by rakista in #3608540.
378   - Disable fast-redirects for .microsofttranslator.com/.
379   - Disable filter{banners-by-size} for .dgb-tagungszentren.de/.
380   - Add adn.speedtest.net as a site-specific unblocker.
381     Support request #3612908.
382   - Disable filter{banners-by-size} for creativecommons.org/.
383   - Block requests to data.gosquared.com/. Reported by cbug in #3613653.
384   - Unblock .conrad./newsletter/. Reported by David Bo in #3614238.
385   - Unblock .bundestag.de/.
386   - Unblock .rote-hilfe.de/.
387   - Disable fast-redirects for .facebook.com/plugins/like.php.
388   - Unblock Stackexchange popup URLs that aren't used to serve ads.
389     Reported by David Wagner in #3615179.
390   - Disable fast-redirects for creativecommons.org/.
391   - Unblock .stopwatchingus.info/.
392   - Block requests for .adcash.com/script/.
393     Reported by Tyrexionibus in #3615289.
394   - Disable HTML filters if the response was tagged as JavaScript.
395     Filtering JavaScript code with filters intended to deal with HTML
396     is usually a waste of time and, more importantly, may break stuff.
397   - Use a custom redirect{} for .washingtonpost.com/wp-apps/imrs\.php\?src=
398     Previously enabling the 'Advanced' settings (or manually enabling
399     +fast-redirects{}) prevented some images from being loaded properly.
400   - Unblock "adina*." Fixes #919 reported by Morton A. Goldberg.
401   - Block '/.*DigiAd'.
402   - Unblock 'adele*.'. Reported by Adele Lime in #1663.
403   - Disable banners-by-size for kggp.de/.
404
405 - Filter file improvements & bug fixes:
406   - Decrease the chances that js-annoyances creates invalid JavaScript.
407     Submitted by John McGowan on ijbswa-users@.
408   - Let the msn filter hide 'related' ads again.
409   - Remove a stray '1' in the 'html-annoyances' filter.
410   - Prevent img-reorder from messing up img tags with empty src
411     attributes. Fixes #880 reported by Duncan.
412
413 - Documentation improvements:
414   - Updated the 'Would you like to donate?' section.
415   - Note that invalid forward-override{} parameter syntax isn't
416     detected until the parameter is used.
417   - Add another +redirect{} example: a shortcut for illumos bugs.
418   - Make it more obvious that many operating systems support log
419     rotation out of the box.
420   - Fixed dead links. Reported by Mark Nelson in #3614557.
421   - Rephrased the 'Why is the configuration so complicated?' answer
422     to be slightly less condescending. Anonymously suggested in #3615122.
423   - Be more explicit about accept-intercepted-requests's lack of MITM support.
424   - Make 'demoronizer' FAQ entries more generic.
425   - Add an example hostname to the --pre-chroot-nslookup description.
426   - Add an example for a host pattern that matches an IP address.
427   - Rename the 'domain pattern' to 'host pattern' as it may
428     contain IP addresses as well.
429   - Recommend forward-socks5t when using Tor. It seems to work fine and
430     modifying the Tor configuration to profit from it hasn't been necessary
431     for a while now.
432   - Add another redirect{} example to stress that redirect loops can
433     and should be avoided.
434   - The usual spelling and grammar fixes. Parts of them were
435     reported by Reuben Thomas in #3615276.
436   - Mention the PCRS option letters T and D in the filter section.
437   - Clarify that handle-as-empty-doc-returns-ok is still useful
438     and will not be removed without replacement.
439   - Note that security issues shouldn't be reported using the bug tracker.
440   - Clarify what Privoxy does if both +block{} and +redirect{} apply.
441   - Removed the obsolete bookmarklets section.
442
443 - Build system improvements:
444   - Let --with-group properly deal with secondary groups.
445     Patch submitted by Anatoly Arzhnikov in #3615187.
446   - Fix web-actions target.
447   - Add a web-faq target that only updates the FAQ on the webserver.
448   - Remove already-commented-out non-portable DOSFILTER alternatives.
449   - Remove the obsolete targets dok-put and dok-get.
450   - Add a sf-shell target.
451
452 *** Version 3.0.21 stable ***
453
454 - Bug fixes:
455   - On POSIX-like platforms, network sockets with file descriptor
456     values above FD_SETSIZE are properly rejected. Previously they
457     could cause memory corruption in configurations that allowed
458     the limit to be reached.
459   - Proxy authentication headers are removed unless the new directive
460     enable-proxy-authentication-forwarding is used. Forwarding the
461     headers potentially allows malicious sites to trick the user
462     into providing them with login information.
463     Reported by Chris John Riley.
464   - Compiles on OS/2 again now that unistd.h is only included
465     on platforms that have it.
466
467 - General improvements:
468   - The show-status page shows the FEATURE_STRPTIME_SANITY_CHECKS status.
469   - A couple of assert()s that could theoretically dereference
470     NULL pointers in debug builds have been relocated.
471   - Added an LSB info block to the generic start script.
472     Based on a patch from Natxo Asenjo.
473   - The max-client-connections default has been changed to 128
474     which should be more than enough for most setups.
475
476 - Action file improvements:
477   - Block rover.ebay./ar.*\&adtype= instead of "/.*\&adtype=" which
478     caused too man false positives.
479     Reported by u302320 in #360284, additional feedback from Adam Piggott.
480   - Unblock '.advrider.com/' and '/.*ADVrider'.
481     Anonymously reported in #3603636.
482   - Stop blocking '/js/slider\.js'.
483     Reported by Adam Piggott in #3606635 and _lvm in #2791160.
484
485 - Filter file improvements:
486   - Added an iframes filter.
487
488 - Documentation improvements:
489   - The whole GPLv2 text is included in the user manual now,
490     so Privoxy can serve it itself and the user can read it
491     without having to wade through GPLv3 ads first.
492   - Properly numbered and underlined a couple of section titles
493     in the config that where previously overlooked due to a flaw
494     in the conversion script. Reported by Ralf Jungblut.
495   - Improved the support instruction to hopefully make it harder to
496     unintentionally provide insufficient information when requesting
497     support. Previously it wasn't obvious that the information we need
498     in bug reports is usually also required in support requests.
499   - Removed documentation about packages that haven't been provided
500     in years.
501
502 - Privoxy-Regression-Test:
503   - Only log the test number when not running in verbose mode
504     The position of the test is rarely relevant and it previously
505     wasn't exactly obvious which one of the numbers was useful to
506     repeat the test with --test-number.
507
508 - GNUmakefile improvements:
509   - Factor generate-config-file out of config-file to make testing
510     more convenient.
511   - The clean target now also takes care of patch leftovers.
512
513 *** Version 3.0.20 beta ***
514
515 - Bug fixes:
516   - Client sockets are now properly shutdown and drained before being
517     closed. This fixes page truncation issues with clients that aggressively
518     pipeline data on platforms that otherwise discard already written data.
519     The issue mainly affected Opera users and was initially reported
520     by Kevin in #3464439, szotsaki provided additional information to track
521     down the cause.
522   - Fix latency calculation for shared connections (disabled by default).
523     It was broken since their introduction in 2009. The calculated latency
524     for most connections would be 0 in which case the timeout detection
525     failed to account for the real latency.
526   - Reject URLs with invalid port. Previously they were parsed incorrectly and
527     characters between the port number and the first slash were silently
528     dropped as shown by curl test 187.
529   - The default-server-timeout and socket-timeout directives accept 0 as
530     valid value.
531   - Fix a race condition on Windows that could cause Privoxy to become
532     unresponsive after toggling it on or off through the taskbar icon.
533     Reported by Tim H. in #3525694.
534   - Fix the compilation on Windows when configured without IPv6 support.
535   - Fix an assertion that could cause debug builds to abort() in case of
536     socks5 connection failures with "debug 2" enabled.
537   - Fix an assertion that could cause debug builds to abort() if a filter
538     contained nul bytes in the replacement text.
539
540 - General improvements:
541   - Significantly improved keep-alive support for both client and server
542     connections.
543   - New debug log level 65536 which logs all actions that were applied to
544     the request.
545   - New directive client-header-order to forward client headers in a
546     different order than the one in which they arrived.
547   - New directive tolerate-pipelining to allow client-side pipelining.
548     If enabled (3.0.20 beta enables it by default), Privoxy will keep
549     pipelined client requests around to deal with them once the current
550     request has been served.
551   - New --config-test option to let Privoxy exit after checking whether or not
552     the configuration seems valid. The limitations noted in TODO #22 and #23
553     still apply. Based on a patch by Ramkumar Chinchani.
554   - New limit-cookie-lifetime{} action to let cookies expire before the end
555     of the session. Suggested by Rick Sykes in #1049575.
556   - Increase the hard-coded maximum number of actions and filter files from
557     10 to 30 (each). It doesn't significantly affect Privoxy's memory usage
558     and recompiling wasn't an option for all Privoxy users that reached the
559     limit.
560   - Add support for chunk-encoded client request bodies. Previously
561     chunk-encoded request bodies weren't guaranteed to be forwarded correctly,
562     so this can also be considered a bug fix although chunk-encoded request
563     bodies aren't commonly used in the real world.
564   - Add support for Tor's optimistic-data SOCKS extension, which can reduce the
565     latency for requests on newly created connections. Currently only the
566     headers are sent optimistically and only if the client request has already
567     been read completely which rules out requests with large bodies.
568   - After preventing the client from pipelining, don't signal keep-alive
569     intentions. When looking at the response headers alone, it previously
570     wasn't obvious from the client's perspective that no additional responses
571     should be expected.
572   - Stop considering client sockets tainted after receiving a request with body.
573     It hasn't been necessary for a while now and unnecessarily causes test
574     failures when using curl's test suite.
575   - Allow HTTP/1.0 clients to signal interest in keep-alive through the
576     Proxy-Connection header. While such client are rare in the real world, it
577     doesn't hurt and couple of curl tests rely on it.
578   - Only remove duplicated Content-Type headers when filters are enabled.
579     If they are not it doesn't cause ill effects and the user might not want it.
580     Downgrade the removal message to LOG_LEVEL_HEADER to clarify that it's not
581     an error in Privoxy and is unlikely to cause any problems in general.
582     Anonymously reported in #3599335.
583   - Set the socket option SO_LINGER for the client socket.
584   - Move several variable declarations to the beginning of their code block.
585     It's required when compiling with gcc 2.95 which is still used on some
586     platforms. Initial patch submitted by Simon South in #3564815.
587   - Optionally try to sanity-check strptime() results before trusting them.
588     Broken strptime() implementations have caused problems in the past and
589     the most recent offender seems to be FreeBSD's libc (standards/173421).
590   - When filtering is enabled, let Range headers pass if the range starts at
591     the beginning. This should work around (or at least reduce) the video
592     playback issues with various Apple clients as reported by Duc in #3426305.
593   - Do not confuse a client hanging up with a connection time out. If a client
594     closes its side of the connection without sending a request line, do not
595     send the CLIENT_CONNECTION_TIMEOUT_RESPONSE, but report the condition
596     properly.
597   - Allow closing curly braces as part of action values as long as they are
598     escaped.
599   - On Windows, the logfile is now written before showing the GUI error
600     message which blocks until the user acknowledges it.
601     Reported by Adriaan in #3593603.
602   - Remove an unreasonable parameter limit in the CGI interface. The new
603     parameter limit depends on the memory available and is currently unlikely
604     to be reachable, due to other limits in both Privoxy and common clients.
605     Reported by Andrew on ijbswa-users@.
606   - Decrease the chances of parse failures after requests with unsupported
607     methods were sent to the CGI interface.
608
609 - Action file improvements:
610   - Remove the comment that indicated that updated default.action versions
611     are released on their own.
612   - Block 'optimize.indieclick.com/' and 'optimized-by.rubiconproject.com/'
613   - Unblock 'adjamblog.wordpress.com/' and 'adjamblog.files.wordpress.com/'.
614     Reported by Ryan Farmer in #3496116.
615   - Unblock '/.*Bugtracker'. Reported by pwhk in #3522341.
616   - Add test URLs for '.freebsd.org' and '.watson.org'.
617   - Unblock '.urbandictionary.com/popular'.
618   - Block '.adnxs.com/'.
619   - Block 'farm.plista.com/widgetdata.php'.
620   - Block 'rotation.linuxnewmedia.com/'.
621   - Block 'reklamy.sfd.pl/'. Reported by kacperdominik in #3399948.
622   - Block 'g.adspeed.net/'.
623   - Unblock 'websupport.wdc.com/'. Reported by Adam Piggot in #3577851.
624   - Block '/openx/www/delivery/'.
625   - Disable fast-redirects for '.googleapis.com/'.
626   - Block 'imp.double.net/'. Reported by David Bo in #3070411.
627   - Block 'gm-link.com/' which is used for email tracking.
628     Reported by David Bo in #1812733.
629   - Verify that requests to "bwp." are blocked. URL taken from #1736879
630     submitted by Francois Marier.
631   - Block '/.*bannerid='. Reported by Adam Piggott in #2975779.
632   - Block 'cltomedia.info/delivery/' and '.adexprt.com/'.
633     Anonymously reported in #2965254.
634   - Block 'de17a.com/'. Reported by David Bo in #3061472.
635   - Block 'oskar.tradera.com/'. Reported by David Bo in #3060596.
636   - Block '/scripts/webtrends\.js'. Reported by johnd16 in #3002729.
637   - Block requests for 'pool.*.adhese.com/'. Reported by johnd16 in #3002716.
638   - Update path pattern for Coremetrics and add tests.
639     Pattern and URLs submitted by Adam Piggott #3168443.
640   - Enable +fast-redirects{check-decoded-url} for 'tr.anp.se/'.
641     Reported by David Bo in #3268832.
642   - Unblock '.conrad.se/newsletter/banners/'. Reported by David Bo in #3413824.
643   - Block '.tynt.com/'. Reported by Dan Stahlke in #3421767.
644   - Unblock '.bbci.co.uk/radio/'. Reported by Adam Piggott in #3569603.
645   - Block requests to 'service.maxymiser.net/'.
646     Reported by johnd16 in #3118401 (with a previous URL).
647   - Disable fast-redirects for Google's "let's pretend your computer is
648     infected" page.
649   - Unblock '/.*download' to resolve actionsfile feedback #3498129.
650     Submitted by Steven Kolins (soundcloud.com not working).
651   - Unblock '.wlxrs.com/' which is required by hotmail.com.
652     Fixes #3413827 submitted by David Bo.
653   - Add two unblock patterns for popup radio and TV players.
654     Submitted by Adam Piggott in #3596089.
655
656 - Filter file improvements & bug fixes:
657   - Add a referer tagger.
658   - Reduce the likelihood that the google filter messes up HTML-generating
659     JavaScript. Reported by Zeno Kugy in #3520260.
660
661 - Documentation improvements:
662   - Revised all OS X sections due to new packaging module (OSXPackageBuilder).
663   - Update the list of supported operating systems to clarify that all Windows
664     versions after 95 are expected to work and note that the platform-specific
665     code for AmigaOS and QNX currently isn't maintained.
666   - Update 'Signals' section, the only explicitly handled signals are SIGINT,
667     SIGTERM and SIGHUP.
668   - Add Haiku to the list of operating systems on which Privoxy is known to
669     run.
670   - Add DragonFly to the list of BSDs on which Privoxy is known to run.
671   - Removed references to redhat-specific documentation set since it no longer
672     exists.
673   - Removed references to building PDFs since we no longer do so.
674   - Multiple listen-address directives are supported since 3.0.18, correct the
675     documentation to say so.
676   - Remove bogus section about long and short being preferable to int.
677   - Corrected some Internet JunkBuster references to Privoxy.
678   - Removed references to www.junkbusters.com since it is no longer
679     maintained. Reported by Angelina Matson.
680   - Various grammar and spelling corrections
681   - Add a client-header-tagger{} example for disabling filtering for range
682     requests.
683   - Correct a URL in the "Privoxy with Tor" FAQ.
684   - Spell 'refresh-tags' correctly. Reported by Don in #3571927.
685   - Sort manpage options alphabetically.
686   - Remove an incorrect sentence in the toggle section. The toggle state
687     doesn't affect whether or not the Windows version uses the tray icon.
688     Reported by Zeno Kugy in #3596395.
689   - Add new contributors since 3.0.19.
690
691 - Log message improvements:
692   - When stopping to watch a client socket due to pipelining, additionally log
693     the socket number.
694   - Log the client socket and its condition before closing it. This makes it
695     more obvious that the socket actually gets closed and should help when
696     diagnosing problems like #3464439.
697   - In case of SOCKS5 failures, do not explicitly log the server's response.
698     It hasn't helped so far and the response can already be logged by enabling
699     "debug 32768" anyway. This reverts v1.81 and the follow-up bug fix v1.84.
700   - Relocate the connection-accepted message from listen_loop() to serve().
701     This way it's printed by the thread that is actually serving the
702     connection which is nice when grepping for thread ids in log files.
703
704 - Code cleanups:
705   - Remove compatibility layer for versions prior to 3.0 since it has been
706     obsolete for more than 10 years now.
707   - Remove the ijb_isupper() and ijb_tolower() macros from parsers.c since
708     they aren't used in this file.
709   - Removed the 'Functions declared include:' comment sections since they tend
710     to be incomplete, incorrect and out of date and the benefit seems
711     questionable.
712   - Various comment grammar and comprehensibility improvements.
713   - Remove a pointless fflush() call in chat(). Flushing all streams pretty
714     much all the time for no obvious reason is ridiculous.
715   - Relocate ijb_isupper()'s definition to project.h and get the ijb_tolower()
716     definition from there, too.
717   - Relocate ijb_isdigit()'s definition to project.h.
718   - Rename ijb_foo macros to privoxy_foo.
719   - Add malloc_or_die() which will allow to simplify code paths where malloc()
720     failures don't need to be handled gracefully.
721   - Add strdup_or_die() which will allow to simplify code paths where strdup()
722     failures don't need to be handled gracefully.
723   - Replace strdup() calls with strdup_or_die() calls where it's safe and
724     simplifies the code.
725   - Fix white-space around parentheses.
726   - Add missing white-space behind if's and the following parentheses.
727   - Unwrap a memcpy() call in resolve_hostname_to_ip().
728   - Declare pcrs_get_delimiter()'s delimiters[] static const.
729   - Various optimisations to remove dead code and merge inefficient code
730     structures for improved clarity, performance or code compactness.
731   - Various data type corrections.
732   - Change visibility of several code segments when compiling without
733     FEATURE_CONNECTION_KEEP_ALIVE enabled for clarity.
734   - In pcrs_get_delimiter(), do not use delimiters outside the ASCII range.
735     Fixes a clang complaint.
736   - Fix an error message in get_last_url() nobody is supposed to see.
737     Reported by Matthew Fischer in #3507301.
738   - Fix a typo in the no-zlib-support complaint. Patch submitted by Matthew
739     Fischer in #3507304.
740   - Shorten ssplit()'s prototype by removing the last two arguments. We always
741     want to skip empty fields and ignore leading delimiters, so having
742     parameters for this only complicates the API.
743   - Use an enum for the type of the action value.
744   - Rename action_name's member takes_value to value_type as it isn't used as
745     boolean.
746   - Turn family mismatches in match_sockaddr() into fatal errors.
747   - Let enlist_unique_header() verify that the caller didn't pass a header
748     containing either \r or \n.
749   - Change the hashes used in load_config() to unsigned int. That's what
750     hash_string() actually returns and using a potentially larger type
751     is at best useless.
752   - Use privoxy_tolower() instead of vanilla tolower() with manual casting of
753     the argument.
754   - Catch ssplit() failures in parse_cgi_parameters().
755
756 - Privoxy-Regression-Test:
757   - Add an 'Overwrite condition' directive to skip any matching tests before
758     it. As it has a global scope, using it is more convenient than clowning
759     around with the Ignore directive.
760   - Log to STDOUT instead of STDERR.
761   - Include the Privoxy version in the output.
762   - Various grammar and spelling corrections in documentation and code.
763   - Additional tests for range requests with filtering enabled.
764   - Tests with mostly invalid range request.
765   - Add a couple of hide-if-modified-since{} tests with different date formats.
766   - Cleaned up the format of the regression-tests.action file to match the
767     format of default.action.
768   - Remove the "Copyright" line from print_version(). When using --help, every
769     line of screen space matters and thus shouldn't be wasted on things the
770     user doesn't care about.
771
772 - Privoxy-Log-Parser:
773   - Improve the --statistics performance by skipping sanity checks for input
774     that shouldn't affect the results anyway. Add a --strict-checks option
775     that enables some of the checks again, just in case anybody cares.
776   - The distribution of client requests per connection is included in
777     the --statistic output.
778   - The --accept-unknown-messages option has been removed and the behavior
779     is now the default.
780   - Accept and (mostly) highlight new log messages introduced with
781     Privoxy 3.0.20.
782
783 - uagen:
784   - Bump generated Firefox version to 17.
785
786 - GNUmakefile improvements:
787   - The dok-tidy target no longer taints documents with a tidy-mark
788   - Change RA_MODE from 0664 to 0644. Suggested by Markus Dittrich in
789     #3505445.
790   - Remove tidy's clean flag as it changes the scope of attributes.
791     Link-specific colors end up being applied to all text. Reported by Adam
792     Piggott in #3569551.
793   - Leave it up to the user whether or not smart tags are inserted.
794   - Let w3m itself do the line wrapping for the config file. It works better
795     than fmt as it can honour pre tags causing less unintentional line breaks.
796   - Ditch a pointless '-r' passed to rm to delete files.
797   - The config-file target now requires less manual intervention and updates
798     the original config.
799   - Change WDUMP to generate ASCII. Add WDUMP_UTF8 to allow UTF-8 in the
800     AUTHORS file so the names are right.
801   - Stop pretending that lynx and links are supported for the documentation.
802
803 - configure improvements:
804   - On Haiku, do not pass -lpthread to the compiler. Haiku's pthreads
805     implementation is contained in its system library, libroot, so no
806     additional library needs to be searched.
807     Patch submitted by Simon South in #3564815.
808   - Additional Haiku-specific improvements. Disable checks intended for
809     multi-user systems as Haiku is presently single-user. Group Haiku-specific
810     settings in their own section, following the pattern for Solaris, OS/2 and
811     AmigaOS. Add additional library-related settings to remove the need for
812     providing configure with custom LDFLAGS.
813     Submitted by Simon South in #3574538.
814
815 *** Version 3.0.19 Stable ***
816
817 - Bug fixes:
818   - Prevent a segmentation fault when de-chunking buffered content.
819     It could be triggered by malicious web servers if Privoxy was
820     configured to filter the content and running on a platform
821     where SIZE_T_MAX isn't larger than UINT_MAX, which probably
822     includes most 32-bit systems. On those platforms, all Privoxy
823     versions before 3.0.19 appear to be affected.
824     To be on the safe side, this bug should be presumed to allow
825     code execution as proving that it doesn't seems unrealistic.
826   - Do not expect a response from the SOCKS4/4A server until it
827     got something to respond to. This regression was introduced
828     in 3.0.18 and prevented the SOCKS4/4A negotiation from working.
829     Reported by qqqqqw in #3459781.
830
831 - General improvements:
832   - Fix an off-by-one in an error message about connect failures.
833   - Use a GNUMakefile variable for the webserver root directory and
834     update the path. Sourceforge changed it which broke various
835     web-related targets.
836   - Update the CODE_STATUS description.
837
838 *** Version 3.0.18 Stable ***
839
840 - Bug fixes:
841   - If a generated redirect URL contains characters RFC 3986 doesn't
842     permit, they are (re)encoded. Not doing this makes Privoxy versions
843     from 3.0.5 to 3.0.17 susceptible to HTTP response splitting (CWE-113)
844     attacks if the +fast-redirects{check-decoded-url} action is used.
845   - Fix a logic bug that could cause Privoxy to reuse a server
846     socket after it got tainted by a server-header-tagger-induced
847     block that was triggered before the whole server response had
848     been read. If keep-alive was enabled and the request following
849     the blocked one was to the same host and using the same forwarding
850     settings, Privoxy would send it on the tainted server socket.
851     While the server would simply treat it as a pipelined request,
852     Privoxy would later on fail to properly parse the server's
853     response as it would try to parse the unread data from the
854     first response as server headers for the second one.
855     Regression introduced in 3.0.17.
856   - When implying keep-alive in client_connection(), remember that
857     the client didn't. Fixes a regression introduced in 3.0.13 that
858     would cause Privoxy to wait for additional client requests after
859     receiving a HTTP/1.1 request with "Connection: close" set
860     and connection sharing enabled.
861     With clients which terminates the client connection after detecting
862     that the whole body has been received it doesn't really matter,
863     but with clients that don't the connection would be kept open until
864     it timed out.
865   - Fix a subtle race condition between prepare_csp_for_next_request()
866     and sweep(). A thread preparing itself for the next client request
867     could briefly appear to be inactive.
868     If all other threads were already using more recent files,
869     the thread could get its files swept away under its feet.
870     So far this has only been reproduced while stress testing in
871     valgrind while touching action files in a loop. It's unlikely
872     to have caused any actual problems in the real world.
873   - Disable filters if SDCH compression is used unless filtering is forced.
874     If SDCH was combined with a supported compression algorithm, Privoxy
875     previously could try to decompress it and ditch the Content-Encoding
876     header even though the SDCH compression wasn't dealt with.
877     Reported by zebul666 in #3225863.
878   - Make a copy of the --user value and only mess with that when splitting
879     user and group. On some operating systems modifying the value directly
880     is reflected in the output of ps and friends and can be misleading.
881     Reported by zepard in #3292710.
882   - If forwarded-connect-retries is set, only retry if Privoxy is actually
883     forwarding the request. Previously direct connections would be retried
884     as well.
885   - Fixed a small memory leak when retrying connections with IPv6
886     support enabled.
887   - Remove an incorrect assertion in compile_dynamic_pcrs_job_list()
888     It could be triggered by a pcrs job with an invalid pcre
889     pattern (for example one that contains a lone quantifier).
890   - If the --user argument user[.group] contains a dot, always bail out
891     if no group has been specified. Previously the intended, but undocumented
892     (and apparently untested), behaviour was to try interpreting the whole
893     argument as user name, but the detection was flawed and checked for '0'
894     instead of '\0', thus merely preventing group names beginning with a zero.
895   - In html_code_map[], use a numeric character reference instead of '
896     which wasn't standardized before XHTML 1.0.
897   - Fix an invalid free when compiled with FEATURE_GRACEFUL_TERMINATION
898     and shut down through http://config.privoxy.org/die
899   - In get_actions(), fix the "temporary" backwards compatibility hack
900     to accept block actions without reason.
901     It also covered other actions that should be rejected as invalid.
902     Reported by Billy Crook.
903
904 - General improvements:
905   - Privoxy can (re)compress buffered content before delivering
906     it to the client. Disabled by default as most users wouldn't
907     benefit from it.
908   - The +fast-redirects{check-decoded-url} action checks URL
909     segments separately. If there are other parameters behind
910     the redirect URL, this makes it unnecessary to cut them off
911     by additionally using a +redirect{} pcrs command.
912     Initial patch submitted by Jamie Zawinski in #3429848.
913   - When loading action sections, verify that the referenced filters
914     exist. Currently missing filters only result in an error message,
915     but eventually the severity will be upgraded to fatal.
916   - Allow to bind to multiple separate addresses.
917     Patch set submitted by Petr Pisar in #3354485.
918   - Set socket_error to errno if connecting fails in rfc2553_connect_to().
919     Previously rejected direct connections could be incorrectly reported
920     as DNS issues if Privoxy was compiled with IPv6 support.
921   - Adjust url_code_map[] so spaces are replaced with %20 instead of '+'
922     While '+' can be used by client's submitting form data, this is not
923     actually what Privoxy is using the lookups for. This is more of a
924     cosmetic issue and doesn't fix any known problems.
925   - When compiled without FEATURE_FAST_REDIRECTS, do not silently
926     ignore +fast-redirect{} directives
927   - Added a workaround for GNU libc's strptime() reporting negative
928     year values when the parsed year is only specified with two digits.
929     On affected systems cookies with such a date would not be turned
930     into session cookies by the +session-cookies-only action.
931     Reported by Vaeinoe in #3403560
932   - Fixed bind failures with certain GNU libc versions if no non-loopback
933     IP address has been configured on the system. This is mainly an issue
934     if the system is using DHCP and Privoxy is started before the network
935     is completely configured.
936     Reported by Raphael Marichez in #3349356.
937     Additional insight from Petr Pisar.
938   - Privoxy log messages now use the ISO 8601 date format %Y-%m-%d.
939     It's only slightly longer than the old format, but contains
940     the full date including the year and allows sorting by date
941     (when grepping in multiple log files) without hassle.
942   - In get_last_url(), do not bother trying to decode URLs that do
943     not contain at least one '%' sign. It reduces the log noise and
944     a number of unnecessary memory allocations.
945   - In case of SOCKS5 failures, dump the socks response in the log message.
946   - Simplify the signal setup in main().
947   - Streamline socks5_connect() slightly.
948   - In socks5_connect(), require a complete socks response from the server.
949     Previously Privoxy didn't care how much data the server response
950     contained as long as the first two bytes contained the expected
951     values. While at it, shrink the buffer size so Privoxy can't read
952     more than a whole socks response.
953   - In chat(), do not bother to generate a client request in case of
954     direct CONNECT requests. It will not be used anyway.
955   - Reduce server_last_modified()'s stack size.
956   - Shorten get_http_time() by using strftime().
957   - Constify the known_http_methods pointers in unknown_method().
958   - Constify the time_formats pointers in parse_header_time().
959   - Constify the formerly_valid_actions pointers in action_used_to_be_valid().
960   - Introduce a GNUMakefile MAN_PAGE variable that defaults to privoxy.1.
961     The Debian package uses section 8 for the man page and this
962     should simplify the patch.
963   - Deduplicate the INADDR_NONE definition for Solaris by moving it to jbsockets.h
964   - In block_url(), ditch the obsolete workaround for ancient Netscape versions
965     that supposedly couldn't properly deal with status code 403.
966   - Remove a useless NULL pointer check in load_trustfile().
967   - Remove two useless NULL pointer checks in load_one_re_filterfile().
968   - Change url_code_map[] from an array of pointers to an array of arrays
969     It removes an unnecessary layer of indirection and on 64bit system reduces
970     the size of the binary a bit.
971   - Fix various typos. Fixes taken from Debian's 29_typos.dpatch by Roland Rosenfeld.
972   - Add a dok-tidy GNUMakefile target to clean up the messy HTML
973     generated by the other dok targets.
974   - GNUisms in the GNUMakefile have been removed.
975   - Change the HTTP version in static responses to 1.1
976   - Synced config.sub and config.guess with upstream
977     2011-11-11/386c7218162c145f5f9e1ff7f558a3fbb66c37c5.
978   - Add a dedicated function to parse the values of toggles. Reduces duplicated
979     code in load_config() and provides better error handling. Invalid or missing
980     toggle values are now a fatal error instead of being silently ignored.
981   - Terminate HTML lines in static error messages with \n instead of \r\n.
982   - Simplify cgi_error_unknown() a bit.
983   - In LogPutString(), don't bother looking at pszText when not
984     actually logging anything.
985   - Change ssplit()'s fourth parameter from int to size_t.
986     Fixes a clang complaint.
987   - Add a warning that the statistics currently can't be trusted.
988     Mention Privoxy-Log-Parser's --statistics option as
989     an alternative for the time being.
990   - In rfc2553_connect_to(), start setting cgi->error_message on error.
991   - Change the expected status code returned for http://p.p/die depending
992     on whether or not FEATURE_GRACEFUL_TERMINATION is available.
993   - In cgi_die(), mark the client connection for closing.
994     If the client will fetch the style sheet through another connection
995     it gets the main thread out of the accept() state and should thus
996     trigger the actual shutdown.
997   - Add a proper CGI message for cgi_die().
998   - Don't enforce a logical line length limit in read_config_line().
999   - Slightly refactor server_last_modified() to remove useless gmtime*() calls.
1000   - In get_content_type(), also recognize '.jpeg' as JPEG extension.
1001   - Add '.png' to the list of recognized file extensions in get_content_type().
1002   - In block_url(), consistently use the block reason "Request blocked by Privoxy"
1003     In two places the reason was "Request for blocked URL" which hides the
1004     fact that the request got blocked by Privoxy and isn't necessarily
1005     correct as the block may be due to tags.
1006   - In listen_loop(), reload the configuration files after accepting
1007     a new connection instead of before.
1008     Previously the first connection that arrived after a configuration
1009     change would still be handled with the old configuration.
1010   - In chat()'s receive-data loop, skip a client socket check if
1011     the socket will be written to right away anyway. This can
1012     increase the transfer speed for unfiltered content on fast
1013     network connections.
1014   - The socket timeout is used for SOCKS negotiations as well which
1015     previously couldn't timeout.
1016   - Don't keep the client connection alive if any configuration file
1017     changed since the time the connection came in. This is closer to
1018     Privoxy's behaviour before keep-alive support for client connection
1019     has been added and also less confusing in general.
1020   - Treat all Content-Type header values containing the pattern
1021     'script' as a sign of text. Reported by pribog in #3134970.
1022
1023 - Action file improvements:
1024   - Moved the site-specific block pattern section below the one for the
1025     generic patterns so for requests that are matched in both, the block
1026     reason for the domain is shown which is usually more useful than showing
1027     the one for the generic pattern.
1028   - Remove -prevent-compression from the fragile alias. It's no longer
1029     used anywhere by default and isn't known to break stuff anyway.
1030   - Add a (disabled) section to block various Facebook tracking URLs.
1031     Reported by Dan Stahlke in #3421764.
1032   - Add a (disabled) section to rewrite and redirect click-tracking
1033     URLs used on news.google.com.
1034     Reported by Dan Stahlke in #3421755.
1035   - Unblock linuxcounter.net/.
1036     Reported by Dan Stahlke in #3422612.
1037   - Block 'www91.intel.com/' which is used by Omniture.
1038     Reported by Adam Piggott in #3167370.
1039   - Disable the handle-as-empty-doc-returns-ok option and mark it as deprecated.
1040     Reminded by tceverling in #2790091.
1041   - Add ".ivwbox.de/" to the "Cross-site user tracking" section.
1042     Reported by Nettozahler in #3172525.
1043   - Unblock and fast-redirect ".awin1.com/.*=http://".
1044     Reported by Adam Piggott in #3170921.
1045   - Block "b.collective-media.net/".
1046   - Widen the Debian popcon exception to "qa.debian.org/popcon".
1047     Seen in Debian's 05_default_action.dpatch by Roland Rosenfeld.
1048   - Block ".gemius.pl/" which only seems to be used for user tracking.
1049     Reported by johnd16 in #3002731. Additional input from Lee and movax.
1050   - Disable banners-by-size filters for '.thinkgeek.com/'.
1051     The filter only seems to catch pictures of the inventory.
1052   - Block requests for 'go.idmnet.bbelements.com/please/showit/'.
1053     Reported by kacperdominik in #3372959.
1054   - Unblock adainitiative.org/.
1055   - Add a fast-redirects exception for '.googleusercontent.com/.*=cache'.
1056   - Add a fast-redirects exception for webcache.googleusercontent.com/.
1057   - Unblock http://adassier.wordpress.com/ and http://adassier.files.wordpress.com/.
1058
1059 - Filter file improvements:
1060   - Let the yahoo filter hide '.ads'.
1061   - Let the msn filter hide overlay ads for Facebook 'likes' in search
1062     results and elements with the id 's_notf_div'. They only seem to be
1063     used to advertise site 'enhancements'.
1064   - Let the js-events filter additionally disarm setInterval().
1065     Suggested by dg1727 in #3423775.
1066
1067 - Documentation improvements:
1068   - Clarify the effect of compiling Privoxy with zlib support.
1069     Suggested by dg1727 in #3423782.
1070   - Point out that the SourceForge messaging system works like a black
1071     hole and should thus not be used to contact individual developers.
1072   - Mention some of the problems one can experience when not explicitly
1073     configuring an IP addresses as listen address.
1074   - Explicitly mention that hostnames can be used instead of IP addresses
1075     for the listen-address, that only the first address returned will be
1076     used and what happens if the address is invalid.
1077     Requested by Calestyo in #3302213.
1078
1079 - Log message improvements:
1080   - If only the server connection is kept alive, do not pretend to
1081     wait for a new client request.
1082   - Remove a superfluous log message in forget_connection().
1083   - In chat(), properly report missing server responses as such
1084     instead of calling them empty.
1085   - In forwarded_connect(), fix a log message nobody should ever see.
1086   - Fix a log message in socks5_connect(), a failed write operation
1087     was logged as failed read operation.
1088   - Let load_one_actions_file() properly complain about a missing
1089     '{' at the beginning of the file.
1090     Simply stating that a line is invalid isn't particularly helpful.
1091   - Do not claim to listen on a socket until Privoxy actually does.
1092     Patch submitted by Petr Pisar #3354485
1093   - Prevent a duplicated LOG_LEVEL_CLF message when sending out
1094     the "no-server-data" response.
1095   - Also log the client socket when dropping a connection.
1096   - Include the destination host in the 'Request ... marked for
1097     blocking. limit-connect{...} doesn't allow CONNECT ...' message
1098     Patch submitted by Saperski in #3296250.
1099   - Prevent a duplicated log message if none of the resolved IP
1100     addresses were reachable.
1101   - In connect_to(), do not pretend to retry if forwarded-connect-retries
1102     is zero or unset.
1103   - When a specified user or group can't be found, put the name in
1104     single-quotes when logging it.
1105   - In rfc2553_connect_to(), explain getnameinfo() errors better.
1106   - Remove a useless log message in chat().
1107   - When retrying to connect, also log the maximum number of connection
1108     attempts.
1109   - Rephrase a log message in compile_dynamic_pcrs_job_list().
1110     Divide the error code and its meaning with a colon. Call the pcrs
1111     job dynamic and not the filter. Filters may contain dynamic and
1112     non-dynamic pcrs jobs at the same time. Only mention the name of
1113     the filter or tagger, but don't claim it's a filter when it could
1114     be a tagger.
1115   - In a fatal error message in load_one_actions_file(), cover both
1116     URL and TAG patterns.
1117   - In pcrs_strerror(), properly report unknown positive error code
1118     values as such. Previously they were handled like 0 (no error).
1119   - In compile_dynamic_pcrs_job_list(), also log the actual error code as
1120     pcrs_strerror() doesn't handle all errors reported by pcre.
1121   - Don't bother trying to continue chatting if the client didn't ask for it.
1122     Reduces log noise a bit.
1123   - Make two fatal error message in load_one_actions_file() more descriptive.
1124   - In cgi_send_user_manual(), log when rejecting a file name due to '/' or '..'.
1125   - In load_file(), log a message if opening a file failed.
1126     The CGI error message alone isn't too helpful.
1127   - In connection_destination_matches(), improve two log messages
1128     to help understand why the destinations don't match.
1129   - Rephrase a log message in serve(). Client request arrival
1130     should be differentiated from closed client connections now.
1131   - In serve(), log if a client connection isn't reused due to a
1132     configuration file change.
1133   - Let mark_server_socket_tainted() always mark the server socket tainted,
1134     just don't talk about it in cases where it has no effect. It doesn't change
1135     Privoxy's behaviour, but makes understanding the log file easier.
1136
1137 - configure:
1138   - Added a --disable-ipv6-support switch for platforms where support
1139     is detected but doesn't actually work.
1140   - Do not check for the existence of strerror() and memmove() twice
1141   - Remove a useless test for setpgrp(2). Privoxy doesn't need it and
1142     it can cause problems when cross-compiling.
1143   - Rename the --disable-acl-files switch to --disable-acl-support.
1144     Since about 2001, ACL directives are specified in the standard
1145     config file.
1146   - Update the URL of the 'Removing outdated PCRE version after the
1147     next stable release' posting. The old URL stopped working after
1148     one of SF's recent site "optimizations". Reported by Han Liu.
1149
1150 - Privoxy-Regression-Test:
1151   - Added --shuffle-tests option to increase the chances of detection race conditions.
1152   - Added a --local-test-file option that allows to use Privoxy-Regression-Test without Privoxy.
1153   - Added tests for missing socks4 and socks4a forwarders.
1154   - The --privoxy-address option now works with IPv6 addresses containing brackets, too.
1155   - Perform limited sanity checks for parameters that are supposed to have numerical values.
1156   - Added a --sleep-time option to specify a number of seconds to
1157     sleep between tests, defaults to 0.
1158   - Disable the range-requests tagger for tests that break if it's enabled.
1159   - Log messages use the ISO 8601 date format %Y-%m-%d.
1160   - Fix spelling in two error messages.
1161   - In the --help output, include a list of supported tests and their default levels.
1162   - Adjust the tests to properly deal with FEATURE_TOGGLE being disabled.
1163
1164 - Privoxy-Log-Parser:
1165   - Perform limited sanity checks for command line parameters that
1166     are supposed to have numerical values.
1167   - Implement a --unbreak-lines-only option to try to revert MUA breakage.
1168   - Accept and highlight: Added header: Content-Encoding: deflate
1169   - Accept and highlight: Compressed content from 29258 to 8630 bytes.
1170   - Accept and highlight: Client request arrived in time on socket 21.
1171   - Highlight: Didn't receive data in time: a.fsdn.com:443
1172   - Accept log messages with ISO 8601 time stamps, too.
1173
1174 - uagen:
1175   - Bump generated Firefox version to 8.0.
1176   - Only randomize the release date if the new --randomize-release-date
1177     option is enabled. Firefox versions after 4 use a fixed date string
1178     without meaning.
1179
1180 *** Version 3.0.17 Stable ***
1181
1182 - Fixed last-chunk-detection for responses where the body was small
1183   enough to be read with the headers, causing Privoxy to wait for the
1184   end of the content until the server closed the connection or the
1185   request timed out. Reported by "Karsten" in #3028326.
1186 - Responses with status code 204 weren't properly detected as body-less
1187   like RFC2616 mandates. Like the previous bug, this caused Privoxy to
1188   wait for the end of the content until the server closed the connection
1189   or the request timed out. Fixes #3022042 and #3025553, reported by a
1190   user with no visible name. Most likely also fixes a bunch of other
1191   AJAX-related problem reports that got closed in the past due to
1192   insufficient information and lack of feedback.
1193 - Fixed an ACL bug that made it impossible to build a blacklist.
1194   Usually the ACL directives are used in a whitelist, which worked
1195   as expected, but blacklisting is still useful for public proxies
1196   where one only needs to deny known abusers access.
1197 - Added LOG_LEVEL_RECEIVED to log the not-yet-parsed data read from the
1198   network. This should make debugging various parsing issues a lot easier.
1199 - The IPv6 code is enabled by default on Windows versions that support it.
1200   Patch submitted by oCameLo in #2942729.
1201 - In mingw32 versions, the user.filter file is reachable through the
1202   GUI, just like default.filter is. Feature request 3040263.
1203 - Added the configure option --enable-large-file-support to set a few
1204   defines that are required by platforms like GNU/Linux to support files
1205   larger then 2GB. Mainly interesting for users without proper logfile
1206   management.
1207 - Logging with "debug 16" no longer stops at the first nul byte which is
1208   pretty useless. Non-printable characters are replaced with their hex value
1209   so the result can't span multiple lines making parsing them harder then
1210   necessary.
1211 - Privoxy logs when reading an action, filter or trust file.
1212 - Fixed incorrect regression test markup which caused a test in
1213   3.0.16 to fail while Privoxy itself was working correctly.
1214   While Privoxy accepts hide-referer, too, the action name is actually
1215   hide-referrer which is also the name used one the final results page,
1216   where the test expected the alias.
1217
1218 - CGI interface improvements:
1219   - In finish_http_response(), continue to add the 'Connection: close'
1220     header if the client connection will not be kept alive.
1221     Anonymously pointed out in #2987454.
1222   - Apostrophes in block messages no longer cause parse errors
1223     when the blocked page is viewed with JavaScript enabled.
1224     Reported by dg1727 in #3062296.
1225   - Fix a bunch of anchors that used underscores instead of dashes.
1226   - Allow to keep the client connection alive after crunching the previous request.
1227     Already opened server connections can be kept alive, too.
1228   - In cgi_show_url_info(), don't forget to prefix URLs that only contain
1229     http:// or https:// in the path. Fixes #2975765 reported by Adam Piggott.
1230   - Show the 404 CGI page if cgi_send_user_manual() is called while
1231     local user manual delivery is disabled.
1232
1233 - Action file improvements:
1234   - Enable user.filter by default. Suggested by David White in #3001830.
1235   - Block .sitestat.com/. Reported by johnd16 in #3002725.
1236   - Block .atemda.com/. Reported by johnd16 in #3002723.
1237   - Block js.adlink.net/. Reported by johnd16 in #3002720.
1238   - Block .analytics.yahoo.com/. Reported by johnd16 in #3002713.
1239   - Block sb.scorecardresearch.com, too. Reported by dg1727 in #2992652.
1240   - Fix problems noticed on Yahoo mail and news pages.
1241   - Remove the too broad yahoo section, only keeping the
1242     fast-redirects exception as discussed on ijbswa-devel@.
1243   - Don't block adesklets.sourceforge.net. Reported in #2974204.
1244   - Block chartbeat ping tracking. Reported in #2975895.
1245   - Tag CSS and image requests with cautious and medium settings, too.
1246   - Don't handle view.atdmt.com as image. It's used for click-throughs
1247     so users should be able to "go there anyway".
1248     Reported by Adam Piggott in #2975927.
1249   - Also let the refresh-tags filter remove invalid refresh tags where
1250     the 'url=' part is missing. Anonymously reported in #2986382.
1251     While at it, update the description to mention the fact that only
1252     refresh tags with refresh times above 9 seconds are covered.
1253   - javascript needs to be blocked with +handle-as-empty-document to
1254     work around Firefox bug 492459.  So move .js blockers from
1255     +block{Might be a web-bug.} -handle-as-empty-document to
1256     +block{Might be a web-bug.} +handle-as-empty-document.
1257   - ijbswa-Feature Requests-3006719 - Block 160x578 Banners.
1258   - Block another omniture tracking domain.
1259   - Added a range-requests tagger.
1260   - Added two sections to get Flickr's Ajax interface working with
1261     default pre-settings. If you change the configuration to block
1262     cookies by default, you'll need additional exceptions.
1263     Reported by Mathias Homann in #3101419 and by Patrick on ijbswa-users@.
1264
1265 - Documentation improvements:
1266   - Explicitly mention how to match all URLs.
1267   - Consistently recommend socks5 in the Tor FAQ entry and mention
1268     its advantage compared to socks4a. Reported by David in #2960129.
1269   - Slightly improve the explanation of why filtering may appear
1270     slower than it is.
1271   - Grammar fixes for the ACL section.
1272   - Fixed a link to the 'intercepting' entry and add another one.
1273   - Rename the 'Other' section to 'Mailing Lists' and reword it
1274     to make it clear that nobody is forced to use the trackers
1275   - Note that 'anonymously' posting on the trackers may not always
1276     be possible.
1277   - Suggest to enable debug 32768 when suspecting parsing problems.
1278
1279 - Privoxy-Log-Parser improvements:
1280   - Gather statistics for ressources, methods, and HTTP versions
1281     used by the client.
1282   - Also gather statistics for blocked and redirected requests.
1283   - Provide the percentage of keep-alive offers the client accepted.
1284   - Add a --url-statistics-threshold option.
1285   - Add a --host-statistics-threshold option to also gather
1286     statistics about how many request where made per host.
1287   - Fix a bug in handle_loglevel_header() where a 'scan: ' got lost.
1288   - Add a --shorten-thread-ids option to replace the thread id with
1289     a decimal number.
1290   - Accept and ignore: Looks like we got the last chunk together
1291     with the server headers. We better stop reading.
1292   - Accept and ignore: Continue hack in da house.
1293   - Accept and higlight: Rejecting connection from 10.0.0.2.
1294     Maximum number of connections reached.
1295   - Accept and highlight: Loading actions file: /usr/local/etc/privoxy/default.action
1296   - Accept and highlight: Loading filter file: /usr/local/etc/privoxy/default.filter
1297   - Accept and highlight: Killed all-caps Host header line: HOST: bestproxydb.com
1298   - Accept and highlight: Reducing expected bytes to 0. Marking
1299     the server socket tainted after throwing 4 bytes away.
1300   - Accept: Merged multiple header lines to: 'X-FORWARDED-PROTO: http X-HOST: 127.0.0.1'
1301
1302 - Code cleanups:
1303   - Remove the next member from the client_state struct. Only the main
1304     thread needs access to all client states so give it its own struct.
1305   - Garbage-collect request_contains_null_bytes().
1306   - Ditch redundant code in unload_configfile().
1307   - Ditch LogGetURLUnderCursor() which doesn't seem to be used anywhere.
1308   - In write_socket(), remove the write-only variable write_len in
1309     an ifdef __OS2__ block. Spotted by cppcheck.
1310   - In connect_to(), don't declare the variable 'flags' on OS/2 where
1311     it isn't used. Spotted by cppcheck.
1312   - Limit the scope of various variables. Spotted by cppcheck.
1313   - In add_to_iob(), turn an interestingly looking for loop into a
1314     boring while loop.
1315   - Code cleanup in preparation for external filters.
1316   - In listen_loop(), mention the socket on which we accepted the
1317     connection, not just the source IP address.
1318   - In write_socket(), also log the socket we're writing to.
1319   - In log_error(), assert that escaped characters get logged
1320     completely or not at all.
1321   - In log_error(), assert that ival and sval have reasonable values.
1322     There's no reason not to abort() if they don't.
1323   - Remove an incorrect cgi_error_unknown() call in a
1324     cannot-happen-situation in send_crunch_response().
1325   - Clean up white-space in http_response definition and
1326     move the crunch_reason to the beginning.
1327   - Turn http_response.reason into an enum and rename it
1328     to http_response.crunch_reason.
1329   - Silence a 'gcc (Debian 4.3.2-1.1) 4.3.2' warning on i686 GNU/Linux.
1330   - Fix white-space in a log message in remove_chunked_transfer_coding().
1331     While at it, add a note that the message doesn't seem to
1332     be entirely correct and should be improved later on.
1333
1334 - GNUmakefile improvements:
1335   - Use $(SSH) instead of ssh, so one only needs to specify a username once.
1336   - Removed references to the action feedback thingy that hasn't been
1337     working for years.
1338   - Consistently use shell.sourceforge.net instead of shell.sf.net so
1339     one doesn't need to check server fingerprints twice.
1340   - Removed GNUisms in the webserver and webactions targets so they
1341     work with standard tar.
1342
1343 *** Version 3.0.16 Stable ***
1344
1345 - Added the config file option handle-as-empty-doc-returns-ok to
1346   work around Firefox bug #492459, which causes Firefox to hang
1347   if JavaScripts are blocked in certain situations. The option is
1348   enabled in the default config file.
1349 - Added the config file option default-server-timeout to control the
1350   assumed default server timeout. Since Privoxy no longer returns
1351   an error message for connection resets on reused client connections,
1352   assuming larger server timeout values appears to actually work
1353   pretty well as long as connections aren't shared.
1354 - Added optional support for FreeBSD's accf_http(9). Use the
1355   configure option --enable-accept-filter to enable it.
1356 - Added fancier Privoxy icons for win32. Contributed by Jeff H.
1357 - In daemon mode, fd 0, 1 and 2 are bound to /dev/null.
1358 - Resolve localhost using whatever address family the operating
1359   system feels like. Previous betas would try to use IPv4 as this
1360   is what most users expect, but this didn't work reliably on
1361   GNU/Linux systems.
1362 - In the action lists on CGI pages, actions and their parameters are
1363   no longer separated with a space. The action file parser doesn't
1364   actually allow this and will throw an invalid syntax error if actions
1365   and parameters in the action files are separated. Not adding the
1366   spaces means copy and pasting CGI output into the action files works.
1367 - The default keep-alive timeout has been reduced to 5 seconds to work
1368   around hangs in clients that treat the proxy like any other host and
1369   stop allowing any new connections if the "maximum number of
1370   connections per host" is reached.
1371 - Several webbug URLs that look like they are leading to images are now
1372   blocked as image instead of empty documents. Doing the latter causes
1373   WebKit-based clients to show a "missing image" icon which may mess up
1374   the layout.
1375 - The no-such-domain template is used for DNS resolution
1376   problems with FEATURE_IPV6_SUPPORT enabled. Previously the
1377   connect-failed template was used. Reported by 'zebul666'.
1378 - Accepts quoted expiration dates even though RFC 2109 10.1.2
1379   doesn't seem to allow them. Reported anonymously.
1380 - Don't try to forget connections if connection sharing is disabled.
1381   This wasn't a real problem but caused an unnecessary log message.
1382 - The still undocumented --enable-extended-host-patterns configure
1383   option has a better description.
1384 - Fixed an error message that would claim a write to the server
1385   failed when actually writing to the client failed.
1386 - Log the crunch reason before trying to write to the client.
1387   The log is easier to read that way.
1388 - Several log messages about client connections also mention
1389   the socket number.
1390 - handle-as-empty-document no longer depends on the image blocking
1391   code being enabled.
1392 - Privoxy-Log-Parser is roughly 40% faster in highlighting mode.
1393 - uagen, a Firefox User-Agent generator for Privoxy and Mozilla
1394   browsers has been imported and is available in the tarball's
1395   tools directory.
1396 - The scripts in the tools directory treat unknown parameters
1397   as fatal errors.
1398
1399 *** Version 3.0.15 beta ***
1400
1401 - In case of missing server data, no error message is send to the
1402   client if the request arrived on a reused connection. The client
1403   is then supposed to silently retry the request without bothering
1404   the user. This should significantly reduce the frequency of the
1405   "No server or forwarder data received" error message many users
1406   reported.
1407 - More reliable detection of prematurely closed client sockets
1408   with keep-alive enabled.
1409 - FEATURE_CONNECTION_KEEP_ALIVE is decoupled from
1410   FEATURE_CONNECTION_SHARING and now available on
1411   all platforms.
1412 - Improved handling of POST requests on reused connections.
1413   Should fix problems with stalled connections after submitting
1414   form data with some browser configurations.
1415 - Fixed various latency calculation issues.
1416 - Allows the client to pass NTLM authentication requests to a
1417   forwarding proxy. This was already assumed and hinted to work
1418   in 3.0.13 beta but actually didn't. Now it's confirmed to work
1419   with IE, Firefox and Chrome.
1420   Thanks to Francois Botha and Wan-Teh Chang
1421 - Fixed a calculation problem if receiving the server headers
1422   takes more than two reads, that could cause Privoxy to terminate
1423   the connection prematurely. Reported by Oliver.
1424 - Compiles again on platforms such as OpenBSD and systems
1425   using earlier glibc version that don't support AI_ADDRCONFIG.
1426   Anonymously submitted in #2872591.
1427 - A bunch of MS VC project files and Suse and Redhat RPM spec
1428   files have been removed as they were no longer maintained for
1429   quite some time.
1430 - Overly long action lines are properly rejected with a proper
1431   error message. Previously they would be either rejected as
1432   invalid or cause a core dump through abort().
1433 - Already timed-out connections are no longer temporarily remembered.
1434   They weren't reused anyway, but wasted a socket slot.
1435 - len refers to the number of bytes actually read which might
1436   differ from the ones received. Adjust log messages accordingly.
1437 - The optional JavaScript on the CGI page uses encodeURIComponent()
1438   instead of escape() which doesn't encode all characters that matter.
1439   Anonymously reported in #2832722.
1440 - Fix gcc45 warnings in decompress_iob().
1441 - Various log message improvements.
1442 - Privoxy-Regression-Test supports redirect tests.
1443 - Privoxy-Log-Parser can gather some connection statistics.
1444
1445 *** Version 3.0.14 beta ***
1446
1447 - The latency is taken into account when evaluating whether or not to
1448   reuse a connection. This should significantly reduce the number of
1449   connections problems several users reported.
1450 - If the server doesn't specify how long the connection stays alive,
1451   Privoxy errs on the safe side of caution and assumes it's only a second.
1452 - The error pages for connection timeouts or missing server data use a
1453   Last-Modified date in the past. Retry attempts are detected and Privoxy
1454   removes the If-Modified-Since header to prevent the server from responding
1455   with status code 304 in which case the client would reuse the error message.
1456 - Setting keep-alive-timeout to 0 disables keep-alive support. Previously
1457   Privoxy would claim to allow persistence but not reuse the connection.
1458 - Pipelined requests are less likely to be mistaken for the request
1459   body of the previous request. Note that Privoxy still has no real
1460   pipeline support and will either serialize pipelined requests or
1461   drop them in which case the client has to resent them.
1462 - Fixed a crash on some Windows versions when header randomization
1463   is enabled and the date couldn't be parsed.
1464 - Privoxy's keep-alive timeout for the current connection is reduced
1465   to the one specified in the client's Keep-Alive header.
1466 - For HTTP/1.1 requests, Privoxy implies keep-alive support by not
1467   setting any Connection header instead of using 'Connection: keep-alive'.
1468 - If the socket isn't reusable, Privoxy doesn't temporarily waste
1469   a socket slot to remember the connection.
1470 - If keep-alive support is disabled but compiled in, the client's
1471   Keep-Alive header is removed.
1472 - Fixed a bug on mingw32 where downloading large files failed if
1473   keep-alive support was enabled.
1474 - Fixed a bug that (at least theoretically) could cause log
1475   timestamps to be occasionally off by about a second.
1476 - No Proxy-Connection header if added if there already is one.
1477 - The configure script respects the $PATH variable when searching
1478   for groups and id.
1479
1480 *** Version 3.0.13 beta ***
1481
1482 - Added IPv6 support. Thanks to Petr Pisar who not only provided
1483   the initial patch but also helped a lot with the integration.
1484 - Added client-side keep-alive support.
1485 - The connection sharing code is only used if the connection-sharing
1486   option is enabled.
1487 - The max-client-connections option has been added to restrict
1488   the number of client connections below a value enforced by
1489   the operating system.
1490 - Fixed a regression reintroduced in 3.0.12 that could cause
1491   crashes on mingw32 if header date randomization was enabled.
1492 - Compressed content with extra fields couldn't be decompressed
1493   and would get passed to the client unfiltered. This problem
1494   has only be detected through statical analysis with clang as
1495   nobody seems to be using extra fields anyway.
1496 - If the server resets the Connection after sending only the headers
1497   Privoxy forwards what it got to the client. Previously Privoxy
1498   would deliver an error message instead.
1499 - Error messages in case of connection timeouts use the right
1500   HTTP status code.
1501 - If spawning a child to handle a request fails, the client
1502   gets an error message and Privoxy continues to listen for
1503   new requests right away.
1504 - The error messages in case of server-connection timeouts or
1505   prematurely closed server connections are now template-based.
1506 - If zlib support isn't compiled in, Privoxy no longer tries to
1507   filter compressed content unless explicitly asked to do so.
1508 - In case of connections that are denied based on ACL directives,
1509   the memory used for the client IP is no longer leaked.
1510 - Fixed another small memory leak if the client request times out
1511   while waiting for client headers other than the request line.
1512 - The client socket is kept open until the server socket has
1513   been marked as unused. This should increase the chances that
1514   the still-open connection will be reused for the client's next
1515   request to the same destination. Note that this only matters
1516   if connection-sharing is enabled.
1517 - A TODO list has been added to the source tarball to give potential
1518   volunteers a better idea of what the current goals are. Donations
1519   are still welcome too: http://www.privoxy.org/faq/general.html#DONATE
1520
1521 *** Version 3.0.12 ***
1522
1523 - The socket-timeout option now also works on platforms whose
1524   select() implementation modifies the timeout structure.
1525   Previously the timeout was triggered even if the connection
1526   didn't stall. Reported by cyberpatrol.
1527 - The Connection: keep-alive code properly deals with files
1528   larger than 2GB. Previously the connection was closed too
1529   early.
1530 - The content length for files above 2GB is logged correctly.
1531 - The user-manual directive on the show-status page links to
1532   the documentation location specified with the directive,
1533   not to the Privoxy website.
1534 - When running in daemon mode, Privoxy doesn't log anything
1535   to the console unless there are errors before the logfile
1536   has been opened.
1537 - The show-status page prints warnings about invalid directives
1538   on the same line as the directives themselves.
1539 - Fixed several justified (but harmless) compiler warnings,
1540   mostly on 64 bit platforms.
1541 - The mingw32 version explicitly requests the default charset
1542   to prevent display problems with some fonts available on more
1543   recent Windows versions. Patch by Burberry.
1544 - The mingw32 version uses the Privoxy icon in the alt-tab
1545   windows. Patch by Burberry.
1546 - The timestamp and the thread id is omitted in the "Fatal error"
1547   message box on mingw32.
1548 - Fixed two related mingw32-only buffer overflows. Triggering
1549   them required control over the configuration file, therefore
1550   this isn't seen as a security issue.
1551 - In verbose mode, or if the new option --show-skipped-tests
1552   is used, Privoxy-Regression-Test logs skipped tests and the
1553   skip reason.
1554
1555 *** Version 3.0.11 ***
1556
1557 - On most platforms, outgoing connections can be kept alive and
1558   reused if the server supports it. Whether or not this improves
1559   things depends on the connection.
1560 - When dropping privileges, membership in supplementary groups
1561   is given up as well. Not doing that can lead to Privoxy running
1562   with more rights than necessary and violates the principle of
1563   least privilege. Users of the --user option are advised to update.
1564   Thanks to Matthias Drochner for reporting the problem,
1565   providing the initial patch and testing the final version.
1566 - Passing invalid users or groups with the --user option
1567   didn't lead to program exit. Regression introduced in 3.0.7.
1568 - The match all section has been moved from default.action
1569   to a new file called match-all.action. As a result the
1570   default.action no longer needs to be touched by the user
1571   and can be safely overwritten by updates.
1572 - The standard.action file has been removed. Its content
1573   is now part of the default.action file.
1574 - In some situations the logged content length was slightly too low.
1575 - Crunched requests are logged with their own log level.
1576   If you used "debug 1" in the past, you'll probably want
1577   to additionally enable "debug 1024", otherwise only passed
1578   requests will be logged. If you only care about crunched
1579   requests, simply replace "debug 1" with "debug 1024".
1580 - The crunch reason has been moved to the beginning of the
1581   crunch message. For HTTP URLs, the protocol is logged as well.
1582 - Log messages are shortened by printing the thread id on its
1583   own (as opposed to putting it inside the string "Privoxy()").
1584 - The config option socket-timeout has been added to control
1585   the time Privoxy waits for data to arrive on a socket.
1586 - Support for remote toggling is controlled by the configure
1587   option --disable-toggle only. In previous versions it also
1588   depended on the action editor and thus configuring with the
1589   --disable-editor option would disable remote toggling support
1590   as well.
1591 - Requests with invalid HTTP versions are rejected.
1592 - The template symbol @date@ can be used to include a date(1)-like
1593   time string. Initial patch submitted by Endre Szabo.
1594 - Responses from shoutcast servers are accepted again.
1595   Problem reported and fix suggested by Stefan.
1596 - The hide-forwarded-for-headers action has been replaced with
1597   the change-x-forwarded-for{} action which can also be used to
1598   add X-Forwarded-For headers. The latter functionality already
1599   existed in Privoxy versions prior to 3.0.7 but has been removed
1600   as it was often used unintentionally (by not using the
1601   hide-forwarded-for-headers action).
1602 - A "clear log" view option was added to the mingw32 version
1603   to clear out all of the lines in the Privoxy log window.
1604   Based on a patch submitted by T Ford.
1605 - The mingw32 version uses "critical sections" now, which prevents
1606   log message corruption under load. As a side effect, the
1607   "no thread-safe PRNG" warning could be removed as well.
1608 - The mingw32 version's task bar icon is crossed out and
1609   the color changed to gray if Privoxy is toggled off.
1610
1611 *** Version 3.0.10 ***
1612
1613 - Ordinary configuration file changes no longer cause program
1614   termination on OS/2 if the name of the logfile hasn't been
1615   changed as well. This regression probably crept in with the
1616   logging improvements in 3.0.7. Reported by Maynard.
1617 - The img-reorder filter is less likely to mess up JavaScript code in
1618   img tags. Problem and solution reported by Glenn Washburn in #2014552.
1619 - The source tar ball now includes Privoxy-Log-Parser,
1620   a syntax-highlighter for Privoxy logs. For fancy screenshots see:
1621   http://www.fabiankeil.de/sourcecode/privoxy-log-parser/
1622   Documentation is available through perldoc(1).
1623
1624 *** Version 3.0.9 beta ***
1625
1626 - Added SOCKS5 support (with address resolution done by
1627   the SOCKS5 server). Patch provided by Eric M. Hopper.
1628 - The "blocked" CGI pages include a block reason that was
1629   provided as argument to the last-applying block action.
1630 - If enable-edit-actions is disabled (the default since 3.0.7 beta)
1631   the show-status page hides the edit buttons and explains why.
1632   Previously the user would get the "this feature has been disabled"
1633   message after using the edit button.
1634 - Forbidden CONNECT requests are treated like blocks by default.
1635   The now-pointless treat-forbidden-connects-like-blocks action
1636   has been removed.
1637 - Not enabling limit-connect now allows CONNECT requests to all ports.
1638   In previous versions it would only allow CONNECT requests to port 443.
1639   Use +limit-connect{443} if you think you need the old default behaviour.
1640 - The CGI editor gets turned off after three edit requests with invalid
1641   file modification timestamps. This makes life harder for attackers
1642   who can leverage browser bugs to send fake Referers and intend to
1643   brute-force edit URLs.
1644 - Action settings for multiple patterns in the same section are
1645   shared in memory. As a result these sections take up less space
1646   (and are loaded slightly faster). Problem reported by Franz Schwartau.
1647 - Linear white space in HTTP headers will be normalized to single
1648   spaces before parsing the header's content, headers split across
1649   multiple lines get merged first. This should prevent problems like:
1650    * letting the session-cookies-only action slip
1651      some Cookies through unmodified,
1652    * only suppressing the first line of a header,
1653      thus creating an invalid one, and
1654    * to incorrectly block headers with valid timestamps
1655      that weren't properly recognized.
1656   Headers that could trigger these problems are unlikely to appear
1657   in "normal" web traffic, but could be intentionally generated to
1658   fool some of Privoxy's header parsers.
1659 - Host information is gathered outside the main thread so it's less
1660   likely to delay other incoming connections if the host is misconfigured.
1661 - New config option "hostname" to use a hostname other than
1662   the one returned by the operating system. Useful to speed-up responses
1663   for CGI requests on misconfigured systems. Requested by Max Khon.
1664 - The CGI editor supports the "disable all filters of this type"
1665   directives "-client-header-filter", "-server-header-filter",
1666   "-client-header-tagger" and "-server-header-tagger".
1667 - Fixed false-positives with the link-by-url filter and URLs that
1668   contain the pattern "/jump/".
1669 - The less-download-windows filter no longer messes
1670   "Content-Type: application/x-shockwave-flash" headers up.
1671 - In the show-url-info page's "Final results" section active and
1672   inactive actions are listed separately. Patch provided by Lee.
1673 - The GNUmakefile supports the DESTDIR variable. Patch for
1674   the install target submitted by Radoslaw Zielinski.
1675 - Embedding the content of configuration files in the show-status
1676   page is significantly faster now. For a largish action file (1 MB)
1677   a speedup of about 2450 times has been measured. This is mostly
1678   interesting if you are using large action files or regularly use
1679   Privoxy-Regression-Test while running Privoxy through Valgrind,
1680   for stock configuration files it doesn't really matter.
1681 - If zlib support is unavailable and there are content
1682   filters active but the prevent-compression action is disabled,
1683   the show-url-info page includes a warning that compression
1684   might prevent filtering.
1685 - The show-url-info page provides an OpenSearch Description that
1686   allows to access the page through browser search plugins.
1687 - Custom client-header filters that rewrite the request line
1688   incorrectly no longer cause Privoxy to crash. Reported by din_a4.
1689 - The obsolete kill-popups action has been removed as the
1690   PCRS-based popup filters can do the same and are slightly
1691   less unreliable.
1692 - The inspect-jpegs action has been removed.
1693 - The send-wafer and send-vanilla-wafer actions have been removed.
1694   They weren't particular useful and their behaviour could be emulated
1695   with add-header anyway.
1696 - Privoxy-Regression-Test has been significantly improved.
1697 - Most sections in the default.action file contain tests for
1698   Privoxy-Regression-Test to verify that they are working as intended.
1699 - Parts of Privoxy have been refactored to increase maintainability.
1700 - Building with zlib (if available) is done by default.
1701
1702 *** Version 3.0.8 ***
1703
1704 - Fixed a small memory leak when listen-address only specifies the port.
1705 - The source tar balls now include Privoxy-Regression-Test which
1706   (upon other things) can be used to automatically detect some
1707   packaging problems. Packagers are welcome to give it a try.
1708 - Reverted a change in 3.0.7 that caused path patterns to be checked
1709   even if the host pattern match already failed. While this doesn't
1710   noticeable affect the performance, it makes it less likely to run
1711   out of stack space with overly-complex path patterns the user might
1712   have added.
1713 - Updated the msn, yahoo and google filters to work as advertised again.
1714 - The warning message shown by the show-status CGI page is easier to
1715   understand. Previously it wasn't clear that the error message
1716   is shown below the invalid directive. (Reported by Lee)
1717 - When regenerating Content-Disposition headers the more common
1718   spelling is used for the name. Previously it was written without caps.
1719 - Less confusing log message if the content type isn't overwritten
1720   because force-text-type wasn't used but the old type doesn't look
1721   like content that would be filtered normally.
1722 - Better log messages if the user tries to execute filters that
1723   don't exist.
1724 - Treat the non-standard Request-Range headers like standard range
1725   headers and suppress them if content filtering is enabled.
1726 - Prevent the log messages for CONNECT requests to unacceptable
1727   ports from printing the limit-connect argument as [null] if
1728   limit-connect hasn't been explicitly enabled.
1729 - Don't disable the mingw32 log window if the logfile directive
1730   isn't used. While it was an intentional change in 3.0.7 at least
1731   one user perceived it as a regression and the same effect can
1732   be achieved by disabling all debug directives.
1733 - Fixed two minor problems related to the win32 build process: a css
1734   file was not being in the installer and the trustfile comment in the
1735   config.txt referenced a nonexisting file
1736 - Minor documentation fixes.
1737
1738 *** Version 3.0.7 beta ***
1739
1740 - Added zlib support to filter content with gzip and deflate
1741   encoding. (Patch provided by Wil Mahan)
1742 - Dedicated filters and actions are used for header filtering.
1743   "filter-client-headers" and "filter-client-headers" are no longer
1744   supported, use server-header-filter{} and client-header-filter{}
1745   instead.
1746 - Tags can be used to change actions based on HTTP headers.
1747 - New server-header filter: less-download-windows.
1748 - New client-header taggers: css-requests, image-requests,
1749   client-ip-address, http-method, allow-post, complete-url,
1750   user-agent and privoxy-control.
1751 - New server-header taggers: content-type and privoxy-control.
1752 - The forward-override{} action allows to change the forwarding
1753   settings through the action files, for example based on client
1754   headers like the User-Agent, or the request origin.
1755 - Socks errors are no longer handled by the CGI page for
1756   DNS resolution failures.
1757 - CGI pages use favicons to signal whether they are error
1758   or control pages. This is useful if you rely heavily on
1759   browser tabs.
1760 - The show-url-info CGI page shows the forwarding settings.
1761 - "Crunch!" log messages (used when Privoxy answers requests
1762   by itself) now also contain the reason.
1763 - Allow to rewrite the request destination behind the client's back.
1764 - Fix socks requests on big-endian platforms. Patch provided by Song Weijia.
1765 - Fixes possible deadlocks and crashes on OpenBSD.
1766   Patch provided by Ralf Horstmann.
1767 - The CGI action editor allows to edit actionfiles with previously
1768   forbidden characters like dots.
1769 - New trust entries are saved with a comment that contains the
1770   trusted referring URL (Suggested by Daniel Griscom).
1771 - Filter descriptions are HTML encoded automatically.
1772 - New config option "split-large-forms" to work
1773   around a browser bug that caused IE6 and IE7 to ignore
1774   the Submit button on the edit-actions-for-url CGI page.
1775 - New config option "allow-cgi-request-crunching" to allow
1776   requests for Privoxy's CGI pages to be blocked, redirected
1777   or (un)trusted like ordinary requests.
1778 - Empty filter files no longer interrupt the filtering process
1779   prematurely and are correctly listed on the show-status CGI page.
1780 - New config option "accept-intercepted-requests" to combine
1781   Privoxy with any packet filter to build an intercepting proxy
1782   for HTTP/1.1 requests (and for HTTP/1.0 requests with Host header set).
1783 - fast-redirects{} catch redirects to https URLs as well.
1784 - redirect{s@foo@bar@} can be used to redirect to a rewritten
1785   version of the original URL.
1786 - Trap unsupported gopher proxy requests.
1787 - Fixed a bug in the User Manual delivery on Windows
1788   (mingw32 only). Images now show up correctly and HTML
1789   pages are no longer padded with garbage data.
1790 - Fixed several minor memory leaks, most of them discovered with Valgrind.
1791 - Only unlink the pidfile if it's actually used.
1792 - Retries after connection problems with forced requests
1793   aren't blocked again.
1794 - On Unix SIGABRT causes a core dump as expected and is no
1795   longer treated as normal shutdown signal.
1796 - The "access denied" CGI page is more descriptive and
1797   allows retries to circumvent the referrer check.
1798 - Updated PCRS to handle unexpected PCRE errors properly.
1799   Fixed crashes that could occur if Privoxy was build
1800   with external PCRE versions newer than Privoxy's internal
1801   one. (Reported by Chung-chieh Shan)
1802 - Fixed crashes with null bytes in PCRS replacement strings
1803   (Patch provided by Felix Gröbert).
1804 - Fixed crashes with header time randomization on mingw32.
1805 - The CGI style sheet is no longer delivered if the referring
1806   page isn't a Privoxy CGI page. This prevents a JavaScript-based
1807   Privoxy detection "attack". Note that detecting Privoxy is
1808   still possible through other ways and Privoxy was never intended
1809   to be invisible anyway.
1810 - Added support for AmigaOS 4, fixed build for AmigaOS 3.x.
1811 - The show-url-info CGI page displays a warning if Privoxy
1812   is currently toggled off.
1813 - The show-status CGI page suppresses the edit button
1814   for action files if Privoxy has no write access.
1815 - Most CGI error pages react properly to HEAD requests.
1816 - Requests with RFC 3253 HTTP methods (used by Subversion)
1817   are accepted. (Patch provided by Petr Kadlec)
1818 - New config option "templdir" to change the location
1819   of the CGI templates to make sure customized templates
1820   aren't "updated".
1821 - Better handling of "HTTP/1.1 100 Continue" responses.
1822 - The background of the PNG pattern is transparent.
1823 - Fixed XML syntax errors caused by banners-by-size and banners-by-url.
1824 - Fixed crashes and possible action file corruptions
1825   when lines containing hashes are written through the CGI editor.
1826 - Supports dynamic filters which can contain variables.
1827 - Supports tags to change the actions based on client or server headers.
1828 - Incorrect actions are logged before program termination.
1829 - The "actionsfile" syntax in the configuration file is consistent
1830   with the rest of the configuration options and requires the
1831   whole file name. This is an incompatible change, if you use
1832   an old configuration file you might have to append ".action"
1833   to your "actionsfile" directives.
1834 - With the configuration file option "enforce-blocks" the
1835   "go there anyway" mechanism can be disabled without recompiling
1836   Privoxy.
1837 - More precise error messages in case of incorrect acl syntax.
1838 - Logs a warning if filtering is enabled but impossible due
1839   to lack of zlib support or use of the prevent-compression action.
1840 - Less noisy handling of Cookie:" and "Connection:" headers.
1841 - Improved error messages in case of connection problems.
1842 - Fix a command-line-parsing bug that was introduced before 3.0.5
1843   beta and caused Privoxy to treat the last argument as configuration
1844   file if no configuration file was specified.
1845 - Treat unknown command line options as fatal errors instead
1846   of silently ignoring them.
1847 - Use string functions with length checks more often.
1848 - Don't log CONNECT requests twice.
1849 - Allow to log the source address for ACL-related connection drops.
1850 - Don't ignore applying filters if the server didn't
1851   specify a Content-Type. Bug reported by Amuro Namie.
1852 - Rejected CONNECT requests are logged with log level info
1853   (enabled by default) and the reason for the block.
1854 - New command line option "--pre-chroot-nslookup hostname" to
1855   intialize the resolver library before chroot'ing. On some systems this
1856   reduces the number of files that must be copied into the chroot tree.
1857   (Patch provided by Stephen Gildea)
1858 - Fix a long-standing memory corruption bug that could cause
1859   Privoxy to overwrite a single byte in memory it didn't explicitly
1860   allocate (but that probably was allocated anyway due to bucket size).
1861 - Send template-based CGI pages as HTTP/1.1 unless the client
1862   asked for HTTP/1.0.
1863 - Let the first line in connection established responses
1864   end in \r\n as required by RFC1945. Reported by Bert van Leeuwen.
1865 - If no log file has been specified, disable logging instead of logging
1866   to stderr.
1867 - Don't block stderr when in daemon mode.
1868 - Ignore missing zero-chunks when filtering chunk-encoded content.
1869   Earlier Privoxy versions would buffer and then forward the content
1870   unmodified which caused some browsers to simply show empty pages.
1871 - Fix double free in cgi_edit_actions_list(). Reported by Venustech AD-LAB.
1872 - The code to add X-Forwarded-For headers when the hide-forwarded-for-headers
1873   action isn't being used has been removed.
1874 - Fixed trustfile feature which previously didn't work without FEATURE_TOGGLE.
1875   Reported by Lee.
1876 - Minor code clean-ups, filter and action file updates.
1877   (Some of them reported by Davide Alberani, Markus Elfring,
1878    Stefan Huehner and Adam Piggott)
1879
1880 *** Version 3.0.6 ***
1881
1882 - New content filters: no-ping, google, msn, yahoo and blogspot.
1883 - New header filters:  x-httpd-php-to-html, html-to-xml, xml-to-html
1884                        and hide-tor-exit-notation.
1885 - The special header "X-Filter: No" now disables header filtering as well.
1886 - Improved the filters img-reorder, js-annoyances, webbugs,
1887   banners-by-size, banners-by-link and ie-exploits to make them
1888   less likely to break anything.
1889 - Removed outdated URL patterns in default.action and added new ones.
1890 - Added redirection from http://p.p/user-manual to http://p.p/user-manual/
1891 - Changed webinterface default values for hide-user-agent, hide-referrer
1892   and set-image-blocker.
1893
1894 *** Version 3.0.5 beta ***
1895
1896 - Windows version can be installed/started as a service.
1897 - Windows icon stays blue when Privoxy is idle, green when busy.
1898 - Integrated Fabian Keil's extensive patch.  See:
1899   http://www.fabiankeil.de/sourcecode/privoxy/. Includes the
1900   following new or significantly improved actions (among many
1901   other improvements):
1902
1903      content-type-overwrite{}
1904      crunch-client-header{string}
1905      crunch-if-none-match
1906      crunch-server-header{string}
1907      fast-redirects{check-decoded-url}
1908      filter-client-headers
1909      filter-server-headers
1910      force-text-mode
1911      handle-as-empty-document
1912      hide-accept-language{}
1913      hide-content-disposition{}
1914      hide-if-modified-since
1915      hide-referrer{conditional-block}
1916      overwrite-last-modified{}
1917      redirect{URL}
1918      treat-forbidden-connects-like-blocks
1919
1920 - Standard-compliant clients are prevented from displaying cached
1921   copies of Privoxy's error messages after the cause of the problem
1922   has gone.
1923 - Improved DNS error handling.
1924 - Multiple filter files can now be specified in config.
1925 - Added jpeg filtering to defend against MS jpeg vulnerability MS04-028
1926   with the new inspect-jpegs action.
1927 - Removed the "arbitrary" 1000 filter limit - addresses tracker #911950
1928 - Thanks to Jindrich Makovicka for a race condition fix for the log
1929   file.  The race condition remains for non-pthread implementations.
1930   Reference patch #1175720. Various other logging enhancements.
1931 - A pile of assorted bug fixes, memory leaks, enhancements, etc.
1932 - Moved Actions file reporting mechanism to SF tracker.
1933 - Two new options for config: enable-remote-http-toggle and
1934   forwarded-connect-retries.
1935 - Trap unsupported FTP requests.
1936 - Let text/xml be filtered.
1937 - Numerous updates to default.action
1938 - Increase the compiled in limit of trusted referrers from 64 to 512
1939   (for trustfile users).
1940
1941 *** Version 3.0.3 ***
1942
1943 - Fixed yet another two memory leaks. Process growth seems stopped now.
1944 - Further tightened security against malicious toggle-off links.
1945 - Excluded text/plain MIME types from filtering. This fixes a
1946   couple of client-crashing, download corruption and
1947   Privoxy performance issues, whose root cause lies in
1948   web servers labelling content of unknown type as text/plain.
1949 - Assorted fixes for POSIX compliance, signal handling, graceful
1950   termination, compiler warnings, OSX support, Win32 systray,
1951   error logging, hostname wildcards, correct detection of NetBSD.
1952 - Workarounds for client (iTunes etc) and server (PHP < 4.2.3) bugs
1953   including the notorious "blank page" problem.
1954 - Various filter improvements; most notably the unsolicited-popups
1955   filter became less destructive
1956 - Major revamp of the actions file
1957
1958 *** Version 3.0.2 ***
1959
1960 - Fixed two memory leaks, one serious
1961 - Fixed bug in pcrs which could cause crashes with user-defined filters
1962 - Fixed bug in domain name matching
1963 - Assorted small fixes (Win32 menu, CGI URL editor, ..)
1964 - Added basic support for the OPTIONS and TRACE http methods
1965 - Added workaround for Bug in Mac OSX that made Privoxy crash occasionally
1966 - Refined the default action file through >400 items of user feedback
1967 - Filter changes:
1968   - Assorted refinements, optimizations and fixes in the js-annoyances,
1969     img-reorder, banners-by-size, banners-by-link, webbugs, refresh-tags,
1970     html-annoyances, content-cookies and fun filters
1971   - Replaced filter "popups" by choice between two modes:
1972     - "unsolicited-popups" tries to catch only the unsolicited ones
1973     - "all-popups" tries to kill them all (as before)
1974   - New filter "tiny-textforms" Help those tiny or hard-wrap textareas.
1975   - New filter "jumping-windows" that prevents windows from resizing
1976     and moving themselves
1977   - New filter "demoronizer" which fixes MS's abuse of std charsets
1978     (common cases anyway).
1979   - Replaced "nimda" with more general "ie-exploits" filter in which
1980     all filters for exploits shall be collected
1981 - Improved cookie logging
1982 - Rewrote make install target. Added uninstall and install-strip
1983   targets.
1984 - Fixed a potential (application-level, NOT OS-level!) security
1985   problem involving remote toggling and action file manipulation
1986   by mailicious websites.
1987 - Added ability to chroot (thanks to Sviatoslav Sviridov)
1988 - Added more action aliases for prehistoric action names
1989 - Add Slackware support to Makefile.
1990
1991 *** Version 3.0  ***
1992
1993 - Fixed Windows startmenu items, log window and tray icon menus.
1994 - Added warning for bogus install target
1995 - Added quicktime-kioskmode filter and improved frameset-borders
1996 - Updated default.action based on latest feedback
1997 - New PDF doc build process
1998 - Add a user contrib module to cvs:
1999   http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/ijbswa/contrib/
2000
2001 *** Version 2.9.18  ***
2002
2003 - Added workaround for IE bug that broke CGI interface
2004 - Bugfix: String actions now reliably editable through CGI interface
2005 - Three filters fixed (again!)
2006 - Assorted small fixes and doc enhancements
2007
2008 *** Version 2.9.16  ***
2009
2010 - Major revamp of default.action to get rid of years of cruft.
2011 - Same for default.filter
2012 - Re-design and major improvements to the CGI editor interface.
2013 - Address spurious 'out of memory' error due to incorrect file permissions.
2014 - Impose buffer limits while reading client and server headers.
2015 - Better memory and CPU optimization.
2016 - Add Conectiva Linux package.
2017 - user-manual directive added to config for help links from within CGI
2018   editor.
2019 - Multiple actions files can now be specified in config.
2020 - Actions files are changed to: default.action, standard.action, and
2021   user.action. user.action is for personal/local configuration.
2022 - The usual many small and miscellaneous bug and security fixes.
2023
2024 *** Version 2.9.14 beta ***
2025
2026 - Fix Solaris compile problem (gateway.h and filters.h)
2027 - Makefile fixes for Solaris, FreeBSD (?)
2028 - Fix build failure where certain features were disabled.
2029 - 'blocked-compact' template is removed. Various CGI improvements,
2030   including an adaptive 'blocked' template.
2031 - Various tweaks for actions file to get ready for stable 3.0
2032 - Included a 'Bookmarklet' and PHP scripts for reporting actions file
2033   problems via web interface at privoxy.org. Accessed via internal CGIs.
2034 - Include cgi-style.css for templates.
2035 - #include mechansim for common text in templates
2036 - Various other minor fixes.
2037
2038 *** Version 2.9.13 beta ***
2039
2040 - *NEWS*: The project has been renamed to Privoxy! The new name is
2041   reflected throughout (file locations, etc).
2042 - ijb.action is now default.action. re_filterfile is now
2043   default.filter.
2044 - http://i.j.b/ is now http://p.p/
2045 - The 'logo' option for replacing ad iamges is removed now. 'Pattern'
2046   (checkerboard) is now the default.
2047 - RPM spec file make over.
2048
2049
2050 *** Version 2.9.12 beta ***
2051
2052 - **READ**: The default listening PORT is NOW 8118!!! Changed from
2053   8000 due to conflict with NAS (Network Audio Server, whatever that
2054   is.)
2055 - More CGI actions editor fixes and improvements.
2056 - Win32 command line fix ups.
2057 - re_filterfile now has modular sections that can be activated on a
2058   per site basis. Some new goodies there too.
2059 - +filter now takes arguments to match FILTER sections in re_filterfile
2060   for even more flexibility.
2061 - Added a new image blocker option: +image-blocker{pattern}, which
2062   displays a checkerboard patthern and scales better than the logo.
2063 - PNG images will be used in place of GIF for JB built-in images
2064   if configured with --enable-no-gif.
2065 - Clean up compiler warnings (mostly).
2066 - Improved handling of failed DNS lookups & diagnostics for failed bind
2067   to listen socket
2068 - Made --no-daemon mode log to tty instead of logfile.
2069 - Various spec file and init script cleanups and improvements (Redhat and
2070   SuSE).
2071 - CGI Editor works on OS/2 now.
2072 - Fix restart failure where sockets were in TIME_WAIT.
2073 - Fixes for actions cgi editor, make sure we have right file.
2074 - A --pidfile command line option now, in addition to --help,
2075   --version, --no-daemon, --user and configfile. --no-daemon replaces
2076   the former -d option and _DEBUG define. --user will drop privileges
2077   to the specified user.
2078 - Signal handling cleanups (*nix).
2079 - CGI actions editor improvements and fixes.
2080 - Error handling improvements, especially out of memory.
2081 - Default re_filterfile fix that caused spurious IJB logos
2082   (instead of 'blank').
2083 - configure.in threading fixes for Solaris.
2084 - Various other minor fixes.
2085
2086
2087 *** Version 2.9.11 beta Changes ***
2088
2089 - Add "session" cookie concept where cookies exist for the life
2090   of that browser session only (ie never goes to disk).
2091 - Checks for correct header length.
2092 - Fix user:pass@host.domain.com auth bug.
2093 - Better signal handling on *nix.
2094 - Fix CFLAGS hard-coded in configure.in
2095 - Fix threading bug re: gethostbyname() that caused random
2096   URLs to fail in some cases.
2097
2098
2099 *** Version 2.9.11 Alpha Changes ***
2100
2101 - A web-based editor for the actions file is included (go to http://i.j.b/).
2102 - Web-based toggle IJB on/off support.
2103 - Cookie handling has changed - the new +no-cookies-keep feature is now the
2104 default.
2105 - actionsfile is renamed to ijb.action.
2106 - junkbstr.txt is now config.txt on Win32.
2107 - Support for running IJB as a UNIX daemon process has improved.
2108 - Unix daemon now returns error code on failed start.
2109 - Timestamps in logfile and jarfile now.
2110 - Fix for the Netscape bug reintroduced in 2.9.9.
2111 - make should now abort if gmake (GNU make) not present.
2112 - Many other minor bugfixes
2113 - Start a ChangeLog :)
2114
2115
2116
2117 *** Version 2.9.3 pre-Alpha Changes ***
2118
2119 - Amiga support (completely untested by me - I don't have an Amiga)
2120 - "tinygif 3" support (redirects blocked images to a specified URL, so
2121 the browser doesn't have to load and cache many copies of the same
2122 image).
2123 - one case where there were both local and global "referrer" variables
2124 (yuck!) clarified by renaming the local one to "refer".
2125 - Fixed some places where close() was used instead of close_socket().
2126 Thanks to Jörg Strohmayer (joergs at users.sourceforge.net) for these.
2127 - Temporary hack to get FORCE_LOAD to work with IE.  I just lowercased the
2128 FORCE_LOAD_PREFIX.  Needs fixing properly.
2129 - Most URLs hardcoded into Junkbuster were changed to go through a script
2130 e.g. http://ijbswa.sourceforge.net/redirect.php?v=2.9.3&to=faq
2131 The only other URLs left are the GNU GPL:
2132   http://www.fsf.org/copyleft/gpl.html
2133 and the home page:
2134   http://ijbswa.sourceforge.net/
2135 ... and various URLs which will be intercepted by Junkbuster anyway.
2136 TODO: Still need to do something with the URLs in Junkbuster Corp's
2137 copyright/trademark notice on the bottom of the show-proxy-args page.
2138 - PCRE or GNU Regex is now a #define option.
2139
2140
2141 *** Version 2.9.2 pre-Alpha Changes ***
2142
2143 - Andreas applied the latest version of the FORCE patch.
2144
2145
2146 *** Version 2.9.1 pre-Alpha Changes ***
2147
2148 - in parsers.c, fixed two #ifdef FORCE to #ifdef FORCE_LOAD
2149 (BTW: I think FORCE is precise enough, since loading remote
2150 data is the whole purpose of a proxy..)
2151 - Set the FORCE_PREFIX (back) to 'IJB-FORCE-LOAD-'. While 'noijb.'
2152 is more elegant and looks like a hostname in the URL, it doesn't
2153 make clear to the inexperienced user that the proxy is bypassed. It
2154 also has a higher name collision risk.
2155 - Filled in the function header templates for my functions in
2156 parsers.c (again). They obviously got lost in our current
2157 patch war ;-)
2158 - Cut the credit for the §-referrer-option from the config file,
2159 that Stefan had placed there.
2160 - Improved the re_filterfile
2161
2162
2163 *** Version 2.9.0 pre-Alpha Changes ***
2164
2165 -  Now use PCRE, not GNU REGEX.  I have not yet had chance to check the
2166 syntax of the block/image/cookie file to ensure that they match what
2167 is expected - however they seem to work.
2168 -  Replaced "configure" script with one generated by "autoconf".  Also
2169 use a header "config.h" (was ijbconfig.h in my previous release) for
2170 the #defines.  "config.h" is now generated with "autoheader" from
2171 "acconfig.h" and "configure.in".  (Note that to install you do not
2172 need autoconf or autoheader - just run "./configure".)
2173 To see command-line options, run "./configure --help".
2174 This is my first ever autoconf script, so it has some rough edges
2175 (how PCRE is handled is the roughest).
2176 -  Error logging code replaced with new module errlog.c, based on the
2177 one from JunkbusterMT (but with the threading code removed).
2178 -  Most of Rodney's 0.21 and 0.21A patches applied. (Marked *).  I did not
2179 apply all of these, since I had already independently done conditional
2180 popup file, conditional image file, and integration of popup code.
2181 - ACL, Jar and trust files conditionally compiled.
2182 - New source file headers.
2183 - Various cosmetic changes.  (But I have not consistently ordered the
2184 config files - I think that's worthwhile, but it's 1am and I want to
2185 get this released!)
2186 - RCS tags on .h files.
2187 -  RCS tags are const char[] rather than const char *.  (Saves 4 bytes
2188 per tag ;-)
2189 - VC++ project files renamed to vc_junkbuster.*.
2190 - show-proxy-args now shows status of all conditionals, not just REGEX
2191 - Various functions moved around.  Most notably all the system-specific
2192 sockets code which was spread between jcc.c, bind.c, and connect.c,
2193 has been moved to "jbsockets.c".  The non-system-specific code from
2194 connect.c and socks4.c has been movet to "gateway.c".  Also, the
2195 config file loader and the global variables it writes to have been
2196 moved to "loadcfg.c".  (Maybe this should go into loaders.c?)
2197 And candidate for the "worst filename ever" award is "miscutil.c",
2198 which contains, well, miscellaneous utility functions like zalloc.
2199 (Suggestions for a better name for this file are welcome!)
2200 - Loaders now use a common function to read a line and skip comments,
2201 and this function also stores the proxy_args.
2202 - Added ./junkbuster --help     (Not for Win32 GUI)
2203 - Added ./junkbuster --version  (Not for Win32 GUI)
2204 - Win32 resources are now all marked as "U.S. English", rather than
2205 being a mix of "U.S. English", "U.K. English" and "Irish English".
2206 - Version number changes to 2.9.0
2207
2208
2209 ----------------------------------------------------------------------
2210 Copyright   :  Written by and Copyright (C) 2001-2016 the
2211                Privoxy team. https://www.privoxy.org/
2212
2213                Based on the Internet Junkbuster originally written
2214                by and Copyright (C) 1997 Anonymous Coders and
2215                Junkbusters Corporation.  http://www.junkbusters.com/
2216
2217                This program is free software; you can redistribute it
2218                and/or modify it under the terms of the GNU General
2219                Public License as published by the Free Software
2220                Foundation; either version 2 of the License, or (at
2221                your option) any later version.
2222
2223                This program is distributed in the hope that it will
2224                be useful, but WITHOUT ANY WARRANTY; without even the
2225                implied warranty of MERCHANTABILITY or FITNESS FOR A
2226                PARTICULAR PURPOSE.  See the GNU General Public
2227                License for more details.
2228
2229                The GNU General Public License should be included with
2230                this file.  If not, you can view it at
2231                http://www.gnu.org/copyleft/gpl.html
2232                or write to the Free Software Foundation, Inc., 59
2233                Temple Place - Suite 330, Boston, MA  02111-1307, USA.