2 Changes with Apache 2.5.1
4 *) mod_noloris: complete build setup. [Rainer Jung]
6 *) mod_md: fix compilation of helper binary a2md. [Rainer Jung]
8 *) core: fix pcre feature detection in configure when using pcre2. [Rainer Jung]
10 Changes with Apache 2.5.0-alpha
12 *) mpm_event: avoid a very unlikely race condition between the listener and
13 the workers when the latter fails to add a connection to the pollset.
16 *) mod_macro: fix usability of globally defined macros in .htaccess files.
17 PR 57525. [Jose Kahan <jose w3.org>, Yann Ylavic]
19 *) mod_md: v1.0.1, ServerName/Alias names from pure-http: virtual hosts are no longer
20 auto-added to a Managed Domain. Error counts of jobs are presisted. When the server
21 restarts (gracefully) any errored staging areas are purged to reset the signup/renewal
22 process. [Stefan Eissing]
24 *) htpasswd: Don't fail in -v mode if password file is unwritable.
27 *) core: A signal received while stopping could have crashed the main
28 process. PR 61558. [Yann Ylavic]
30 *) mod_md: v1.0.0, new config directive 'MDNotifyCmd' to hook in a program when Managed
31 Domains have obtained/renewed their certificates successfully. [Stefan Eissing]
33 *) mod_rewrite, core: add the Vary header when a condition evaluates to true
34 and the related RewriteRule is used in a Directory context
35 (triggering an internal redirect). [Luca Toscano]
37 *) mod_md: v0.9.9, fix for applying challenge type based on available ports. [Stefan Eissing]
39 *) mod_proxy_uwsgi: New UWSGI mod_proxy (sub)module contributed by unbit.com.
41 *) mod_http2: v0.10.12, removed optimization for mutex handling in bucket beams that
42 could lead to assertion failure in edge cases. [Stefan Eissing]
45 - Use of the new module flag
46 - Removed obsolete function from interface to mod_ssl.
47 - Fallback certificates has version set and no longer claims to be a CA. (re issue #32)
48 - MDRequireHttps now happens before any Redirect.
51 *) mod_authz_dbd: fix a segmentation fault if AuthzDBDQuery is not set.
52 PR 61546 [Lubos Uhliarik <luhliari redhat.com>]
54 *) mod_ssl: unshare SSLSrvConfigRec instances between base server and virtual hosts. This avoids
55 overwrites of later initializattions (vhost_id), selective disables by "SSLEngine addr-list"
56 and certificate/key pickup from mod_md. [Stefan Eissing]
58 *) mod_rewrite, core: Avoid the 'Vary: Host' response header when HTTP_HOST is
59 used in a condition that evaluates to true. PR 58231 [Luca Toscano, Yann Ylavic]
61 *) mod_md: v0.9.6: a "MDRequireHttps permament" configured domain automatically sends out
62 HSTS (rfc 6797) headers in https: responses. [Stefan Eissing]
64 *) mod_ssl: adding ssl_policies.h[.in] for policy cipher/protocol definitions. Use
65 update_policies.py to update manually from Mozilla JSON definitions at
66 https://statics.tls.security.mozilla.org/server-side-tls-conf.json
70 - New directive (srly: what do you expect at this point?) "MDMustStaple on|off" to control if
71 new certificates are requested with the OCSP Must Staple extension.
72 - Known limitation: when the server is configured to ditch and restart child processes, for example
73 after a certain number of connections/requests, the mod_md watchdog instance might migrate
74 to a new child process. Since not all its state is persisted, some messsages might appear a
75 second time in the logs.
76 - Adding checks when 'MDRequireHttps' is used. It is considered an error when 'MDPortMap 443:-'
77 is used - which negates that a https: port exists. Also, a warning is logged if no
78 VirtualHost can be found for a Managed Domain that has port 443 (or the mapped one) in
80 - New directive 'MDRequireHttps' for redirecting http: traffic to a Managed Domain, permanently
82 - Fix for using a fallback certificate on initial signup of a Managed Domain. Requires also
83 a changed mod_ssl patch (v5) to take effect.
84 - compatibility with libressl
87 *) mod_md: v0.9.2: new directive 'MDHttpProxy' to define a proxy for outgoing connection,
88 some minor bugfixes, twiddle the build system to avoid non-pic code generation.
91 *) mod_ssl: Adding option to set a list of addr:port specs, as used in VirtualHosts
92 to enable SSLEngine for all matching hosts. Updated documentation. [Stefan Eissing]
95 - various fixes in MDRenewWindow handling when specifying percent. Serialization changed. If
96 someone already used percent configurations, it is advised to change these to a new value,
97 reload and change back to the wanted ones.
98 - various fixes in handling of MDPrivateKeys when specifying 2048 bits (the default) explicitly.
99 - mod_md version removed from top level md_store.json file. The store has its own format version
100 to facilitate upgrades.
104 Certificate provisioning from Let's Encrypt (and other ACME CAs) for mod_ssl virtual hosts.
107 *) mod_ssl: add SSLPolicy (define/use) and SSLProxyPolicy directives plus documentation. Add
108 core definitions for policies 'modern', 'intermediate' and 'old', as defined by Mozilla
109 in <https://wiki.mozilla.org/Security/Server_Side_TLS>. [Stefan Eissing]
111 *) mod_md: new module for managing domains across VirtualHosts with ACME protocol
112 implementation for automated certificate signup and renewal. Default CA is
113 the test area of Let's Encrypt right now, so certificates root will not be valid.
114 Will be switched to the real service endpoint rather soon. If you need it now,
115 configure 'MDCertificateAuthority https://acme-v01.api.letsencrypt.org/directory'.
118 *) mod_proxy_fcgi: Add the support for mod_proxy's flushpackets and flushwait
119 parameters. [Luca Toscano, Ruediger Pluem, Yann Ylavic]
121 *) mod_rewrite: Add 'RewriteOptions LongURLOptimization' to free memory
122 from each set of unmatched rewrite conditions.
125 *) Allow the argument to <IfFile>, <IfDefine>, <IfSection>, <IfDirective>,
126 and <IfModule> to be quoted. This is primarily for the benefit of
127 <IfFile>. [Eric Covener]
129 *) Introduce request taint checking framework to prevent privilege
130 hijacking through .htaccess. [Nick Kew]
132 *) Add <IfDirective> and <IfSection> directives. [Joe Orton]
134 *) When using mod_status with the Event MPM, report the number of requests
135 associated with an active connection in the "ACC" field. Previously
136 zero was always reported with this MPM. PR60647. [Eric Covener]
138 *) mod_remoteip: Add support for PROXY protocol (code donated by Cloudzilla).
139 Add ability for PROXY protocol processing to be optional to donated code.
140 See also: http://www.haproxy.org/download/1.5/doc/proxy-protocol.txt
141 [Cloudzilla/roadrunner2@GitHub, Jim Jagielski, Daniel Ruggeri]
143 *) mod_remoteip: When overriding the useragent address from X-Forwarded-For,
144 zero out what had been initialized as the connection-level port. PR59931.
145 [Hank Ibell <hwibell gmail.com>]
147 *) mod_proxy_wstunnel: Reliably run before mod_proxy_http.
150 *) mod_proxy_protocol: Add server-side, front-end support for PROXY PROTOCOL
151 (http://blog.haproxy.com/haproxy/proxy-protocol/). [roadrunner2]
153 *) http: Allow unknown response status' lines returned in the form of
154 "HTTP/x.x xxx Status xxx". [Yann Ylavic]
156 *) core: Add <IfFile> configuration section to allow any file on disk to be
157 used as a conditional. [Edward Lu, Eric Covener]
159 *) mod_crypto: Add the all purpose crypto filters with support for HLS.
162 *) core: Drop an invalid Last-Modified header value coming
163 from a FCGI/CGI script instead of replacing it with Unix epoch.
164 Warn the users about Last-Modified header value replacements
165 and violations of the RFC.
166 [Yann Ylavic, Luca Toscano, William Rowe, Jacob Champion]
168 *) mod_dav: Allow other modules to become providers and add ACLs
170 [Jari Urpalainen <jari.urpalainen nokia.com>, Graham Leggett]
172 *) mod_dav: Add dav_begin_multistatus, dav_send_one_response,
173 dav_finish_multistatus, dav_send_multistatus, dav_handle_err,
174 dav_failed_proppatch, dav_success_proppatch to mod_dav.h.
175 [Jari Urpalainen <jari.urpalainen nokia.com>, Graham Leggett]
177 *) mod_proxy, mod_ssl: Handle SSLProxy* directives in <Proxy> sections,
178 allowing per backend TLS configuration. [Yann Ylavic]
180 *) core: explicitly exclude 'h2' from protocols announced via an Upgrade:
181 header as commanded by http-wg. [Stefan Eissing]
183 *) mod_proxy_ajp: Add "secret" parameter to proxy workers to implement legacy
184 AJP13 authentication. PR 53098. [Dmitry A. Bakshaev <dab1818 gmail com>]
186 *) mpm: Generalise the ap_mpm_register_socket functions to accept pipes
187 or sockets. [Graham Leggett]
189 *) core: Extend support for setting aside data from the network input filter
190 to any connection or request input filter. [Graham Leggett]
192 *) core: Split ap_create_request() from ap_read_request(). [Graham Leggett]
194 *) mod_auth_digest: Fix compatibility with expression-based Authname. PR59039.
197 *) mpm: Add a complete_connection hook that confirms whether an MPM is allowed
198 to leave the WRITE_COMPLETION phase. Move filter code out of the MPMs.
201 *) core: Added support for HTTP code 451. PR58985.
202 [Yehuda Katz <yehuda ymkatz.net>, Jim Jagielski]
204 *) mod_filter: Fix AddOutputFilterByType with non-content-level filters.
205 PR58856 [Micha Lenk <micha lenk.info>]
207 *) mod_cache: Consider Cache-Control: s-maxage in expiration
208 calculations. [Eric Covener]
210 *) mod_cache: Allow caching of responses with an Expires header
211 in the past that also has Cache-Control: max-age or s-maxage.
212 PR55156. [Eric Covener]
214 *) mod_session: Introduce SessionExpiryUpdateInterval which allows to
215 configure the session/cookie expiry's update interval. PR 57300.
216 [Paul Spangler <paul.spangler ni.com>]
218 *) core: Extend support for asynchronous write completion from the
219 network filter to any connection or request filter. [Graham Leggett]
221 *) mod_auth_digest: remove AuthDigestEnableQueryStringHack which is no
222 more documented since dec 2012 (r1415960). [Christophe Jaillet]
224 *) mod_charset_lite: On EBCDIC platforms, make sure mod_charset_lite runs
225 after other resource-level filters. [Eric Covener]
227 *) http: Don't remove the Content-Length of zero from a HEAD response if
228 it comes from an origin server, module or script. [Yann Ylavic]
230 *) http: Add support for RFC2324/RFC7168. [Graham Leggett]
232 *) mod_rewrite: Add support for starting External Rewriting Programs
233 as non-root user on UNIX systems by specifying username and group name
234 as third argument of RewriteMap directive. [Jan Kaluza]
236 *) mod_authn_core: Add expression support to AuthName and AuthType.
239 *) suexec: Filter out the HTTP_PROXY environment variable because it is
240 treated as alias for http_proxy by some programs. [Stefan Fritsch]
242 *) mod_proxy_http: Don't establish or reuse a backend connection before pre-
243 fetching the request body, so to minimize the delay between it is supposed
244 to be alive and the first bytes sent: this is a best effort to prevent the
245 backend from closing because of idle or keepalive timeout in the meantime.
246 Also, handle a new "proxy-flushall" environment variable which allows to
247 flush any forwarded body data immediately. PR 56541+37920. [Yann Ylavic]
249 *) core: Define and UnDefine are no longer permitted in
250 directory context. Previously they would always be evaulated
251 as the configuration was read without regard for the directory
252 context. [Eric Covener]
254 *) config: For directives that do not expect any arguments, enforce
255 that none are specified in the configuration file.
256 [Joachim Zobel <jzobel heute-morgen.de>, Eric Covener]
258 *) mod_rewrite: Improve 'bad flag delimeters' startup error by showing
259 how the input was tokenized. PR 56528. [Edward Lu <Chaosed0 gmail.com>]
261 *) mod_proxy: Don't put non balancer-member workers in error state by
262 default for connection or 500/503 errors, and honor status=+I for
263 any error. PR 48388. [Yann Ylavic]
265 *) ap_expr: Add filemod function for checking file modification dates
268 *) mod_authnz_ldap: Resolve crashes with LDAP authz and non-LDAP authn since
269 r1608202. [Eric Covener]
271 *) apreq: Content-Length header should be always interpreted as a decimal.
272 Leading 0 could be erroneously considered as an octal value. PR 56598.
273 [Chris Card <ctcard hotmail com>]
275 *) mod_proxy: Now allow for 191 character worker names, with non-fatal
276 errors if name is truncated. PR53218. [Jim Jagielski]
278 *) mod_ssl: Add optional function "ssl_get_tls_cb" to allow support
279 for channel bindings. [Simo Sorce <simo redhat.com>]
281 *) mod_proxy_wstunnel: Concurrent websockets messages could be
282 lost or delayed with ProxyWebsocketAsync enabled.
283 [Edward Lu <Chaosed0 gmail.com>]
285 *) core, mod_info: Add compiled and loaded PCRE versions to version
286 number display. [Rainer Jung]
288 *) mod_authnz_ldap: Return LDAP connections to the pool before the handler
289 is run, instead of waiting until the end of the request. [Eric Covener]
291 *) mod_proxy_html: support automatic detection of doctype and processing
292 of FPIs. PR56285 [Micha Lenk <micha lenk info>, Nick Kew]
294 *) mod_proxy_html: skip documents shorter than 4 bytes
295 PR 56286 [Micha Lenk <micha lenk info>]
297 *) core: Add ap_mpm_resume_suspended() API to allow a suspended connection
299 [Artem <artemciy gmail.com>, Edward Lu <Chaosed0 gmail.com>]
301 *) core: Add ap_mpm_register_socket_callback_timeout() API. [Eric Covener]
303 *) mod_proxy_wstunnel: Honor ProxyWebsocketIdleTimeout in asynchronous
304 processing mode. [Eric Covener]
306 *) mod_authnz_ldap: Fail explicitly when the filter is too long. Remove
307 unnecessary apr_pstrdup() and strlen(). [Graham Leggett]
309 *) Add the ldap-search option to mod_authnz_ldap, allowing authorization
310 to be based on arbitrary expressions that do not include the username.
313 *) Add the ldap function to the expression API, allowing LDAP filters and
314 distinguished names based on expressions to be escaped correctly to
315 guard against LDAP injection. [Graham Leggett]
317 *) Add module mod_ssl_ct, which provides an implementation of Certificate
318 Transparency (RFC 6962) for httpd. [Jeff Trawick]
320 *) mod_proxy_wstunnel: Avoid sending error responses down an upgraded
321 websockets connection as it is being close down. [Eric Covener]
323 *) mod_proxy_wstunnel: Allow the administrator to cap the amount
324 of time a synchronous websockets connection stays idle with
325 ProxyWebsocketIdleTimeout. [Eric Covener]
327 *) mod_proxy_wstunnel: Change to opt-in for asynchronous support, adding
328 directives ProxyWebsocketAsync and ProxyWebsocketAsyncDelay.
331 *) mod_proxy_wstunnel: Stop leaking websockets backend connections under
332 event MPM (trunk-only). [Eric Covener]
334 *) mod_proxy_http: Add detach_backend hook (potentially usable
335 in other proxy scheme handlers). [Jeff Trawick]
337 *) mod_deflate: Add DeflateAlterETag to control how the ETag
338 is modified. The 'NoChange' parameter mimics 2.2.x behavior.
339 PR 45023, PR 39727. [Eric Covener]
341 *) mod_dir: Default to 2.2-like behavior and skip execution when method is
342 neither GET nor POST, such as for DAV requests. PR 54914. [Chris Darroch]
344 *) mod_rewrite: Rename the handler that does per-directory internal
345 redirects to "rewrite-redirect-handler" from "redirect-handler" so
346 it is less ambiguous and less likely to be reused. [Eric Covener]
348 *) mod_rewrite: Protect against looping with the [N] flag by enforcing a
349 default limit of 10000 iterations, and allowing each rule to change its
350 limit. [Eric Covener]
352 *) mod_ssl: Fix config merging of SSLOCSPEnable and SSLOCSPOverrideResponder.
355 *) Add HttpContentLengthHeadZero and HttpExpectStrict directives.
356 [Yehuda Sadeh <yehuda inktank com>, Justin Erenkrantz]
358 *) mod_ssl: Add -t -DDUMP_CA_CERTS option which dumps the filenames of all
359 configured SSL CA certificates to stdout the same way as DUMP_CERTS does.
362 *) mod_ssl: Don't flush when an EOS is received. Prepares mod_ssl
363 to support write completion. [Graham Leggett]
365 *) core: Add parse_errorlog_arg callback to ap_errorlog_provider
366 to allow providers to check the ErrorLog argument. [Jan Kaluza]
368 *) mod_cgid: Use the servers Timeout for each read from a CGI script,
369 allow override with new CGIDRequestTimeout directive. PR43494
370 [Eric Covener, Toshikuni Fukaya <toshikuni-fukaya cybozu co jp>]
372 *) core: ensure any abnormal exit is reported to stderr if it's a tty.
375 *) mod_lua: Let the Inter-VM get/set functions work with a global
376 shared memory pool instead of a per-process pool. [Daniel Gruno]
378 *) ldap: Support ldaps when using the Microsoft LDAP SDK.
379 PR 54626. [Jean-Frederic Clere]
381 *) mod_authnz_ldap: Change default value of AuthLDAPMaxSubGroupDepth to 0
382 to avoid performance problems when subgroups aren't in use. [Eric Covener]
384 *) mod_syslog: New module implementing syslog ap_error_log provider.
385 Previously, this code was part of core, now it's in separate module.
388 *) core: Add ap_errorlog_provider to make ErrorLog logging modular. Move
389 syslog support from core to new mod_syslog. [Jan Kaluza]
391 *) mod_status, mod_echo: Fix the display of client addresses.
392 They were truncated to 31 characters which is not enough for IPv6 addresses.
393 PR 54848 [Bernhard Schmidt <berni birkenwald de>]
395 *) mod_unique_id: Use output of the PRNG rather than IP address and
396 pid, avoiding sleep() call and possible DNS issues at startup,
397 plus improving randomness for IPv6-only hosts.
398 [Jan Kaluza <jkaluza redhat.com>]
400 *) core: merge AllowEncodedSlashes from the base configuration into
401 virtual hosts. [Eric Covener]
403 *) AIX: Install DSO's with "cp" instead of "install" in instdso.sh
406 *) mod_ldap: Don't keep retrying if a new LDAP connection times out.
409 *) mod_deflate: permit compilation of mod_deflate against a zlib that has
410 been configured with -D Z_PREFIX, which redefines the token "deflate".
413 *) mod_auth_digest: Use the secret when generating nonces in all cases and
414 not only when AuthName is used in .htaccess files (this change may cause
415 problems if used with round robin load balancers). Don't regenerate the
416 secret on graceful restarts. PR 54637 [Stefan Fritsch]
418 *) core: Stop the HTTP_IN filter from attempting to write error buckets
419 to the output filters, which is bogus in the proxy case. Create a
420 clean mapping from APR codes to HTTP status codes, and use it where
421 needed. [Graham Leggett]
423 *) mod_proxy: Ensure network errors detected by the proxy are returned as
424 504 Gateway Timout as opposed to 502 Bad Gateway, in order to be
425 compliant with RFC2616 14.9.4 Cache Revalidation and Reload Controls.
427 *) mod_dav: mod_dav overrides dav_fs response on PUT failure. PR 35981
428 [Basant Kumar Kukreja <basant.kukreja sun.com>, Alejandro Alvarez
429 <alejandro.alvarez.ayllon cern.ch>]
431 *) mod_ldap: LDAP connections used for authentication were not respecting
432 LDAPConnectionPoolTimeout. PR 54587
434 *) core: ap_rgetline_core now pulls from r->proto_input_filters.
436 *) mod_proxy_html: process parsed comments immediately.
437 Fixes bug where parsed comments may be lost. [Nick Kew]
439 *) mod_proxy_html: introduce doctype for HTML 5 [Nick Kew]
441 *) mod_proxy_html: fix typo-bug processing "strict" vs "transitional"
442 HTML/XHTML [Nick Kew]
444 *) core: Add option to add valgrind support. Use it to reduce false positive
445 warnings in mod_ssl. [Stefan Fritsch]
447 *) mod_authn_file, mod_authn_dbd, mod_authn_dbm, mod_authn_socache:
448 Cache the result of the most recent password hash verification for every
449 keep-alive connection. This saves some expensive calculations.
452 *) http: Remove support for Request-Range header sent by Navigator 2-3 and
453 MSIE 3. [Stefan Fritsch]
455 *) core, http: Extend HttpProtocol with an option to enforce stricter HTTP
456 conformance or to only log the found problems. [Stefan Fritsch]
460 *) core: Add LogLevelOverride directive that allows to override the
461 loglevel for clients from certain IPs. This also works for things
462 like the SSL handshake where <If> LogLevel ... </If> is evaluated
463 too late. [Stefan Fritsch]
465 *) core: Add new directive Warning to issue warnings from a configuration
466 file. Both Warning and Error now generate a timestamped log message.
469 *) ap_expr: Add SERVER_PROTOCOL_VERSION, ..._MAJOR, and ..._MINOR
470 variables. [Stefan Fritsch]
472 *) core: New directive RegisterHttpMethod for registering non-standard
473 HTTP methods. [Stefan Fritsch]
475 *) core: New directive HttpProtocol which allows to disable HTTP/0.9
476 support. [Stefan Fritsch]
478 *) mod_allowhandlers: New module to forbid specific handlers for specific
479 directories. [Stefan Fritsch]
481 *) mod_systemd: New module, for integration with systemd on Linux.
482 [Jan Kaluza <jkaluza redhat.com>]
484 *) WinNT MPM: Store pid and generation for each thread in scoreboard
485 to allow tracking of threads from exiting children via mod_status
486 or other such mechanisms. [Jeff Trawick]
488 *) The following now respect DefaultRuntimeDir/DEFAULT_REL_RUNTIMEDIR:
489 - APIs: ap_log_pid(), ap_remove_pid, ap_read_pid()
490 - mod_cache: thundering herd lock directory
491 - mod_lbmethod_heartbeat, mod_heartmonitor: heartbeat storage file
492 - mod_ldap: shared memory cache
493 - mod_socache_shmcb, mod_socache_dbm: shared memory or dbm for cache
496 *) suexec: Add --enable-suexec-capabilites support on Linux, to use
497 setuid/setgid capability bits rather than a setuid root binary.
500 *) suexec: Add support for logging to syslog as an alternative to logging
501 to a file; configure --without-suexec-logfile --with-suexec-syslog.
504 *) mod_ssl: Add support for TLS Next Protocol Negotiation. PR 52210.
505 [Matthew Steele <mdsteele google.com>]
507 *) cross-compile: allow to provide CC_FOR_BUILD so that gen_test_char will
508 be compiled by the build compiler instead of the host compiler.
509 Also set CC_FOR_BUILD to 'cc' when cross-compilation is detected.
510 PR 51257. [Guenter Knauf]
512 *) core: In maintainer mode, replace apr_palloc with a version that
513 initializes the allocated memory with non-zero values, except if
514 AP_DEBUG_NO_ALLOC_POISON is defined. [Stefan Fritsch]
516 *) mod_policy: Add a new testing module to help server administrators
517 enforce a configurable level of protocol compliance on their
518 servers and application servers behind theirs. [Graham Leggett]
520 *) mod_firehose: Add a new debugging module able to record traffic
521 passing through the server in such a way that connections and/or
522 requests be reconstructed and replayed. [Graham Leggett]
532 [Apache 2.5.0-dev includes those bug fixes and changes with the
533 Apache 2.4.xx tree as documented below, except as noted.]
535 Changes with Apache 2.4.x and later:
537 *) http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/CHANGES?view=markup
539 Changes with Apache 2.2.x and later:
541 *) http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/CHANGES?view=markup
543 Changes with Apache 2.0.x and later:
545 *) http://svn.apache.org/viewvc/httpd/httpd/branches/2.0.x/CHANGES?view=markup