]> granicus.if.org Git - apache/blob - CHANGES
CHANGES: follow up to r1662245: Add PR number.
[apache] / CHANGES
1                                                          -*- coding: utf-8 -*-
2 Changes with Apache 2.5.0
3
4   *) SECURITY: CVE-2015-0228 (cve.mitre.org)
5      mod_lua: A maliciously crafted websockets PING after a script
6      calls r:wsupgrade() can cause a child process crash. 
7      [Edward Lu <Chaosed0 gmail.com>]
8
9   *) mod_deflate: A misplaced check prevents limiting small bodies with the
10      new inflate limits. PR56872. [Edward Lu, Eric Covener, Yann Ylavic]
11
12   *) ab: Add missing longest request (100%) to CSV export.
13      [Marcin Fabrykowski <bugzilla fabrykowski.pl>]
14
15   *) core: Add expression support to ErrorDocument. Switch from a fixed
16      sized 664 byte array per merge to a hash table. [Graham Leggett]
17
18   *) mod_ssl: Add the SSL_CLIENT_CERT_RFC4523_CEA variable, which provides
19      a combination of certificate serialNumber and issuer as defined by
20      CertificateExactMatch in RFC4523. [Graham Leggett]
21
22   *) suexec: Filter out the HTTP_PROXY environment variable because it is
23      treated as alias for http_proxy by some programs. [Stefan Fritsch]
24
25   *) mod_proxy_http: Use the "Connection: close" header for requests to
26      backends not recycling connections (disablereuse), including the default
27      reverse and forward proxies.  [Yann Ylavic]
28
29   *) mod_proxy_http: Don't expect the backend to ack the "Connection: close" to
30      finally close those not meant to be kept alive by SetEnv proxy-nokeepalive
31      or force-proxy-request-1.0, and respond with 502 instead of 400 if its
32      Connection header is invalid.  [Yann Ylavic]
33
34   *) mod_proxy(es): Avoid error response/document handling by the core if some
35      input filter already did it while reading client's payload. [Yann Ylavic]
36
37   *) http: Make ap_die() robust against any HTTP error code and not modify
38      response status (finally logged) when nothing is to be done. [Yann Ylavic]
39
40   *) mod_proxy_connect/wstunnel: If both client and backend sides get readable
41      at the same time, don't lose errors occuring while forwarding on the first
42      side when none occurs next on the other side, and abort.  [Yann Ylavic]
43
44   *) mod_lua: After a r:wsupgrade(), mod_lua was not properly
45      responding to a websockets PING but instead invoking the specified 
46      script. PR57524. [Edward Lu <Chaosed0 gmail.com>]
47
48   *) mod_macro: Clear macros before initialization to avoid use-after-free
49      on startup or restart when the module is linked statically. PR 57525
50      [apache.org tech.futurequest.net, Yann Ylavic]
51
52   *) mod_proxy_http: Don't establish or reuse a backend connection before pre-
53      fetching the request body, so to minimize the delay between it is supposed
54      to be alive and the first bytes sent: this is a best effort to prevent the
55      backend from closing because of idle or keepalive timeout in the meantime.
56      Also, handle a new "proxy-flushall" environment variable which allows to
57      flush any forwarded body data immediately. PR 56541+37920. [Yann Ylavic]
58
59   *) core: Define and UnDefine are no longer permitted in
60      directory context. Previously they would always be evaulated
61      as the configuration was read without regard for the directory
62      context. [Eric Covener]
63
64   *) config: For directives that do not expect any arguments, enforce
65      that none are specified in the configuration file. 
66      [Joachim Zobel <jzobel heute-morgen.de>, Eric Covener]
67
68   *) mod_ssl: 'SSLProtocol ALL' was being ignored in virtual host context. 
69      PR 57100.  [Michael Kaufmann <apache-bugzilla michael-kaufmann.ch>,
70      Yann Ylavic]
71
72   *) mod_alias: Introduce expression parser support for Alias, ScriptAlias
73      and Redirect. [Graham Leggett]
74
75   *) mod_rewrite: Improve 'bad flag delimeters' startup error by showing
76      how the input was tokenized.  PR 56528. [Edward Lu <Chaosed0 gmail.com>]
77
78   *) mod_ssl: Add support for extracting subjectAltName entries of type
79      rfc822Name and dNSName into SSL_{CLIENT,SERVER}_SAN_{Email,DNS}_n
80      environment variables. Also addresses PR 57207. [Kaspar Brand]
81
82   *) mod_proxy: Don't put non balancer-member workers in error state by
83      default for connection or 500/503 errors, and honor status=+I for
84      any error.  PR 48388.  [Yann Ylavic]
85
86   *) mod_socache_memcache: Pass expiration time through to memcached. PR 55445.
87      [Faidon Liambotis <paravoid debian.org>, Joe Orton]
88
89   *) split-logfile: Fix perl error:  'Can't use string ("example.org:80") 
90      as a symbol ref while "strict refs"'. PR 56329.
91      [Holger Mauermann <mauermann gmail.com>]
92
93   *) mod_proxy_fcgi: Enable opt-in to TCP connection reuse by explicitly
94      setting proxy option disablereuse=off. [Eric Covener] PR 57378.
95  
96   *) mod_http: Fix incorrect If-Match handling. PR 57358.
97      [Kunihiko Sakamoto <ksakamoto google.com>]
98
99   *) mod_ssl: Fix renegotiation failures redirected to an ErrorDocument.
100      PR 57334.  [Yann Ylavic].
101
102   *) core: Fix -D[efined] or <Define>[d] variables lifetime accross restarts. 
103      PR 57328.  [Armin Abfalterer <a.abfalterer gmail.com>, Yann Ylavic].
104
105   *) mod_proxy_ajp: Fix client connection errors handling and logged status
106      when it occurs.  PR 56823.  [Yann Ylavic]
107
108   *) ap_expr: Add filemod function for checking file modification dates
109      [Daniel Gruno]
110      
111   *) core: Add CGIPassAuth directive to control whether HTTP authorization
112      headers are passed to scripts as CGI variables.  PR 56855.  [Jeff 
113      Trawick]
114
115   *) mod_rewrite: Improve relative substitutions in per-directory/htaccess
116      context for directories found by mod_userdir and mod_alias.  These no
117      longer require RewriteBase to be specified. [Eric Covener]
118
119   *) mod_authnz_ldap: Resolve crashes with LDAP authz and non-LDAP authn since 
120      r1608202. [Eric Covener]
121  
122   *) core: Support custom ErrorDocuments for HTTP 501 and 414 status codes.
123      PR 57167 [Edward Lu <Chaosed0 gmail.com>]
124
125   *) mod_proxy_connect: Don't issue AH02447 on sockets hangups, let the read
126      determine whether it is a normal close or a real error. PR 57168. [Yann
127      Ylavic]
128
129   *) mod_buffer: Forward flushed input data immediatly and avoid (unlikely)
130      access to freed memory. [Yann Ylavic, Christophe Jaillet]
131
132   *) mod_proxy: Use the correct server name for SNI in case the backend
133      SSL connection itself is established via a proxy server.
134      PR 57139 [Szabolcs Gyurko <szabolcs gyurko.org>]
135
136   *) core: Ensure that httpd exits with an error status when the MPM fails
137      to run.  [Yann Ylavic]
138
139   *) apreq: Content-Length header should be always interpreted as a decimal.
140      Leading 0 could be erroneously considered as an octal value. PR 56598.
141      [Chris Card <ctcard hotmail com>]
142   
143   *) mod_proxy: Now allow for 191 character worker names, with non-fatal
144      errors if name is truncated. PR53218. [Jim Jagielski]
145
146   *) mod_ssl: Add optional function "ssl_get_tls_cb" to allow support
147      for channel bindings.  [Simo Sorce <simo redhat.com>]
148
149   *) mod_proxy_wstunnel: Concurrent websockets messages could be 
150      lost or delayed with ProxyWebsocketAsync enabled.  
151      [Edward Lu <Chaosed0 gmail.com>]
152
153   *) core, mod_info: Add compiled and loaded PCRE versions to version
154      number display.  [Rainer Jung]
155
156   *) mpm_winnt: Accept utf-8 (Unicode) service names and descriptions for
157      internationalization.  [William Rowe]
158
159   *) mpm_winnt: Normalize the error and status messages emitted by service.c,
160      the service control interface for Windows.  [William Rowe]
161   
162   *) mod_authnz_ldap: Return LDAP connections to the pool before the handler
163      is run, instead of waiting until the end of the request. [Eric Covener]
164
165   *) mod_ldap: Be more conservative with the last-used time for
166      LDAPConnectionPoolTTL. PR54587 [Eric Covener]
167
168   *) mod_deflate: Don't fail when flushing inflated data to the user-agent
169      and that coincides with the end of stream ("Zlib error flushing inflate
170      buffer"). PR 56196. [Christoph Fausak <christoph fausak glueckkanja.com>]
171
172   *) mod_proxy: Don't limit the size of the connectable Unix Domain Socket
173      paths. [Christophe Jaillet, Yann Ylavic]
174
175   *) mod_ssl: dump SSL IO/state for the write side of the connection(s),
176      like reads (level TRACE4). [Yann Ylavic]
177
178   *) mod_proxy: Shutdown (eg. close notify) the backend connection before
179      closing. [Yann Ylavic] 
180
181   *) mpm_event[opt]: Send the SSL close notify alert when the KeepAliveTimeout
182      expires. PR54998. [Yann Ylavic] 
183
184   *) mod_ssl: Ensure that the SSL close notify alert is flushed to the client.
185      PR54998. [Tim Kosse <tim.kosse filezilla-project.org>, Yann Ylavic] 
186
187   *) mod_log_config: Add GlobalLog to allow a globally defined log to
188      be inherited by virtual hosts that define a CustomLog.
189      [Edward Lu <Chaosed0 gmail.com>]
190
191   *) MPMs: Support SO_REUSEPORT to create multiple duplicated listener
192      records for scalability. [Yingqi Lu <yingqi.lu@intel.com>,
193      Jeff Trawick, Jim Jagielski]
194
195   *) mod_proxy_html: support automatic detection of doctype and processing
196      of FPIs.  PR56285 [Micha Lenk <micha lenk info>, Nick Kew]
197
198   *) mod_proxy_html: skip documents shorter than 4 bytes
199      PR 56286 [Micha Lenk <micha lenk info>]
200
201   *) mod_proxy_fdpass: Fix computation of the size of 'struct sockaddr_un'
202      when passed to 'connect()'.
203      [Graham Dumpleton <grahamd apache org>]
204
205   *) core: Add ap_mpm_resume_suspended() API to allow a suspended connection
206      to resume. PR56333 
207      [Artem <artemciy gmail.com>, Edward Lu <Chaosed0 gmail.com>]
208
209   *) core: Add ap_mpm_register_socket_callback_timeout() API. [Eric Covener]
210
211   *) mod_proxy_wstunnel: Honor ProxyWebsocketIdleTimeout in asynchronous
212      processing mode. [Eric Covener]
213
214   *) mod_authnz_ldap: Fail explicitly when the filter is too long. Remove
215      unnecessary apr_pstrdup() and strlen(). [Graham Leggett]
216
217   *) Add the ldap-search option to mod_authnz_ldap, allowing authorization
218      to be based on arbitrary expressions that do not include the username.
219      [Graham Leggett]
220
221   *) Add the ldap function to the expression API, allowing LDAP filters and
222      distinguished names based on expressions to be escaped correctly to
223      guard against LDAP injection. [Graham Leggett]
224
225   *) Add module mod_ssl_ct, which provides an implementation of Certificate
226      Transparency (RFC 6962) for httpd.  [Jeff Trawick]
227
228   *) mod_proxy: Preserve original request headers even if they differ
229      from the ones to be forwarded to the backend. PR 45387.
230      [Yann Ylavic]
231
232   *) mod_remoteip: Prevent an external proxy from presenting an internal
233      proxy. PR 55962. [Mike Rumph]
234
235   *) mod_ssl: Add hooks to allow other modules to perform processing at
236      several stages of initialization and connection handling.  See
237      mod_ssl_openssl.h.  [Jeff Trawick]
238
239   *) mod_proxy_wstunnel: Avoid sending error responses down an upgraded
240      websockets connection as it is being close down. [Eric Covener]
241   
242   *) mod_proxy_wstunnel: Allow the administrator to cap the amount
243      of time a synchronous websockets connection stays idle with 
244      ProxyWebsocketIdleTimeout. [Eric Covener]
245
246   *) mod_proxy_wstunnel: Change to opt-in for asynchronous support, adding 
247      directives ProxyWebsocketAsync and ProxyWebsocketAsyncDelay. 
248      [Eric Covener]
249
250   *) mod_proxy_wstunnel: Stop leaking websockets backend connections under
251      event MPM (trunk-only). [Eric Covener]
252
253   *) mod_proxy_http: Add detach_backend hook (potentially usable
254      in other proxy scheme handlers).  [Jeff Trawick]
255
256   *) mod_deflate: Add DeflateAlterETag to control how the ETag
257      is modified. The 'NoChange' parameter mimics 2.2.x behavior.
258      PR 45023, PR 39727. [Eric Covener]
259
260   *) mod_rewrite: Add 'BNF' (backreferences-no-plus) flag to RewriteRule to 
261      allow spaces in backreferences to be encoded as %20 instead of '+'.
262      [Eric Covener]
263      
264   *) mod_rewrite: Support an optional list of characters to escape in the 
265      argument for the 'B' (escape backreferences) flag. [Eric Covener]
266
267   *) mod_dir: Default to 2.2-like behavior and skip execution when method is
268      neither GET nor POST, such as for DAV requests. PR 54914. [Chris Darroch]
269
270   *) mod_rewrite: Rename the handler that does per-directory internal 
271      redirects to "rewrite-redirect-handler" from "redirect-handler" so
272      it is less ambiguous and less likely to be reused. [Eric Covener]
273
274   *) mod_rewrite: Protect against looping with the [N] flag by enforcing a 
275      default limit of 10000 iterations, and allowing each rule to change its
276      limit. [Eric Covener]
277
278   *) mod_ssl: Fix config merging of SSLOCSPEnable and SSLOCSPOverrideResponder.
279      [Jeff Trawick]
280
281   *) Add HttpContentLengthHeadZero and HttpExpectStrict directives.
282      [Yehuda Sadeh <yehuda inktank com>, Justin Erenkrantz]
283
284   *) mod_ssl: Add -t -DDUMP_CA_CERTS option which dumps the filenames of all
285      configured SSL CA certificates to stdout the same way as DUMP_CERTS does.
286      [Jan Kaluza]
287
288   *) mod_ssl: Don't flush when an EOS is received. Prepares mod_ssl
289      to support write completion. [Graham Leggett]
290
291   *) core: Add parse_errorlog_arg callback to ap_errorlog_provider
292      to allow providers to check the ErrorLog argument. [Jan Kaluza]
293
294   *) mod_cgid: Use the servers Timeout for each read from a CGI script,
295      allow override with new CGIDRequestTimeout directive. PR43494
296      [Eric Covener, Toshikuni Fukaya <toshikuni-fukaya cybozu co jp>]
297
298   *) core: ensure any abnormal exit is reported to stderr if it's a tty.
299      PR 55670 [Nick Kew]
300
301   *) mod_lua: Let the Inter-VM get/set functions work with a global 
302      shared memory pool instead of a per-process pool. [Daniel Gruno]
303
304   *) ldap: Support ldaps when using the Microsoft LDAP SDK.
305      PR 54626. [Jean-Frederic Clere]
306
307   *) mod_proxy: Add ap_connection_reusable() for checking if a connection
308      is reusable as of this point in processing.  [Jeff Trawick]
309
310   *) mod_authnz_ldap: Change default value of AuthLDAPMaxSubGroupDepth to 0
311      to avoid performance problems when subgroups aren't in use. [Eric Covener]
312
313   *) mod_syslog: New module implementing syslog ap_error_log provider.
314      Previously, this code was part of core, now it's in separate module.
315      [Jan Kaluza]
316
317   *) core: Add ap_errorlog_provider to make ErrorLog logging modular. Move
318      syslog support from core to new mod_syslog. [Jan Kaluza]
319
320   *) mod_status, mod_echo: Fix the display of client addresses.
321      They were truncated to 31 characters which is not enough for IPv6 addresses.
322      PR 54848 [Bernhard Schmidt <berni birkenwald de>]
323
324   *) core: Add ap_log_data(), ap_log_rdata(), etc. for logging buffers.
325      [Jeff Trawick]
326
327   *) mod_unique_id: Use output of the PRNG rather than IP address and
328      pid, avoiding sleep() call and possible DNS issues at startup,
329      plus improving randomness for IPv6-only hosts.
330      [Jan Kaluza <jkaluza redhat.com>]
331
332   *) mod_authnz_ldap: Support primitive LDAP servers that do not accept
333      filters, such as "SDBM-backed LDAP" on z/OS, by allowing a special
334      filter "none" to be specified in AuthLDAPURL. [Eric Covener]
335
336   *) mod_file_cache: mod_file_cache should be able to serve files that
337      haven't had a Content-Type set via e.g. mod_mime. [Eric Covener]
338
339   *) core: merge AllowEncodedSlashes from the base configuration into
340      virtual hosts. [Eric Covener]
341
342   *) AIX: Install DSO's with "cp" instead of "install" in instdso.sh
343      [Eric Covener]
344
345   *) mod_ldap: Don't keep retrying if a new LDAP connection times out.
346      [Eric Covener]
347
348   *) mod_deflate: permit compilation of mod_deflate against a zlib that has
349      been configured with -D Z_PREFIX, which redefines the token "deflate".
350      [Eric Covener]
351
352   *) mod_auth_digest: Use the secret when generating nonces in all cases and
353      not only when AuthName is used in .htaccess files (this change may cause
354      problems if used with round robin load balancers). Don't regenerate the
355      secret on graceful restarts. PR 54637  [Stefan Fritsch]
356
357   *) core: Remove apr_brigade_flatten(), buffering and duplicated code
358      from the HTTP_IN filter, parse chunks in a single pass with zero copy.
359      Reduce memory usage by 48 bytes per request. [Graham Leggett]
360
361   *) core: Stop the HTTP_IN filter from attempting to write error buckets
362      to the output filters, which is bogus in the proxy case. Create a
363      clean mapping from APR codes to HTTP status codes, and use it where
364      needed. [Graham Leggett]
365
366   *) mod_proxy: Ensure network errors detected by the proxy are returned as
367      504 Gateway Timout as opposed to 502 Bad Gateway, in order to be
368      compliant with RFC2616 14.9.4 Cache Revalidation and Reload Controls.
369
370   *) mod_dav: mod_dav overrides dav_fs response on PUT failure. PR 35981
371      [Basant Kumar Kukreja <basant.kukreja sun.com>, Alejandro Alvarez
372      <alejandro.alvarez.ayllon cern.ch>]
373
374   *) mod_ldap: LDAP connections used for authentication were not respecting
375      LDAPConnectionPoolTimeout.  PR 54587
376
377   *) core: ap_rgetline_core now pulls from r->proto_input_filters.
378
379   *) mod_proxy_html: process parsed comments immediately. 
380      Fixes bug where parsed comments may be lost. [Nick Kew]
381
382   *) mod_proxy_html: introduce doctype for HTML 5 [Nick Kew]
383
384   *) mod_proxy_html: fix typo-bug processing "strict" vs "transitional"
385      HTML/XHTML [Nick Kew]
386
387   *) core: Add option to add valgrind support. Use it to reduce false positive
388      warnings in mod_ssl. [Stefan Fritsch]
389
390   *) mod_authn_file, mod_authn_dbd, mod_authn_dbm, mod_authn_socache:
391      Cache the result of the most recent password hash verification for every
392      keep-alive connection. This saves some expensive calculations.
393      [Stefan Fritsch]
394
395   *) http: Remove support for Request-Range header sent by Navigator 2-3 and
396      MSIE 3. [Stefan Fritsch]
397
398   *) core, http: Extend HttpProtocol with an option to enforce stricter HTTP
399      conformance or to only log the found problems. [Stefan Fritsch]
400
401   *) core: Correctly parse an IPv6 literal host specification in an absolute
402      URL in the request line. [Stefan Fritsch]
403
404   *) EventOpt MPM
405
406   *) core: Add LogLevelOverride directive that allows to override the
407      loglevel for clients from certain IPs. This also works for things
408      like the SSL handshake where <If> LogLevel ... </If> is evaluated
409      too late. [Stefan Fritsch]
410
411   *) core: Add new directive Warning to issue warnings from a configuration
412      file. Both Warning and Error now generate a timestamped log message.
413      [Fabien Coelho] 
414
415   *) ap_expr: Add SERVER_PROTOCOL_VERSION, ..._MAJOR, and ..._MINOR
416      variables. [Stefan Fritsch]
417
418   *) core: New directive RegisterHttpMethod for registering non-standard
419      HTTP methods. [Stefan Fritsch]
420
421   *) core: New directive HttpProtocol which allows to disable HTTP/0.9
422      support. [Stefan Fritsch]
423
424   *) mod_allowhandlers: New module to forbid specific handlers for specific
425      directories. [Stefan Fritsch]
426
427   *) mod_systemd: New module, for integration with systemd on Linux.
428      [Jan Kaluza <jkaluza redhat.com>]
429
430   *) WinNT MPM: Store pid and generation for each thread in scoreboard
431      to allow tracking of threads from exiting children via mod_status
432      or other such mechanisms.  [Jeff Trawick]
433
434   *) The following now respect DefaultRuntimeDir/DEFAULT_REL_RUNTIMEDIR:
435      - APIs: ap_log_pid(), ap_remove_pid, ap_read_pid()
436      - core: the scoreboard (ScoreBoardFile), pid file (PidFile), and
437        mutexes (Mutex)
438      - mod_cache: thundering herd lock directory
439      - mod_lbmethod_heartbeat, mod_heartmonitor: heartbeat storage file
440      - mod_ldap: shared memory cache
441      - mod_socache_shmcb, mod_socache_dbm: shared memory or dbm for cache
442      [Jeff Trawick]
443
444   *) suexec: Add --enable-suexec-capabilites support on Linux, to use
445      setuid/setgid capability bits rather than a setuid root binary.
446      [Joe Orton]
447
448   *) suexec: Add support for logging to syslog as an alternative to logging
449      to a file; configure --without-suexec-logfile --with-suexec-syslog.  
450      [Joe Orton]
451
452   *) mod_ssl: Add support for TLS Next Protocol Negotiation.  PR 52210.
453      [Matthew Steele <mdsteele google.com>]
454
455   *) cross-compile: allow to provide CC_FOR_BUILD so that gen_test_char will
456      be compiled by the build compiler instead of the host compiler.
457      Also set CC_FOR_BUILD to 'cc' when cross-compilation is detected.
458      PR 51257. [Guenter Knauf]
459
460   *) core: In maintainer mode, replace apr_palloc with a version that
461      initializes the allocated memory with non-zero values, except if
462      AP_DEBUG_NO_ALLOC_POISON is defined. [Stefan Fritsch]
463
464   *) mod_policy: Add a new testing module to help server administrators
465      enforce a configurable level of protocol compliance on their
466      servers and application servers behind theirs. [Graham Leggett]
467
468   *) mod_firehose: Add a new debugging module able to record traffic
469      passing through the server in such a way that connections and/or
470      requests be reconstructed and replayed. [Graham Leggett]
471
472   *) mod_noloris
473
474   *) APREQ
475
476   *) Simple MPM
477
478   *) mod_serf
479
480   [Apache 2.5.0-dev includes those bug fixes and changes with the
481    Apache 2.4.xx tree as documented below, except as noted.]
482
483 Changes with Apache 2.4.x and later:
484
485   *) http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/CHANGES?view=markup
486
487 Changes with Apache 2.2.x and later:
488
489   *) http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/CHANGES?view=markup
490
491 Changes with Apache 2.0.x and later:
492
493   *) http://svn.apache.org/viewvc/httpd/httpd/branches/2.0.x/CHANGES?view=markup
494