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