Message-ID: <53C07082.8060906@...1147...> Date: Sat, 12 Jul 2014 01:17:22 +0200 From: Jan Just Keijser MIME-Version: 1.0 References: <53BF9998.5020906@...1921...> <53BFA5AA.4070305@...1147...> <53BFA759.7060307@...1227...> <53BFA9A0.3020605@...1147...> <53BFACDE.9050609@...1227...> <53BFAF81.2080705@...1147...> <53BFC22C.5010601@...1227...> <53BFF9BE.1090204@...1147...> <20140711180758.GJ1118@...1296...> <53C02A4E.6040103@...1147...> <53C02E63.9070909@...1856...> In-Reply-To: <53C02E63.9070909@...1856...> Subject: Re: [Openvpn-devel] [PATCH] Add topology in sample server configuration file List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit To: Steffan Karger , openvpn-devel@lists.sourceforge.net Hi, On 11/07/14 20:35, Steffan Karger wrote: > Hi, > > On 11-07-14 20:17, Jan Just Keijser wrote: >> on CentOS 5 I get >> >> checking for SSL_OP_NO_TICKET flag in OpenSSL... no >> configure: error: OpenVPN 2.4+ requires SSL_OP_NO_TICKET in OpenSSL >> >> which is logical as the "stock" openssl lib on CentOS 5 is openssl 0.9.8 >> ; to me, this breaks CentOS 5 builds, as I have no option nor desire to >> build & install openssl 1.0 on them. > Hmm, I actually checked that 0.9.8 (the minimum version supported by > 2.4) has SSL_OP_NO_TICKET. From the OpenSSL changelog: > > "Changes between 0.9.8e and 0.9.8f [11 Oct 2007] > [...] > If a client or server wishes to disable RFC4507 support then the option > SSL_OP_NO_TICKET can be set." > > I expected distributions had incorporated that by now. Not sure whether > to add extra code here, or just declare it ancient and let distros/users > either backport newer OpenSSL or use 2.3. > > RHEL5 (on which CentOS 5 is based) includes openssl 0.9.8e + bug fixes and apparently no SSL_OP_NO_TICKET ; this will not change for the duration of RHEL5 which is a couple of more years, IIRC. my question would be : why does openvpn need SSL_OP_NO_TICKET? why not #ifdef the code, e.g. SSL_CTX_set_options(ctx, SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3 #ifdef SSL_OP_NO_TICKET | SSL_OP_NO_TICKET #endif ); (this is non-openvpn code) ? JM2CW, JJK