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