Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jun 2012 15:29:49 -0700
From:      Oleg Moskalenko <oleg.moskalenko@citrix.com>
To:        "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org>, "'mm@freebsd.org'" <mm@freebsd.org>
Subject:   RE: Libevent2 port is not passing SSL regression tests
Message-ID:  <031222CBCF33214AB2EB4ABA279428A3011A2D0170BB@SJCPMAILBOX01.citrite.net>
In-Reply-To: <031222CBCF33214AB2EB4ABA279428A3011A2D0170B9@SJCPMAILBOX01.citrite.net>
References:  <031222CBCF33214AB2EB4ABA279428A3011A2D0170B9@SJCPMAILBOX01.citrite.net>

next in thread | previous in thread | raw e-mail | index | archive | help
I got reply from libevent guys:

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
This is actually an openssl bug that prevents OpenSSL 1.0.1 from
renegotiating with itself successfully when it has negotiated TLS 1.1 or
TLS 1.2.

It doesn't seem to have an OpenSSL ticket yet; we only figured it out
yesterday on the Tor bugtracker. See
https://trac.torproject.org/projects/tor/ticket/6033 for what we learned
there. With any luck, this should be fixed in openssl 1.0.1d or 1.0.1e.
It is nothing to worry about, unless you're using renegotiation with
OpenSSL and TLS 1.1 or TLS 1.2.

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

So, this is a well-known problem (since yesterday, but anyway) and somebody=
 in OpenSSL community will (hopefully) take care about it.

Oleg

> -----Original Message-----
> From: owner-freebsd-ports@freebsd.org [mailto:owner-freebsd-
> ports@freebsd.org] On Behalf Of Oleg Moskalenko
> Sent: Sunday, June 03, 2012 1:51 PM
> To: freebsd-ports@freebsd.org; 'mm@freebsd.org'
> Subject: Libevent2 port is not passing SSL regression tests
>=20
> Hi
>=20
> Libevent is a very important port that is used in many projects
> (Chromium and Memcached are among the best known ones).
> I installed the latest current version of libevent 2.0.19 (port
> devel/libevent2) and it seems like it is broken in regard to OpenSSL
> integration (I use the OpenSSL recent port, which is 1.0.1c version). I
> filed a bug in libevent community, but may be somebody from FreeBSD
> community can take a look, because probably FreeBSD is not on high
> priority list of libevent community and this port affects many other
> projects. This is my bug report:
>=20
>=20
> Bugs item #3531737, was opened at 2012-06-03 13:35
> Message generated for change (Tracker Item Submitted) made by holger67
> You can respond by visiting:
> https://sourceforge.net/tracker/?func=3Ddetail&atid=3D461322&aid=3D353173=
7&gr
> oup_id=3D50884
>=20
> Please note that this message will contain a full copy of the comment
> thread,
> including the initial issue submission, for this request,
> not just the latest update.
> Category: libevent-core
> Group: For 2.0
> Status: Open
> Resolution: None
> Priority: 5
> Private: No
> Submitted By: Oleg Moskalenko (holger67)
> Assigned to: Nobody/Anonymous (nobody)
> Summary: "make verify" fails on FreeBSD OpenSSL tests
>=20
> Initial Comment:
> OS: FreeBSD 8.x and 9.x
> Libevent versions tested: 2.0.15 and 2.0.19
> OpenSSL version: 1.0.1c
>=20
> During the "make verify" regression tests two tests failed:
>=20
> ...............
> regress: ssl/bufferevent_renegotiate_socketpair:
>   FAIL regress_ssl.c:335: assert(test_is_done =3D=3D 1)
>   [bufferevent_renegotiate_socketpair FAILED]
> ssl/bufferevent_renegotiate_filter:
>   FAIL regress_ssl.c:335: assert(test_is_done =3D=3D 1)
>   [bufferevent_renegotiate_filter FAILED]
> 2/179 TESTS FAILED. (0 skipped)
> .................
>=20
> It happens with kqueue, poll and select I/O engines.
>=20
> It happens with both 32 bits and 64 bits OS versions.
>=20
> I am attaching the event-config.h file, generated on my FreeBSD 8.2 32-
> bits system, just in case if it helps.
> I also tested it on FreeBSD 9.0 amd64 64-bits system, the error is
> exactly the same.
>=20
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> =3D=3D
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-
> unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?031222CBCF33214AB2EB4ABA279428A3011A2D0170BB>