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