#648638 exim4: new TLS error - (gnutls_handshake): The handshake data size is too large

#648638#5
Date:
2011-11-13 17:38:09 UTC
From:
To:
Three machines

ns-11  (armv5tel) running  Debian stable    exim4 :  4.72-6+squeeze2   libgnutls2  :  2.8.6-1
ocelot (i386)     running  Debian testing   exim4 :  4.77-1            libgnutls26 :  2.12.11-1
puma   (amd64)    running  Debian testing   exim4 :  4.77-1            libgnutls26 :  2.12.11-1

Doing esmtpa machines with x509 certificate TLS and password authorisation has been working fine
between each machine until the last exim4 upgrade.

esmtpa mail from ocelot (testing) to ns-11 (stable) and from puma (testing) to ns-11 (stable)
continues to work without problems.

BUT esmtpa mail from any machine to ocelot (testing) or puma (testing) always fails now with

on the sending machine


   TLS error on connection to {host_name} [{IP ADDRESS}]
   (gnutls_handshake):
   The handshake data size is too large (DoS?), check gnutls_handshake_set_max_packet_length().


on the receiving machine


   TLS error on connection from {host_name} [{IP_ADDRESS}]:58605 I=[{IP_ADDRESS}]:25
   (gnutls_handshake):
   A TLS packet with unexpected length was received.


Clearly there is now a bug in newly updated Exim4 / gnutls combination in setting
up *incoming* TLS connections.

#648638#10
Date:
2011-11-14 13:59:16 UTC
From:
To:
I was about to pull the boilerplate no-ubuntu-bugs-please answer when
I realized that these are your host names ;)

Just out of curiosity, does it help to significantly reduce the number
of accepted CA certificates via GnuTLS configuration?

Greetings
Marc