This is the Changelog for Tomcat Native. This changelog does not contain all updates and fixes to the Tomcat Native (yet). It should contain fixes made only after December 19th 2007, when the new documentation project for Tomcat Native was started.
Preface
Changes between 1.1.33 and 1.1.34
- Unconditionally disable export Ciphers. Use the configure flag --enable-insecure-export-ciphers for a custom build supporting those insecure ciphers. (rjung)
-
Improve ephemeral key handling for DH and ECDH.
Parameter strength is by default derived from the
certificate key strength. It can be overwritten
by embedding custom parameters in the certificate
file configured with
SSLCertificateFile
. (rjung) - The APIs SSL.generateRSATempKey() and SSL.loadDSATempKey() are no longer supported. (rjung)
- Require minimum version 0.9.8m of OpenSSL. (rjung)
- Use APR pool pre-cleanup API if available to reduce possibility of JVM core on shutdown. (mturk, rjung)
- Add feature check for APR pre-cleanup API. (mturk, rjung)
- Don't destroy pools explicitly if we are inside an apr_terminate call. (mturk, rjung)
- Fix a small memory leak if Socket.recv() is used with big buffers and recv() gets an error. (costin, rjung)
- Pass back error to JVM if a threadsafe poller should be created but the underlying APR library was build without thread support. (costin, rjung)
- Fix compilation failures with master branch of OpenSSL. Replace access to OpenSSL internals by accessor functions. (billbarker, rjung)
- Let OpenSSL master handle thread IDs itself. (billbarker)
- Minor rework of "buildconf" script. (rjung)
- Fix APR dependency version expression and requirement expression in RPM spec file. (rjung)
- Try to make the changelog.xml served by SVN-HTTP viewable in a browser by adding a stylesheet reference. (kpreisser, rjung)
- Remove code that performs a read after a renegotiation that appears to be unnecessary with OpenSSL 1.0.2. (billbarker)
Changes between 1.1.32 and 1.1.33
- Fix compilation failures with master branch of OpenSSL. Replace access to OpenSSL internals by accessor functions. (rjung/kkolinko)
- Fix a zero-boundary-check compiler warning and simplify code in the process. (rjung)
- Remove superfluous semicolons after close-braces to eliminate compiler warnings. (schultz)
- 57653: Fix crash when multiple events for same socket are returned via separate apr_pollfd_t structures. (markt)
- Enable building with OpenSSL 1.0.2 onwards. (billbarker)
- Use OpenSSL 1.0.1m with Windows binaries. (markt)
Changes between 1.1.31 and 1.1.32
Changes between 1.1.30 and 1.1.31
- 55938: Fix "Dereference of null pointer" issues in rarely used methods in ssl.c. Fix possible memory leak in Socket.sendto(). The issues were identified with clang-analyzer. (kkolinko)
- 56396: Do not create RSA keys shorter the 1024 bits if inside FIPS mode. (mturk)
- 56423: Implement stubs for methods fipsModeGet, fipsModeSet when library is compiled without OpenSSL. (kkolinko)
- 56596: Use OpenSSL 1.0.1h with Windows binaries. (markt)
Changes between 1.1.29 and 1.1.30
- 56363: Use OpenSSL 1.0.1g with Windows binaries. (mturk)
- 55915: Apply Mike Noordermeer's patch for ECDHE support. (mturk)
- 55663: Minor correction to the wording of the NOTICE file to align it with the requirements for NOTICE files. (kkolinko)
-
56027: Partial fix includes new
fipsModeGet
function to get the current state of OpenSSL FIPS mode.
Changes between 1.1.28 and 1.1.29
- Change return code when removing a socket from a poller, that was actually not in the poller from APR_SUCCESS to APR_NOTFOUND. (rjung)
Changes between 1.1.27 and 1.1.28
- Java classes in package org.apache.tomcat.jni are now taken from Tomcat trunk using svn:externals. (rjung)
- Minimum supported APR version is now again 1.2.1. Version 1.3.0 of APR improves performance. (rjung)
-
29422: Fixed double-free in
ssl_ocsp_request
. Patch provided by Aristotelis. (schultz) - 51655: Added a decent description of what tcnative actually is. (schultz)
-
51813: Add NULL-checking for
s->net
to avoid SIGSEGV in situations where it appears a socket has been recycled. (schultz)
Changes between 1.1.26 and 1.1.27
- 54513: Fix regression in pollset return value. (mturk)
- Switch CPU information on Solaris from milliseconds to microseconds. Make consistent with OS.java and Linux impl. (rjung)
Changes between 1.1.25 and 1.1.26 (not released)
- 54468: Fix FIPS mode for listeners when using OpenSSL 1.0.1c and later; resolves 'Low level API call to digest MD5 forbidden in FIPS mode!' errors. (wrowe)
- Add clearOptions function to allow access to OpenSSL's SSL_CTX_clear_options function. (schultz)
Changes between 1.1.24 and 1.1.25 (not released)
- Minimum supported APR version is now 1.3.0. (mturk)
- 52856: Fix high CPU usage when client changes IP address or has high latency. (mturk)
- Add CPU information to OS info for Linux. This was already available under Windows and Solaris. (rjung)
- 53969: ssl.c::hasOp could only check for SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION. Now it can check for any SSL_OP_* available at compile-time. (schultz)
Changes between 1.1.23 and 1.1.24
- Add support for per-socket timeouts inside poller. (markt, mturk)
Changes between 1.1.22 and 1.1.23
- 45392: Add support for OCSP verification. Based upon a patch from Aristotelis. (mturk)
- 52119: Autodetect Diablo JDK on FreeBSD and Java7+. Based upon a patch from Michael Osipov. (mturk)
- 52717: Set scope_id for IPv6 addresses if provided. (mturk)
- 50570: Allow explicit use of FIPS mode in APR lifecycle listener (native support only in this update; Java support to follow). Based upon a patch from Chris Beckey. (schultz)
Changes between 1.1.21 and 1.1.22
- Arrange release packaging script. (jfclere).
- Fix typos in the changelog. (markt).
Changes between 1.1.20 and 1.1.21 (not released)
- 50394: InternalAprInputBuffer.fill() doesn't deal correctly with EOF. (jfclere)
- Support arbitrary protocol combinations of SSLv2, SSLv3 and TLSv1. (rjung)
- 51437: Try loading certificate in DER format if PEM was invalid. (mturk)
- 49557: index error in the loop to get the env info in the proc.create function. (kkolinko, jfclere)
- 49851: JNI Registry.deleteKey and Registry.deleteValue corrupt Windows registry. (jfclere)
- 48253: adding dynamic locking callbacks for openssl engines. (jfclere)
- Make the non blocking write really no blocking. (jfclere)
- Add support for unsafe legacy renegotiation. (mturk)
Changes between 1.1.19 and 1.1.20
- 48584: Prevent crashing JVM on shutdown. (mturk)
Changes between 1.1.18 and 1.1.19
- Update windows resource files to correct version. (mturk)
- 48129: Fix build with OpenSSL 1.0.0-beta3. Patch provided by Tomas Mraz. (mturk, rjung)
- Add detection of the Mac OS X JVM. (rjung)
Changes between 1.1.17 and 1.1.18
- Fix CVE-2009-3555 SSL-Man-In-The-Middle attack. (mturk)
Changes between 1.1.16 and 1.1.17
- Arrange build after svn reorganisation (rjung)
- 47852: Fix some Javadoc errors. Patch provided by Sebb. (rjung)
- 46950: Fix SSL renegotiation in combination with client certificates. The complete solution also needs a fix in Tomcat's Java code. (markt)
- Align method names and signatures of native C code and java code. (markt, rjung)
- 42728: Remove memory leak. (markt)
- 46457: Fix use of multicast. (markt)
- Fix API name for recvfrom (mturk)
- Allow building against APR 1.3 (mturk)
- Improve fix for 43327 with better handling for IPv6 addresses (markt)
Changes between 1.1.15 and 1.1.16
- Fix API name for recvfrom (mturk)
- Allow building against APR 1.3 (mturk)
- Improve fix for 43327 with better handling for IPv6 addresses (markt)
Changes between 1.1.14 and 1.1.15
Changes between 1.1.13 and 1.1.14
- 45071: Reset ttl when Poll.pool remove is false. Additional patch was provided by Alex Barclay. (mturk)
- Fix optGet that was always throwing exceptions. (jfclere)
- Fix optSet don't throw exception as JAVA prototype doesn't. (jfclere)
Changes between 1.1.12 and 1.1.13
- IFS problem in native/build/tcnative.m4 (rjung)
- Wrong gcc link flag in native/build/tcnative.m4 (rjung)
Changes between 1.1.11 and 1.1.12
- Add support of J9VM based JVM. (jfclere)
- Arrange licence in source files. (markt)
- Add two new 'immediate' methods for sending the data. It is the responsibility of the Java callee to deal with the returned values and retry if the error was non-fatal. (mturk)
- Arrange the check of openssl version. It was failing on Linux. (jfclere)
- Prevent returning APR_SUCCESS when there is something wrong in ssl layer. (jfclere)
- 44087: Fix it. (jfclere)