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