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