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