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