Fix problems noticed on Yahoo mail and news pages
[privoxy.git] / ChangeLog
1 --------------------------------------------------------------------
2 ChangeLog for Privoxy
3 --------------------------------------------------------------------
4 *** Version 3.0.16 Stable ***
5
6 - Added the config file option handle-as-empty-doc-returns-ok to
7   work around Firefox bug #492459, which causes Firefox to hang
8   if JavaScripts are blocked in certain situations. The option is
9   enabled in the default config file.
10 - Added the config file option default-server-timeout to control the
11   assumed default server timeout. Since Privoxy no longer returns
12   an error message for connection resets on reused client connections,
13   assuming larger server timeout values appears to actually work
14   pretty well as long as connections aren't shared.
15 - Added optional support for FreeBSD's accf_http(9). Use the
16   configure option --enable-accept-filter to enable it.
17 - Added fancier Privoxy icons for win32. Contributed by Jeff H.
18 - In daemon mode, fd 0, 1 and 2 are bound to /dev/null.
19 - Resolve localhost using whatever address family the operating
20   system feels like. Previous betas would try to use IPv4 as this
21   is what most users expect, but this didn't work reliably on
22   GNU/Linux systems.
23 - In the action lists on CGI pages, actions and their parameters are
24   no longer separated with a space. The action file parser doesn't
25   actually allow this and will throw an invalid syntax error if actions
26   and parameters in the action files are separated. Not adding the
27   spaces means copy and pasting CGI output into the action files works.
28 - The default keep-alive timeout has been reduced to 5 seconds to work
29   around hangs in clients that treat the proxy like any other host and
30   stop allowing any new connections if the "maximum number of
31   connections per host" is reached.
32 - Several webbug URLs that look like they are leading to images are now
33   blocked as image instead of empty documents. Doing the latter causes
34   WebKit-based clients to show a "missing image" icon which may mess up
35   the layout.
36 - The no-such-domain template is used for DNS resolution
37   problems with FEATURE_IPV6_SUPPORT enabled. Previously the
38   connect-failed template was used. Reported by 'zebul666'.
39 - Accepts quoted expiration dates even though RFC 2109 10.1.2
40   doesn't seem to allow them. Reported anonymously.
41 - Don't try to forget connections if connection sharing is disabled.
42   This wasn't a real problem but caused an unnecessary log message.
43 - The still undocumented --enable-extended-host-patterns configure
44   option has a better description.
45 - Fixed an error message that would claim a write to the server
46   failed when actually writing to the client failed.
47 - Log the crunch reason before trying to write to the client.
48   The log is easier to read that way.
49 - Several log messages about client connections also mention
50   the socket number.
51 - handle-as-empty-document no longer depends on the image blocking
52   code being enabled.
53 - Privoxy-Log-Parser is roughly 40% faster in highlighting mode.
54 - uagen, a Firefox User-Agent generator for Privoxy and Mozilla
55   browsers has been imported and is available in the tarball's
56   tools directory.
57 - The scripts in the tools directory treat unknown parameters
58   as fatal errors.
59
60 *** Version 3.0.15 Beta ***
61
62 - In case of missing server data, no error message is send to the
63   client if the request arrived on a reused connection. The client
64   is then supposed to silently retry the request without bothering
65   the user. This should significantly reduce the frequency of the
66   "No server or forwarder data received" error message many users
67   reported.
68 - More reliable detection of prematurely closed client sockets
69   with keep-alive enabled.
70 - FEATURE_CONNECTION_KEEP_ALIVE is decoupled from
71   FEATURE_CONNECTION_SHARING and now available on
72   all platforms.
73 - Improved handling of POST requests on reused connections.
74   Should fix problems with stalled connections after submitting
75   form data with some browser configurations.
76 - Fixed various latency calculation issues.
77 - Allows the client to pass NTLM authentication requests to a
78   forwarding proxy. This was already assumed and hinted to work
79   in 3.0.13 beta but actually didn't. Now it's confirmed to work
80   with IE, Firefox and Chrome.
81   Thanks to Francois Botha and Wan-Teh Chang
82 - Fixed a calculation problem if receiving the server headers
83   takes more than two reads, that could cause Privoxy to terminate
84   the connection prematurely. Reported by Oliver.
85 - Compiles again on platforms such as OpenBSD and systems
86   using earlier glibc version that don't support AI_ADDRCONFIG.
87   Anonymously submitted in #2872591.
88 - A bunch of MS VC project files and Suse and Redhat RPM spec
89   files have been removed as they were no longer maintained for
90   quite some time.
91 - Overly long action lines are properly rejected with a proper
92   error message. Previously they would be either rejected as
93   invalid or cause a core dump through abort().
94 - Already timed-out connections are no longer temporarily remembered.
95   They weren't reused anyway, but wasted a socket slot.
96 - len refers to the number of bytes actually read which might
97   differ from the ones received. Adjust log messages accordingly.
98 - The optional JavaScript on the CGI page uses encodeURIComponent()
99   instead of escape() which doesn't encode all characters that matter.
100   Anonymously reported in #2832722.
101 - Fix gcc45 warnings in decompress_iob().
102 - Various log message improvements.
103 - Privoxy-Regression-Test supports redirect tests.
104 - Privoxy-Log-Parser can gather some connection statistics.
105
106 *** Version 3.0.14 Beta ***
107
108 - The latency is taken into account when evaluating whether or not to
109   reuse a connection. This should significantly reduce the number of
110   connections problems several users reported.
111 - If the server doesn't specify how long the connection stays alive,
112   Privoxy errs on the safe side of caution and assumes it's only a second.
113 - The error pages for connection timeouts or missing server data use a
114   Last-Modified date in the past. Retry attempts are detected and Privoxy
115   removes the If-Modified-Since header to prevent the server from responding
116   with status code 304 in which case the client would reuse the error message.
117 - Setting keep-alive-timeout to 0 disables keep-alive support. Previously
118   Privoxy would claim to allow persistence but not reuse the connection.
119 - Pipelined requests are less likely to be mistaken for the request
120   body of the previous request. Note that Privoxy still has no real
121   pipeline support and will either serialize pipelined requests or
122   drop them in which case the client has to resent them.
123 - Fixed a crash on some Windows versions when header randomization
124   is enabled and the date couldn't be parsed.
125 - Privoxy's keep-alive timeout for the current connection is reduced
126   to the one specified in the client's Keep-Alive header.
127 - For HTTP/1.1 requests, Privoxy implies keep-alive support by not
128   setting any Connection header instead of using 'Connection: keep-alive'.
129 - If the socket isn't reusable, Privoxy doesn't temporarily waste
130   a socket slot to remember the connection.
131 - If keep-alive support is disabled but compiled in, the client's
132   Keep-Alive header is removed.
133 - Fixed a bug on mingw32 where downloading large files failed if
134   keep-alive support was enabled.
135 - Fixed a bug that (at least theoretically) could cause log
136   timestamps to be occasionally off by about a second.
137 - No Proxy-Connection header if added if there already is one.
138 - The configure script respects the $PATH variable when searching
139   for groups and id.
140
141 *** Version 3.0.13 Beta ***
142
143 - Added IPv6 support. Thanks to Petr Pisar who not only provided
144   the initial patch but also helped a lot with the integration.
145 - Added client-side keep-alive support.
146 - The connection sharing code is only used if the connection-sharing
147   option is enabled.
148 - The max-client-connections option has been added to restrict
149   the number of client connections below a value enforced by
150   the operating system.
151 - Fixed a regression reintroduced in 3.0.12 that could cause
152   crashes on mingw32 if header date randomization was enabled.
153 - Compressed content with extra fields couldn't be decompressed
154   and would get passed to the client unfiltered. This problem
155   has only be detected through statical analysis with clang as
156   nobody seems to be using extra fields anyway.
157 - If the server resets the Connection after sending only the headers
158   Privoxy forwards what it got to the client. Previously Privoxy
159   would deliver an error message instead.
160 - Error messages in case of connection timeouts use the right
161   HTTP status code.
162 - If spawning a child to handle a request fails, the client
163   gets an error message and Privoxy continues to listen for
164   new requests right away.
165 - The error messages in case of server-connection timeouts or
166   prematurely closed server connections are now template-based.
167 - If zlib support isn't compiled in, Privoxy no longer tries to
168   filter compressed content unless explicitly asked to do so.
169 - In case of connections that are denied based on ACL directives,
170   the memory used for the client IP is no longer leaked.
171 - Fixed another small memory leak if the client request times out
172   while waiting for client headers other than the request line.
173 - The client socket is kept open until the server socket has
174   been marked as unused. This should increase the chances that
175   the still-open connection will be reused for the client's next
176   request to the same destination. Note that this only matters
177   if connection-sharing is enabled.
178 - A TODO list has been added to the source tarball to give potential
179   volunteers a better idea of what the current goals are. Donations
180   are still welcome too: http://www.privoxy.org/faq/general.html#DONATE
181
182 *** Version 3.0.12 ***
183
184 - The socket-timeout option now also works on platforms whose
185   select() implementation modifies the timeout structure.
186   Previously the timeout was triggered even if the connection
187   didn't stall. Reported by cyberpatrol.
188 - The Connection: keep-alive code properly deals with files
189   larger than 2GB. Previously the connection was closed too
190   early.
191 - The content length for files above 2GB is logged correctly.
192 - The user-manual directive on the show-status page links to
193   the documentation location specified with the directive,
194   not to the Privoxy website.
195 - When running in daemon mode, Privoxy doesn't log anything
196   to the console unless there are errors before the logfile
197   has been opened.
198 - The show-status page prints warnings about invalid directives
199   on the same line as the directives themselves.
200 - Fixed several justified (but harmless) compiler warnings,
201   mostly on 64 bit platforms.
202 - The mingw32 version explicitly requests the default charset
203   to prevent display problems with some fonts available on more
204   recent Windows versions. Patch by Burberry.
205 - The mingw32 version uses the Privoxy icon in the alt-tab
206   windows. Patch by Burberry.
207 - The timestamp and the thread id is omitted in the "Fatal error"
208   message box on mingw32.
209 - Fixed two related mingw32-only buffer overflows. Triggering
210   them required control over the configuration file, therefore
211   this isn't seen as a security issue.
212 - In verbose mode, or if the new option --show-skipped-tests
213   is used, Privoxy-Regression-Test logs skipped tests and the
214   skip reason.
215
216 *** Version 3.0.11 ***
217
218 - On most platforms, outgoing connections can be kept alive and
219   reused if the server supports it. Whether or not this improves
220   things depends on the connection.
221 - When dropping privileges, membership in supplementary groups
222   is given up as well. Not doing that can lead to Privoxy running
223   with more rights than necessary and violates the principle of
224   least privilege. Users of the --user option are advised to update.
225   Thanks to Matthias Drochner for reporting the problem,
226   providing the initial patch and testing the final version.
227 - Passing invalid users or groups with the --user option
228   didn't lead to program exit. Regression introduced in 3.0.7.
229 - The match all section has been moved from default.action
230   to a new file called match-all.action. As a result the
231   default.action no longer needs to be touched by the user
232   and can be safely overwritten by updates.
233 - The standard.action file has been removed. Its content
234   is now part of the default.action file.
235 - In some situations the logged content length was slightly too low.
236 - Crunched requests are logged with their own log level.
237   If you used "debug 1" in the past, you'll probably want
238   to additionally enable "debug 1024", otherwise only passed
239   requests will be logged. If you only care about crunched
240   requests, simply replace "debug 1" with "debug 1024".
241 - The crunch reason has been moved to the beginning of the
242   crunch message. For HTTP URLs, the protocol is logged as well.
243 - Log messages are shortened by printing the thread id on its
244   own (as opposed to putting it inside the string "Privoxy()").
245 - The config option socket-timeout has been added to control
246   the time Privoxy waits for data to arrive on a socket.
247 - Support for remote toggling is controlled by the configure
248   option --disable-toggle only. In previous versions it also
249   depended on the action editor and thus configuring with the
250   --disable-editor option would disable remote toggling support
251   as well.
252 - Requests with invalid HTTP versions are rejected.
253 - The template symbol @date@ can be used to include a date(1)-like
254   time string. Initial patch submitted by Endre Szabo.
255 - Responses from shoutcast servers are accepted again.
256   Problem reported and fix suggested by Stefan.
257 - The hide-forwarded-for-headers action has been replaced with
258   the change-x-forwarded-for{} action which can also be used to
259   add X-Forwarded-For headers. The latter functionality already
260   existed in Privoxy versions prior to 3.0.7 but has been removed
261   as it was often used unintentionally (by not using the
262   hide-forwarded-for-headers action).
263 - A "clear log" view option was added to the mingw32 version
264   to clear out all of the lines in the Privoxy log window.
265   Based on a patch submitted by T Ford.
266 - The mingw32 version uses "critical sections" now, which prevents
267   log message corruption under load. As a side effect, the
268   "no thread-safe PRNG" warning could be removed as well.
269 - The mingw32 version's task bar icon is crossed out and
270   the color changed to gray if Privoxy is toggled off.
271
272 *** Version 3.0.10 ***
273
274 - Ordinary configuration file changes no longer cause program
275   termination on OS/2 if the name of the logfile hasn't been
276   changed as well. This regression probably crept in with the
277   logging improvements in 3.0.7. Reported by Maynard.
278 - The img-reorder filter is less likely to mess up JavaScript code in
279   img tags. Problem and solution reported by Glenn Washburn in #2014552.
280 - The source tar ball now includes Privoxy-Log-Parser,
281   a syntax-highlighter for Privoxy logs. For fancy screenshots see:
282   http://www.fabiankeil.de/sourcecode/privoxy-log-parser/
283   Documentation is available through perldoc(1).
284
285 *** Version 3.0.9 Beta ***
286
287 - Added SOCKS5 support (with address resolution done by
288   the SOCKS5 server). Patch provided by Eric M. Hopper.
289 - The "blocked" CGI pages include a block reason that was
290   provided as argument to the last-applying block action.
291 - If enable-edit-actions is disabled (the default since 3.0.7 beta)
292   the show-status page hides the edit buttons and explains why.
293   Previously the user would get the "this feature has been disabled"
294   message after using the edit button.
295 - Forbidden CONNECT requests are treated like blocks by default.
296   The now-pointless treat-forbidden-connects-like-blocks action
297   has been removed.
298 - Not enabling limit-connect now allows CONNECT requests to all ports.
299   In previous versions it would only allow CONNECT requests to port 443.
300   Use +limit-connect{443} if you think you need the old default behaviour.
301 - The CGI editor gets turned off after three edit requests with invalid
302   file modification timestamps. This makes life harder for attackers
303   who can leverage browser bugs to send fake Referers and intend to
304   brute-force edit URLs.
305 - Action settings for multiple patterns in the same section are
306   shared in memory. As a result these sections take up less space
307   (and are loaded slightly faster). Problem reported by Franz Schwartau.
308 - Linear white space in HTTP headers will be normalized to single
309   spaces before parsing the header's content, headers split across
310   multiple lines get merged first. This should prevent problems like:
311    * letting the session-cookies-only action slip
312      some Cookies through unmodified,
313    * only suppressing the first line of a header,
314      thus creating an invalid one, and
315    * to incorrectly block headers with valid timestamps
316      that weren't properly recognized.
317   Headers that could trigger these problems are unlikely to appear
318   in "normal" web traffic, but could be intentionally generated to
319   fool some of Privoxy's header parsers.
320 - Host information is gathered outside the main thread so it's less
321   likely to delay other incoming connections if the host is misconfigured.
322 - New config option "hostname" to use a hostname other than
323   the one returned by the operating system. Useful to speed-up responses
324   for CGI requests on misconfigured systems. Requested by Max Khon.
325 - The CGI editor supports the "disable all filters of this type"
326   directives "-client-header-filter", "-server-header-filter",
327   "-client-header-tagger" and "-server-header-tagger".
328 - Fixed false-positives with the link-by-url filter and URLs that
329   contain the pattern "/jump/".
330 - The less-download-windows filter no longer messes
331   "Content-Type: application/x-shockwave-flash" headers up.
332 - In the show-url-info page's "Final results" section active and
333   inactive actions are listed separately. Patch provided by Lee.
334 - The GNUmakefile supports the DESTDIR variable. Patch for
335   the install target submitted by Radoslaw Zielinski.
336 - Embedding the content of configuration files in the show-status
337   page is significantly faster now. For a largish action file (1 MB)
338   a speedup of about 2450 times has been measured. This is mostly
339   interesting if you are using large action files or regularly use
340   Privoxy-Regression-Test while running Privoxy through Valgrind,
341   for stock configuration files it doesn't really matter.
342 - If zlib support is unavailable and there are content
343   filters active but the prevent-compression action is disabled,
344   the show-url-info page includes a warning that compression
345   might prevent filtering.
346 - The show-url-info page provides an OpenSearch Description that
347   allows to access the page through browser search plugins.
348 - Custom client-header filters that rewrite the request line
349   incorrectly no longer cause Privoxy to crash. Reported by din_a4.
350 - The obsolete kill-popups action has been removed as the
351   PCRS-based popup filters can do the same and are slightly
352   less unreliable.
353 - The inspect-jpegs action has been removed.
354 - The send-wafer and send-vanilla-wafer actions have been removed.
355   They weren't particular useful and their behaviour could be emulated
356   with add-header anyway.
357 - Privoxy-Regression-Test has been significantly improved.
358 - Most sections in the default.action file contain tests for
359   Privoxy-Regression-Test to verify that they are working as intended.
360 - Parts of Privoxy have been refactored to increase maintainability.
361 - Building with zlib (if available) is done by default.
362
363 *** Version 3.0.8 ***
364
365 - Fixed a small memory leak when listen-address only specifies the port.
366 - The source tar balls now include Privoxy-Regression-Test which
367   (upon other things) can be used to automatically detect some
368   packaging problems. Packagers are welcome to give it a try.
369 - Reverted a change in 3.0.7 that caused path patterns to be checked
370   even if the host pattern match already failed. While this doesn't
371   noticeable affect the performance, it makes it less likely to run
372   out of stack space with overly-complex path patterns the user might
373   have added.
374 - Updated the msn, yahoo and google filters to work as advertised again.
375 - The warning message shown by the show-status CGI page is easier to
376   understand. Previously it wasn't clear that the error message
377   is shown below the invalid directive. (Reported by Lee)
378 - When regenerating Content-Disposition headers the more common
379   spelling is used for the name. Previously it was written without caps.
380 - Less confusing log message if the content type isn't overwritten
381   because force-text-type wasn't used but the old type doesn't look
382   like content that would be filtered normally.
383 - Better log messages if the user tries to execute filters that
384   don't exist.
385 - Treat the non-standard Request-Range headers like standard range
386   headers and suppress them if content filtering is enabled.
387 - Prevent the log messages for CONNECT requests to unacceptable
388   ports from printing the limit-connect argument as [null] if
389   limit-connect hasn't been explicitly enabled.
390 - Don't disable the mingw32 log window if the logfile directive
391   isn't used. While it was an intentional change in 3.0.7 at least
392   one user perceived it as a regression and the same effect can
393   be achieved by disabling all debug directives.
394 - Fixed two minor problems related to the win32 build process: a css
395   file was not being in the installer and the trustfile comment in the
396   config.txt referenced a nonexisting file
397 - Minor documentation fixes.
398
399 *** Version 3.0.7 Beta ***
400
401 - Added zlib support to filter content with gzip and deflate
402   encoding. (Patch provided by Wil Mahan)
403 - Dedicated filters and actions are used for header filtering.
404   "filter-client-headers" and "filter-client-headers" are no longer
405   supported, use server-header-filter{} and client-header-filter{}
406   instead.
407 - Tags can be used to change actions based on HTTP headers.
408 - New server-header filter: less-download-windows.
409 - New client-header taggers: css-requests, image-requests,
410   client-ip-address, http-method, allow-post, complete-url,
411   user-agent and privoxy-control.
412 - New server-header taggers: content-type and privoxy-control.
413 - The forward-override{} action allows to change the forwarding
414   settings through the action files, for example based on client
415   headers like the User-Agent, or the request origin.
416 - Socks errors are no longer handled by the CGI page for
417   DNS resolution failures.
418 - CGI pages use favicons to signal whether they are error
419   or control pages. This is useful if you rely heavily on
420   browser tabs.
421 - The show-url-info CGI page shows the forwarding settings.
422 - "Crunch!" log messages (used when Privoxy answers requests
423   by itself) now also contain the reason.
424 - Allow to rewrite the request destination behind the client's back.
425 - Fix socks requests on big-endian platforms. Patch provided by Song Weijia.
426 - Fixes possible deadlocks and crashes on OpenBSD.
427   Patch provided by Ralf Horstmann.
428 - The CGI action editor allows to edit actionfiles with previously
429   forbidden characters like dots.
430 - New trust entries are saved with a comment that contains the
431   trusted referring URL (Suggested by Daniel Griscom).
432 - Filter descriptions are HTML encoded automatically.
433 - New config option "split-large-forms" to work
434   around a browser bug that caused IE6 and IE7 to ignore
435   the Submit button on the edit-actions-for-url CGI page.
436 - New config option "allow-cgi-request-crunching" to allow
437   requests for Privoxy's CGI pages to be blocked, redirected
438   or (un)trusted like ordinary requests.
439 - Empty filter files no longer interrupt the filtering process
440   prematurely and are correctly listed on the show-status CGI page.
441 - New config option "accept-intercepted-requests" to combine
442   Privoxy with any packet filter to build an intercepting proxy
443   for HTTP/1.1 requests (and for HTTP/1.0 requests with Host header set).
444 - fast-redirects{} catch redirects to https URLs as well.
445 - redirect{s@foo@bar@} can be used to redirect to a rewritten
446   version of the original URL.
447 - Trap unsupported gopher proxy requests.
448 - Fixed a bug in the User Manual delivery on Windows
449   (mingw32 only). Images now show up correctly and HTML
450   pages are no longer padded with garbage data.
451 - Fixed several minor memory leaks, most of them discovered with Valgrind.
452 - Only unlink the pidfile if it's actually used.
453 - Retries after connection problems with forced requests
454   aren't blocked again.
455 - On Unix SIGABRT causes a core dump as expected and is no
456   longer treated as normal shutdown signal.
457 - The "access denied" CGI page is more descriptive and
458   allows retries to circumvent the referrer check.
459 - Updated PCRS to handle unexpected PCRE errors properly.
460   Fixed crashes that could occur if Privoxy was build
461   with external PCRE versions newer than Privoxy's internal
462   one. (Reported by Chung-chieh Shan)
463 - Fixed crashes with null bytes in PCRS replacement strings
464   (Patch provided by Felix Gröbert).
465 - Fixed crashes with header time randomization on mingw32.
466 - The CGI style sheet is no longer delivered if the referring
467   page isn't a Privoxy CGI page. This prevents a JavaScript-based
468   Privoxy detection "attack". Note that detecting Privoxy is
469   still possible through other ways and Privoxy was never intended
470   to be invisible anyway.
471 - Added support for AmigaOS 4, fixed build for AmigaOS 3.x.
472 - The show-url-info CGI page displays a warning if Privoxy
473   is currently toggled off.
474 - The show-status CGI page suppresses the edit button
475   for action files if Privoxy has no write access.
476 - Most CGI error pages react properly to HEAD requests.
477 - Requests with RFC 3253 HTTP methods (used by Subversion)
478   are accepted. (Patch provided by Petr Kadlec)
479 - New config option "templdir" to change the location
480   of the CGI templates to make sure customized templates
481   aren't "updated".
482 - Better handling of "HTTP/1.1 100 Continue" responses.
483 - The background of the PNG pattern is transparent.
484 - Fixed XML syntax errors caused by banners-by-size and banners-by-url.
485 - Fixed crashes and possible action file corruptions
486   when lines containing hashes are written through the CGI editor.
487 - Supports dynamic filters which can contain variables.
488 - Supports tags to change the actions based on client or server headers.
489 - Incorrect actions are logged before program termination.
490 - The "actionsfile" syntax in the configuration file is consistent
491   with the rest of the configuration options and requires the
492   whole file name. This is an incompatible change, if you use
493   an old configuration file you might have to append ".action"
494   to your "actionsfile" directives.
495 - With the configuration file option "enforce-blocks" the
496   "go there anyway" mechanism can be disabled without recompiling
497   Privoxy.
498 - More precise error messages in case of incorrect acl syntax.
499 - Logs a warning if filtering is enabled but impossible due
500   to lack of zlib support or use of the prevent-compression action.
501 - Less noisy handling of Cookie:" and "Connection:" headers.
502 - Improved error messages in case of connection problems.
503 - Fix a command-line-parsing bug that was introduced before 3.0.5
504   beta and caused Privoxy to treat the last argument as configuration
505   file if no configuration file was specified.
506 - Treat unknown command line options as fatal errors instead
507   of silently ignoring them.
508 - Use string functions with length checks more often.
509 - Don't log CONNECT requests twice.
510 - Allow to log the source address for ACL-related connection drops.
511 - Don't ignore applying filters if the server didn't
512   specify a Content-Type. Bug reported by Amuro Namie.
513 - Rejected CONNECT requests are logged with log level info
514   (enabled by default) and the reason for the block.
515 - New command line option "--pre-chroot-nslookup hostname" to
516   intialize the resolver library before chroot'ing. On some systems this
517   reduces the number of files that must be copied into the chroot tree.
518   (Patch provided by Stephen Gildea)
519 - Fix a long-standing memory corruption bug that could cause
520   Privoxy to overwrite a single byte in memory it didn't explicitly
521   allocate (but that probably was allocated anyway due to bucket size).
522 - Send template-based CGI pages as HTTP/1.1 unless the client
523   asked for HTTP/1.0.
524 - Let the first line in connection established responses
525   end in \r\n as required by RFC1945. Reported by Bert van Leeuwen.
526 - If no log file has been specified, disable logging instead of logging
527   to stderr.
528 - Don't block stderr when in daemon mode.
529 - Ignore missing zero-chunks when filtering chunk-encoded content.
530   Earlier Privoxy versions would buffer and then forward the content
531   unmodified which caused some browsers to simply show empty pages.
532 - Fix double free in cgi_edit_actions_list(). Reported by Venustech AD-LAB.
533 - The code to add X-Forwarded-For headers when the hide-forwarded-for-headers
534   action isn't being used has been removed.
535 - Fixed trustfile feature which previously didn't work without FEATURE_TOGGLE.
536   Reported by Lee.
537 - Minor code clean-ups, filter and action file updates.
538   (Some of them reported by Davide Alberani, Markus Elfring,
539    Stefan Huehner and Adam Piggott)
540
541 *** Version 3.0.6 ***
542
543 - New content filters: no-ping, google, msn, yahoo and blogspot.
544 - New header filters:  x-httpd-php-to-html, html-to-xml, xml-to-html
545                        and hide-tor-exit-notation.
546 - The special header "X-Filter: No" now disables header filtering as well.
547 - Improved the filters img-reorder, js-annoyances, webbugs,
548   banners-by-size, banners-by-link and ie-exploits to make them
549   less likely to break anything.
550 - Removed outdated URL patterns in default.action and added new ones.
551 - Added redirection from http://p.p/user-manual to http://p.p/user-manual/
552 - Changed webinterface default values for hide-user-agent, hide-referrer
553   and set-image-blocker.
554
555 *** Version 3.0.5 Beta ***
556
557 - Windows version can be installed/started as a service.
558 - Windows icon stays blue when Privoxy is idle, green when busy.
559 - Integrated Fabian Keil's extensive patch.  See:
560   http://www.fabiankeil.de/sourcecode/privoxy/. Includes the
561   following new or significantly improved actions (among many
562   other improvements):
563
564      content-type-overwrite{}
565      crunch-client-header{string}
566      crunch-if-none-match
567      crunch-server-header{string}
568      fast-redirects{check-decoded-url}
569      filter-client-headers
570      filter-server-headers
571      force-text-mode
572      handle-as-empty-document
573      hide-accept-language{}
574      hide-content-disposition{}
575      hide-if-modified-since
576      hide-referrer{conditional-block}
577      overwrite-last-modified{}
578      redirect{URL}
579      treat-forbidden-connects-like-blocks
580
581 - Standard-compliant clients are prevented from displaying cached
582   copies of Privoxy's error messages after the cause of the problem
583   has gone.
584 - Improved DNS error handling.
585 - Multiple filter files can now be specified in config.
586 - Added jpeg filtering to defend against MS jpeg vulnerability MS04-028
587   with the new inspect-jpegs action.
588 - Removed the "arbitrary" 1000 filter limit - addresses tracker #911950
589 - Thanks to Jindrich Makovicka for a race condition fix for the log
590   file.  The race condition remains for non-pthread implementations.
591   Reference patch #1175720. Various other logging enhancements.
592 - A pile of assorted bug fixes, memory leaks, enhancements, etc.
593 - Moved Actions file reporting mechanism to SF tracker.
594 - Two new options for config: enable-remote-http-toggle and
595   forwarded-connect-retries.
596 - Trap unsupported FTP requests.
597 - Let text/xml be filtered.
598 - Numerous updates to default.action
599 - Increase the compiled in limit of trusted referrers from 64 to 512
600   (for trustfile users).
601
602 *** Version 3.0.3 ***
603
604 - Fixed yet another two memory leaks. Process growth seems stopped now.
605 - Further tightened security against malicious toggle-off links.
606 - Excluded text/plain MIME types from filtering. This fixes a
607   couple of client-crashing, download corruption and
608   Privoxy performance issues, whose root cause lies in
609   web servers labelling content of unknown type as text/plain.
610 - Assorted fixes for POSIX compliance, signal handling, graceful
611   termination, compiler warnings, OSX support, Win32 systray,
612   error logging, hostname wildcards, correct detection of NetBSD.
613 - Workarounds for client (iTunes etc) and server (PHP < 4.2.3) bugs
614   including the notorious "blank page" problem.
615 - Various filter improvements; most notably the unsolicited-popups
616   filter became less destructive
617 - Major revamp of the actions file
618
619 *** Version 3.0.2 ***
620
621 - Fixed two memory leaks, one serious
622 - Fixed bug in pcrs which could cause crashes with user-defined filters
623 - Fixed bug in domain name matching
624 - Assorted small fixes (Win32 menu, CGI URL editor, ..)
625 - Added basic support for the OPTIONS and TRACE http methods
626 - Added workaround for Bug in Mac OSX that made Privoxy crash occasionally
627 - Refined the default action file through >400 items of user feedback
628 - Filter changes:
629   - Assorted refinements, optimizations and fixes in the js-annoyances,
630     img-reorder, banners-by-size, banners-by-link, webbugs, refresh-tags,
631     html-annoyances, content-cookies and fun filters
632   - Replaced filter "popups" by choice between two modes:
633     - "unsolicited-popups" tries to catch only the unsolicited ones
634     - "all-popups" tries to kill them all (as before)
635   - New filter "tiny-textforms" Help those tiny or hard-wrap textareas.
636   - New filter "jumping-windows" that prevents windows from resizing
637     and moving themselves
638   - New filter "demoronizer" which fixes MS's abuse of std charsets
639     (common cases anyway).
640   - Replaced "nimda" with more general "ie-exploits" filter in which
641     all filters for exploits shall be collected
642 - Improved cookie logging
643 - Rewrote make install target. Added uninstall and install-strip
644   targets.
645 - Fixed a potential (application-level, NOT OS-level!) security
646   problem involving remote toggling and action file manipulation
647   by mailicious websites.
648 - Added ability to chroot (thanks to Sviatoslav Sviridov)
649 - Added more action aliases for prehistoric action names
650 - Add Slackware support to Makefile.
651
652 *** Version 3.0  ***
653
654 - Fixed Windows startmenu items, log window and tray icon menus.
655 - Added warning for bogus install target
656 - Added quicktime-kioskmode filter and improved frameset-borders
657 - Updated default.action based on latest feedback
658 - New PDF doc build process
659 - Add a user contrib module to cvs:
660   http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/ijbswa/contrib/
661
662 *** Version 2.9.18  ***
663
664 - Added workaround for IE bug that broke CGI interface
665 - Bugfix: String actions now reliably editable through CGI interface
666 - Three filters fixed (again!)
667 - Assorted small fixes and doc enhancements
668
669 *** Version 2.9.16  ***
670
671 - Major revamp of default.action to get rid of years of cruft.
672 - Same for default.filter
673 - Re-design and major improvements to the CGI editor interface.
674 - Address spurious 'out of memory' error due to incorrect file permissions.
675 - Impose buffer limits while reading client and server headers.
676 - Better memory and CPU optimization.
677 - Add Conectiva Linux package.
678 - user-manual directive added to config for help links from within CGI
679   editor.
680 - Multiple actions files can now be specified in config.
681 - Actions files are changed to: default.action, standard.action, and
682   user.action. user.action is for personal/local configuration.
683 - The usual many small and miscellaneous bug and security fixes.
684
685 *** Version 2.9.14 Beta ***
686
687 - Fix Solaris compile problem (gateway.h and filters.h)
688 - Makefile fixes for Solaris, FreeBSD (?)
689 - Fix build failure where certain features were disabled.
690 - 'blocked-compact' template is removed. Various CGI improvements,
691   including an adaptive 'blocked' template.
692 - Various tweaks for actions file to get ready for stable 3.0
693 - Included a 'Bookmarklet' and PHP scripts for reporting actions file
694   problems via web interface at privoxy.org. Accessed via internal CGIs.
695 - Include cgi-style.css for templates.
696 - #include mechansim for common text in templates
697 - Various other minor fixes.
698
699 *** Version 2.9.13 Beta ***
700
701 - *NEWS*: The project has been renamed to Privoxy! The new name is
702   reflected throughout (file locations, etc).
703 - ijb.action is now default.action. re_filterfile is now
704   default.filter.
705 - http://i.j.b/ is now http://p.p/
706 - The 'logo' option for replacing ad iamges is removed now. 'Pattern'
707   (checkerboard) is now the default.
708 - RPM spec file make over.
709
710
711 *** Version 2.9.12 Beta ***
712
713 - **READ**: The default listening PORT is NOW 8118!!! Changed from
714   8000 due to conflict with NAS (Network Audio Server, whatever that
715   is.)
716 - More CGI actions editor fixes and improvements.
717 - Win32 command line fix ups.
718 - re_filterfile now has modular sections that can be activated on a
719   per site basis. Some new goodies there too.
720 - +filter now takes arguments to match FILTER sections in re_filterfile
721   for even more flexibility.
722 - Added a new image blocker option: +image-blocker{pattern}, which
723   displays a checkerboard patthern and scales better than the logo.
724 - PNG images will be used in place of GIF for JB built-in images
725   if configured with --enable-no-gif.
726 - Clean up compiler warnings (mostly).
727 - Improved handling of failed DNS lookups & diagnostics for failed bind
728   to listen socket
729 - Made --no-daemon mode log to tty instead of logfile.
730 - Various spec file and init script cleanups and improvements (Redhat and
731   SuSE).
732 - CGI Editor works on OS/2 now.
733 - Fix restart failure where sockets were in TIME_WAIT.
734 - Fixes for actions cgi editor, make sure we have right file.
735 - A --pidfile command line option now, in addition to --help,
736   --version, --no-daemon, --user and configfile. --no-daemon replaces
737   the former -d option and _DEBUG define. --user will drop privileges
738   to the specified user.
739 - Signal handling cleanups (*nix).
740 - CGI actions editor improvements and fixes.
741 - Error handling improvements, especially out of memory.
742 - Default re_filterfile fix that caused spurious IJB logos
743   (instead of 'blank').
744 - configure.in threading fixes for Solaris.
745 - Various other minor fixes.
746
747
748 *** Version 2.9.11 Beta Changes ***
749
750 - Add "session" cookie concept where cookies exist for the life
751   of that browser session only (ie never goes to disk).
752 - Checks for correct header length.
753 - Fix user:pass@host.domain.com auth bug.
754 - Better signal handling on *nix.
755 - Fix CFLAGS hard-coded in configure.in
756 - Fix threading bug re: gethostbyname() that caused random
757   URLs to fail in some cases.
758
759
760 *** Version 2.9.11 Alpha Changes ***
761
762 - A web-based editor for the actions file is included (go to http://i.j.b/).
763 - Web-based toggle IJB on/off support.
764 - Cookie handling has changed - the new +no-cookies-keep feature is now the
765 default.
766 - actionsfile is renamed to ijb.action.
767 - junkbstr.txt is now config.txt on Win32.
768 - Support for running IJB as a UNIX daemon process has improved.
769 - Unix daemon now returns error code on failed start.
770 - Timestamps in logfile and jarfile now.
771 - Fix for the Netscape bug reintroduced in 2.9.9.
772 - make should now abort if gmake (GNU make) not present.
773 - Many other minor bugfixes
774 - Start a ChangeLog :)
775
776
777
778 *** Version 2.9.3 pre-Alpha Changes ***
779
780 - Amiga support (completely untested by me - I don't have an Amiga)
781 - "tinygif 3" support (redirects blocked images to a specified URL, so
782 the browser doesn't have to load and cache many copies of the same
783 image).
784 - one case where there were both local and global "referrer" variables
785 (yuck!) clarified by renaming the local one to "refer".
786 - Fixed some places where close() was used instead of close_socket().
787 Thanks to Jörg Strohmayer (joergs at users.sourceforge.net) for these.
788 - Temporary hack to get FORCE_LOAD to work with IE.  I just lowercased the
789 FORCE_LOAD_PREFIX.  Needs fixing properly.
790 - Most URLs hardcoded into Junkbuster were changed to go through a script
791 e.g. http://ijbswa.sourceforge.net/redirect.php?v=2.9.3&to=faq
792 The only other URLs left are the GNU GPL:
793   http://www.fsf.org/copyleft/gpl.html
794 and the home page:
795   http://ijbswa.sourceforge.net/
796 ... and various URLs which will be intercepted by Junkbuster anyway.
797 TODO: Still need to do something with the URLs in Junkbuster Corp's
798 copyright/trademark notice on the bottom of the show-proxy-args page.
799 - PCRE or GNU Regex is now a #define option.
800
801
802 *** Version 2.9.2 pre-Alpha Changes ***
803
804 - Andreas applied the latest version of the FORCE patch.
805
806
807 *** Version 2.9.1 pre-Alpha Changes ***
808
809 - in parsers.c, fixed two #ifdef FORCE to #ifdef FORCE_LOAD
810 (BTW: I think FORCE is precise enough, since loading remote
811 data is the whole purpose of a proxy..)
812 - Set the FORCE_PREFIX (back) to 'IJB-FORCE-LOAD-'. While 'noijb.'
813 is more elegant and looks like a hostname in the URL, it doesn't
814 make clear to the inexperienced user that the proxy is bypassed. It
815 also has a higher name collision risk.
816 - Filled in the function header templates for my functions in
817 parsers.c (again). They obviously got lost in our current
818 patch war ;-)
819 - Cut the credit for the §-referrer-option from the config file,
820 that Stefan had placed there.
821 - Improved the re_filterfile
822
823
824 *** Version 2.9.0 pre-Alpha Changes ***
825
826 -  Now use PCRE, not GNU REGEX.  I have not yet had chance to check the
827 syntax of the block/image/cookie file to ensure that they match what
828 is expected - however they seem to work.
829 -  Replaced "configure" script with one generated by "autoconf".  Also
830 use a header "config.h" (was ijbconfig.h in my previous release) for
831 the #defines.  "config.h" is now generated with "autoheader" from
832 "acconfig.h" and "configure.in".  (Note that to install you do not
833 need autoconf or autoheader - just run "./configure".)
834 To see command-line options, run "./configure --help".
835 This is my first ever autoconf script, so it has some rough edges
836 (how PCRE is handled is the roughest).
837 -  Error logging code replaced with new module errlog.c, based on the
838 one from JunkbusterMT (but with the threading code removed).
839 -  Most of Rodney's 0.21 and 0.21A patches applied. (Marked *).  I did not
840 apply all of these, since I had already independently done conditional
841 popup file, conditional image file, and integration of popup code.
842 - ACL, Jar and trust files conditionally compiled.
843 - New source file headers.
844 - Various cosmetic changes.  (But I have not consistently ordered the
845 config files - I think that's worthwhile, but it's 1am and I want to
846 get this released!)
847 - RCS tags on .h files.
848 -  RCS tags are const char[] rather than const char *.  (Saves 4 bytes
849 per tag ;-)
850 - VC++ project files renamed to vc_junkbuster.*.
851 - show-proxy-args now shows status of all conditionals, not just REGEX
852 - Various functions moved around.  Most notably all the system-specific
853 sockets code which was spread between jcc.c, bind.c, and connect.c,
854 has been moved to "jbsockets.c".  The non-system-specific code from
855 connect.c and socks4.c has been movet to "gateway.c".  Also, the
856 config file loader and the global variables it writes to have been
857 moved to "loadcfg.c".  (Maybe this should go into loaders.c?)
858 And candidate for the "worst filename ever" award is "miscutil.c",
859 which contains, well, miscellaneous utility functions like zalloc.
860 (Suggestions for a better name for this file are welcome!)
861 - Loaders now use a common function to read a line and skip comments,
862 and this function also stores the proxy_args.
863 - Added ./junkbuster --help     (Not for Win32 GUI)
864 - Added ./junkbuster --version  (Not for Win32 GUI)
865 - Win32 resources are now all marked as "U.S. English", rather than
866 being a mix of "U.S. English", "U.K. English" and "Irish English".
867 - Version number changes to 2.9.0
868
869
870 ----------------------------------------------------------------------
871 Copyright   :  Written by and Copyright (C) 2001-2010 the
872                Privoxy team. http://www.privoxy.org/
873
874                Based on the Internet Junkbuster originally written
875                by and Copyright (C) 1997 Anonymous Coders and
876                Junkbusters Corporation.  http://www.junkbusters.com/
877
878                This program is free software; you can redistribute it
879                and/or modify it under the terms of the GNU General
880                Public License as published by the Free Software
881                Foundation; either version 2 of the License, or (at
882                your option) any later version.
883
884                This program is distributed in the hope that it will
885                be useful, but WITHOUT ANY WARRANTY; without even the
886                implied warranty of MERCHANTABILITY or FITNESS FOR A
887                PARTICULAR PURPOSE.  See the GNU General Public
888                License for more details.
889
890                The GNU General Public License should be included with
891                this file.  If not, you can view it at
892                http://www.gnu.org/copyleft/gpl.html
893                or write to the Free Software Foundation, Inc., 59
894                Temple Place - Suite 330, Boston, MA  02111-1307, USA.