source: mod_gnutls/CHANGELOG @ 44323c0

Last change on this file since 44323c0 was 40d4afa, checked in by Fiona Klute <fiona.klute@…>, 19 months ago

License header and Changelog update for

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