source: mod_gnutls/CHANGELOG @ be2ad50

Last change on this file since be2ad50 was 86cd5f6, checked in by Fiona Klute <fiona.klute@…>, 3 years ago

Release version 0.11.0

  • Property mode set to 100644
File size: 15.7 KB
1** Version 0.11.0 (2020-06-27)
3- Change default for GnuTLSOCSPCheckNonce to "off", and send OCSP
4  nonces only if it has been enabled. The reason for this change is
5  that in practice most public CAs do not support OCSP nonces, which
6  is permitted by both RFC 6960 and the CA/Browser Forum baseline
7  requirements (as of version 1.6.9). In this situation enforcing
8  correct nonces by default makes the automatic OCSP stapling support
9  mostly useless.
11- Add a test for correct nonce handling with "GnuTLSOCSPCheckNonce
12  on", thanks to Krista Karppinen for that and a rewrite of the OCSP
13  responder script in Python!
15- Support session resumption using session tickets for proxy
16  connections (TLS 1.3 connections only). Requires a suitable
17  GnuTLSCache configuration.
19- Disable session tickets by default. The GnuTLS built-in key rotation
20  for session tickets never actually changes the primary key, just
21  derives keys from it, so it does not provide forward secrecy in case
22  an attacker learns the primary key (by gaining access to server
23  RAM). A reload of the server is enough to generate a new key, so
24  consider enabling session tickets and reloading the server every few
25  hours, at least until a forward-secret rotation can be implemented.
27- Fix a bug that mostly prevented searching ServerAliases when
28  selecting the virtual host from SNI.
30- Add ./configure option to disable building PDF documentation
32- Deprecate SRP and disable it by default.
34- Add support for building coverage reports using clang's source-based
35  code coverage.
37- Make ./configure check if both [::1] and are available,
38  disable either if not. This makes the build work out-of-the-box in
39  Docker containers, which by default use IPv4 only.
41** Version 0.10.0 (2020-02-03)
43- Added support for stapling multiple OCSP responses (TLS 1.3
44  only). mod_gnutls will staple for as many consecutive certificates
45  in the certificate chain as possible.
47- Added support for TLS 1.3 post-handshake authentication, used if TLS
48  client authentication is required only for some resources on the
49  server. Rehandshake (for older TLS versions) is not supported, the
50  existing but broken code has been removed.
52- The test infrastructure has been mostly rewritten in Python, note
53  the new dependencies (Python 3, Pyyaml). Tests can run multiple TLS
54  connections and HTTP(S) requests as well as custom hooks now, see
55  test/ for details.
57- Server certificates are checked for the must-staple TLS feature
58  extension, stapling must be enabled if it is present.
60- Compatibility fix for GnuTLS 3.6.11 in the test suite: Handle
61  peer certificate type in TLS session information strings.
63- The test system will automatically detect if it needs to load
64  critical modules (e.g. mod_logio) that are built-in with the Debian
65  packages. This makes the tests work on Fedora without modifications,
66  and likely on similar distributions too.
68- Tests can optionally run with Valgrind for the primary HTTPD
69  instance by running ./configure with --enable-valgrind-test, see
70  test/ for details.
72- Known issue: When using MSVA client certificate validation the
73  Valgrind tests indicate memory leaks from libcurl, which is used by
74  libmsv to send requests to the MSVA. For details see the bug report:
77** Version 0.9.1 (2019-11-29)
78- Fix possible segfault (NULL pointer dereference) on failed TLS
79  handshake. Calling ssl_var_lookup() after a failed handshake could
80  lead to GnuTLS session information functions being called on a NULL
81  session pointer, leading to segfault.
82- Remove URLs from expected error responses in the test suite. Apache
83  HTTPD removed request URLs from canned error messages to prevent
84  misleading text/links being displayed via crafted links
85  (CVE-2019-10092). Adjust the expected error responses in our tests
86  so they can pass again.
87- Test suite: Ignore "Content-Length" header of responses. Thanks to
88  Krista Karppinen!
89- Add a section about module dependencies on socache to the handbook
90- Restructure the manpage build and move it to section 5 (config
91  files)
92- Test suite: Restructure certificate directories
94** Version 0.9.0 (2019-01-23)
95- Security fix: Refuse to send or receive any data over a failed TLS
96  connection (commit 72b669eae8c45dda1850e8e5b30a97c918357b51). The
97  previous behavior could lead to requests on reverse proxy TLS
98  connections being sent in plain text, and might have allowed faking
99  requests in plain text.
100- Security fix: Reject HTTP requests if they try to access virtual
101  hosts that do not match their TLS connections (commit
102  de3fad3c12f53cdbf082ad675e4b10f521a02811). Additionally check if SNI
103  and Host header match. Thanks to Krista Karppinen for contributing
104  tests!
105- OCSP stapling is now enabled by default, if possible. OCSP responses
106  are updated regularly and stored in a cache separate from the
107  session cache. The OCSP cache uses mod_socache_shmcb by default
108  (if the module is loaded, no other configuration required).
109- Session tickets are now enabled by default if using GnuTLS 3.6.4 or
110  newer. GnuTLS 3.6.4 introduced automatic rotation for the used key,
111  and TLS 1.3 takes care of other reasons not to use tickets while
112  requiring them for session resumption. Note that there is currently
113  no mechanism to synchronize ticket keys across a cluster of servers.
114- The internal cache implementation has been replaced with
115  mod_socache. Users may need to update their GnuTLSCache settings and
116  load the appropriate socache modules.
117- ALPN (required for HTTP/2) now works correctly with different
118  "Protocols" directives between virtual hosts if building with GnuTLS
119  3.6.3 or newer. Older versions require identical "Protocols"
120  directives for overlapping virtual hosts. Thanks to Vincent Tamet
121  for the bug report!
122- ALPN is now supported for proxy connections, making HTTP/2 proxy
123  connections using mod_proxy_http2 possible.
124- GnuTLSPriorities is optional now and defaults to "NORMAL" if
125  missing. The same applies to GnuTLSProxyPriorities (if TLS proxy is
126  enabled).
127- The manual is now built as a manual page, too, if pandoc is
128  available.
129- OpenPGP support has been removed.
130- Don't require pem2openpgp for tests when building without MSVA
131  support.
133** Version 0.8.4 (2018-04-13)
134- Support Apache HTTPD 2.4.33 API for proxy TLS connections
135- Support TLS for HTTP/2 connections with mod_http2
136- Fix configuration of OCSP stapling callback
138** Version 0.8.3 (2017-10-20)
139- Use GnuTLS' default DH parameters by default
140- Handle long Server Name Indication data and gracefully ignore
141  unknown SNI types
142- Send SNI for proxy connections
143- Deprecate OpenPGP support like GnuTLS did (will be removed
144  completely in a future release)
145- Do not announce session ticket support for proxy connections
146- Minor documentation updates (SSL_CLIENT_I_DN, reference for SNI)
147- Test suite: Simplify handling of proxy backend servers and OCSP
148  responders
149- Test suite: stability/compatibility fixes
151** Version 0.8.2 (2017-01-08)
152- Test suite: Ensure CRLF line ends in HTTP headers
153- Test suite, gen_ocsp_index.c: Handle serial as fixed order byte array
155** Version 0.8.1 (2016-12-20)
156- Bugfix: Use APR_SIZE_T_FMT for portable apr_size_t formatting
158** Version 0.8.0 (2016-12-11)
159- New: Support for OCSP stapling
160- Bugfix: Access to DBM cache is locked using global mutex
161  "gnutls-cache"
162- Bugfix: GnuTLSSessionTickets is now disabled by default as described
163  in the handbook
164- Fixed memory leak while checking proxy backend certificate
165- Fixed memory leaks in post_config
166- Safely delete session ticket key (requires GnuTLS >= 3.4)
167- Improved error handling in post_config hook
168- Various handbook updates
169- Internal API documentation can be generated using Doxygen
170- Unused code has been removed (conditionals for GnuTLS 2.x and Apache
171  versions before 2.2, internal Lua bytecode structure last used in
172  2011).
173- Test suite: Fixed locking for access to the PGP keyring of the test
174  certificate authority
175- mod_gnutls can be built using Clang (unsupported)
177** Version 0.7.5 (2016-05-28)
178- Sunil Mohan Adapa reported retry loops during session shutdown in
179  cleanup_gnutls_session() due to gnutls_bye() incorrectly returning
180  GNUTLS_E_INTERRUPTED or GNUTLS_E_AGAIN. Setting the GnuTLS session
181  errno in mgs_transport_write() fixes the problem.
182- Import Daniel Kahn Gillmor's patches for GnuPG v2 support from the
183  Debian package.
184- Build system improvements that allow VPATH builds and get "make
185  distcheck" to work
187** Version 0.7.4 (2016-04-13)
188- Support SoftHSM 2 for PKCS #11 testing
189- Increase verbosity of test logs
191** Version 0.7.3 (2016-01-12)
192- Update test suite for compatibility with GnuTLS 3.4, which has
193  stricter key usage checks and priorities than 3.3.
194- Write non-HTML output to mod_status reports if AP_STATUS_SHORT is
195  set (mod_status sets it for requests with the "auto" parameter, e.g.
196  https://localhost/server-status?auto).
197- Register "ssl_is_https" function so the special mod_rewrite variable
198  %{HTTPS} works correctly with mod_gnutls. The new test case for this
199  requires Wget or curl. Fixes Debian bug #514005.
200- Test suite servers listen on IPv4 *and* IPv6 loopback addresses by
201  default (other addresses configurable), which should fix failures
202  due to localhost randomly resolving to either on some distributions.
203- Isolate tests using network namespaces, if possible. This avoids
204  port conflicts with other test cases (so they can run in parallel)
205  and host services.
206- Support for local Apache drop-in config files in the test suite
207  (e.g. to load additional modules needed on Fedora).
208- Try to use markdown to build HTML documentation if pandoc is not
209  available.
210- Disable use of flock if it is unavailable or does not support
211  timeouts (the latter caused the build to fail on Debian Hurd).
212- New test: Disable TLS 1.0 (regression test for Debian bug #754960).
214** Version 0.7.2 (2015-11-21)
215- Bugfix: Non-blocking reads in the input filter could lead to a busy
216  wait in the gnutls_io_input_read function, causing high load on
217  Keep-Alive connections waiting for data, until either more data
218  could be received or the connection was closed. The fix is to pass
219  EAGAIN/EINTR results up to the input filter so they can be handled
220  properly.
221- Close TLS session if the input filter receives EOF (mostly relevant
222  for proper termination of proxy connections).
223- Remove dependency on APR Memcache, which is replaced by the newer
224  version included in the APR Utility Library (libaprutil).
225- Remove dependency on bc. It was used for floating point arithmetic
226  in the test suite, the calculations have been changed to use
227  integers and pure bash code.
229** Version 0.7.1 (2015-10-18)
230- Improved handling of PKCS #11 modules: mod_gnutls now loads either
231  modules specified using GnuTLSP11Module, or the system defaults, but
232  not both. Thanks to Nikos Mavrogiannopoulos for the report and
233  initial patch!
234- Initialize variables to safe defaults during client certificate
235  verification. Certain error code paths did not set them, but they
236  should never be hit due to config validation. This adds another line
237  of defense.
238- Enable C99 support via autoconf
239- Test suite improvements. Most importantly, automake now handles
240  environment setup without any external make calls. Rules to build
241  the certificates are included from the old test makefile. Note that
242  the dependency on GNU make is not new (the test makefile always used
243  GNU make syntax), it just wasn't listed explicitly.
245** Version 0.7 (2015-07-12)
246- Security fix for TLS client authentication (CVE-2015-2091)
247- Bug fixes that enable support for reverse proxy operation
248- Various test suite improvements. Tests are configured through autoconf,
249  so the test suite now works for builds without Monkeysphere support.
250- Add support for TLS connections to back end servers when operating as a
251  reverse proxy (X.509 authentication only at the moment).
252- PKCS #11 support for server keys and certificates
253- Use strict compiler arguments by default (-Wall -Werror -Wextra)
254- Allow limiting the size of certificates exported as SSL_SERVER_CERT
255  and SSL_CLIENT_CERT through the GnuTLSExportCertificates directive
257** Version 0.6 (2014-02-17)
258- Generating DH Params instead of using static ones.
259- Now considering ServerAlias Directives.
260- Major Legacy Code Cleanup.
261- html and pdf and manual documentation generated from markdown sources
262- support monkeysphere validation agent (MSVA) client-certificate verification
263- wider test suite
264- GnuTLSExportCertificates off by default
266** Version 0.5.10 (2011-07-12)
267- Patched a bug responsible for excessive memory consumption by mod_gnutls.
268- Support for proxying from SSL to plain HTTP was added (ie. proxy termination).
270** Version 0.5.9 (2010-09-24)
271- GnuTLSCache none is now an allowed option.
272- Corrected behavior in Keep-Alive connections (do not
273  terminate the connection prematurely)
274- The GnuTLSCache variable now can be given the specific
275  option "gdbm" instead of "dbm". "dbm" will use the berkeley
276  db type of libapr while gdbm will force gdbm to be used.
277  sdbm is no longer being used due to serious limitations.
279** Version 0.5.8 (2010-08-18)
280- Session tickets are enabled by default.
281- Fixes some segmentation faults noticed in some
282  configurations.
284** Version 0.5.7 (2010-07-01)
285- Force usage of SDBM. For some reason the default in
286  my system had issues after reaching a limit of entries.
287  SDBM seems stable so force it.
288- Optimizations in session caching.
289- Added support for session tickets. This allows a
290  server to avoid using a session cache and still support
291  session resumption. This is at the cost of transporting
292  session data during handshake. New option
293  GnuTLSSessionTickets [on|off]
294- Depend on gnutls 2.10.0 to force support for safe
295  renegotiation.
297** Version 0.5.6 (2010-03-24)
298- Corrected issue with firefox and long POST data (by
299  handling EINTR and EAGAIN errors in read).
300- Added support for chained client certificates
301- Corrected more issues related to double frees
304** Version 0.5.5 (2009-06-13)
305- Removed limits on CA certificate loading. Reported by
306  Sander Marechal and Jack Bates.
307- Do not allow sending empty TLS packets even when instructed to.
308  This had the side effect of clients closing connection.
310** Version 0.5.4 (2009-01-04)
311- mod_gnutls.h: modified definition to extern to avoid compilation
312  errors in darwin.
313- Added patch to fix issue with mod_proxy. Investigation and patch by Alain
314  Knaff.
315- libgnutls detection uses pkg-config.
317** Version 0.5.3 (2008-10-16)
318- Corrected bug to allow having an OpenPGP-only web site.
319- Increased Max handshake tries due to interrupted system calls.
321** Version 0.5.2 (2008-06-29)
322- Depend on gnutls 2.4 which has openpgp support in main library.
324** Version 0.5.1 (2008-03-05)
325- Added --disable-srp configure option
326- Better check for memcache (patch by Guillaume Rousse)
327- Corrected possible memory leak in DBM support for resuming sessions.
329** Version 0.5.0-alpha (2008-01-24)
330- Added support for OpenPGP keys. The new directives are:
331  GnuTLSPGPKeyringFile, GnuTLSPGPCertificateFile, GnuTLSPGPKeyFile
333** Version 0.4.2 (2007-12-10)
334- Added support for sending a certificate chain.
335- Corrected bug which did not allow the TLS session cache to be used.
336- Do not allow resuming sessions on different servers.
338** Version 0.4.1 (2007-12-03)
339- Added support for subject alternative names in certificates.
340Only one per certificate is supported.
341- New enviroment variables: SSL_CLIENT_M_VERSION, SSL_CLIENT_S_SAN%,
343- The compatibility mode can now be enabled explicitely with the
344%COMPAT keyword at the GnuTLSPriorities string. It is no longer the default.
345- Check for GnuTLSPriorities directive. This corrects a segfault. Thanks
346to David Hrbáč.
347- Better handling of GnuTLSDHFile and GnuTLSRSAFile.
348- No longer default paths for RSA and DH parameter files.
Note: See TracBrowser for help on using the repository browser.