Viktor Dukhovni:
> On Sun, Mar 22, 2015 at 12:45:05AM +0100, ?ukasz W?sikowski wrote:
>
> > This bug is hard to reproduce - smtpd (and smtp also) crashes only when
> > communicating with certain hosts (for example ebay in my case). I also
> > saw this problem when this FreeBSD was trying to send e-mail to my other
> > mail server (running current version of Linux Gentoo). I will try to
> > reproduce that.
>
> I have it crashing consistently. It is sufficient for the client
> to offer compression. For that to happen this is enough:
>
> /usr/local/bin/openssl s_client -no_ssl2 -cipher aNULL -connect
> 127.0.0.1:2525
Testing here, (with 20150216++ built from tarball), I get a
zlib-compressed session (but I also got that without the -no_ssl2
and without the "-cipher aNULL".
I need to attend a birthday now. Maybe Lukas can try to
reproduce my results in the morning.
I can try to see if Postfix 2.11 gives different results.
Wietse
/usr/local/bin/openssl s_client -no_ssl2 -cipher aNULL -connect localhost:25
-starttls smtp
WARNING: can't open config file: /usr/local/openssl/openssl.cnf
CONNECTED(00000003)
34381555576:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake
failure:s23_lib.c:184:
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 393 bytes and written 150 bytes
---
New, TLSv1/SSLv3, Cipher is AECDH-AES256-SHA
Secure Renegotiation IS supported
Compression: zlib compression
Expansion: NONE
SSL-Session:
Protocol : TLSv1.2
Cipher : AECDH-AES256-SHA
Session-ID:
Session-ID-ctx:
Master-Key:
7AFFF449AB83D64206D1F5855CAD2FA21A2F96CFFE485C2B0F61351676D1FF7B9AF061D0FBC4D4241BEBDE39EB505EA0
Key-Arg : None
PSK identity: None
PSK identity hint: None
SRP username: None
Compression: 1 (zlib compression)
Start Time: 1426982287
Timeout : 300 (sec)
Verify return code: 0 (ok)
---