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