Re: [openssl-dev] [openssl.org #4271] Enhancement Request: Support TCP Fast Open

2016-01-26 Thread Viktor Dukhovni
On Tue, Jan 26, 2016 at 09:37:58PM +, Salz, Rich wrote: > TFO is interesting because it lets UDP-style attacks happen at the TCP > level. Normally you can't do a TCP attack unless you have a valid client > IP address. > > Imagine connecting once and then sending the syncookie to the botnet.

Re: [openssl-dev] ECDH engine

2016-01-26 Thread Alexander Gostrer
Hi Uri, Let me know if you have any questions about these patches. Thank you, Alex. On Wed, Jan 20, 2016 at 12:49 PM, Douglas E Engert wrote: > When I started to write the ECDSA code for engine_pkcs11 in 2011 the code > to support the method hooks was not > in the code. So I used internal Op

Re: [openssl-dev] [openssl.org #4271] Enhancement Request: Support TCP Fast Open

2016-01-26 Thread Daniel Kahn Gillmor via RT
On Tue 2016-01-26 16:37:58 -0500, Salz, Rich wrote: > TFO is interesting because it lets UDP-style attacks happen at the TCP > level. Normally you can't do a TCP attack unless you have a valid > client IP address. > > Imagine connecting once and then sending the syncookie to the botnet. This sugg

Re: [openssl-dev] [openssl.org #4271] Enhancement Request: Support TCP Fast Open

2016-01-26 Thread Daniel Kahn Gillmor
On Tue 2016-01-26 16:37:58 -0500, Salz, Rich wrote: > TFO is interesting because it lets UDP-style attacks happen at the TCP > level. Normally you can't do a TCP attack unless you have a valid > client IP address. > > Imagine connecting once and then sending the syncookie to the botnet. This sugg

[openssl-dev] [openssl.org #4274] OpenSSL 1.1 X509_NAME_der()

2016-01-26 Thread Howard Chu via RT
In OpenLDAP we reference X509_NAME->bytes->data directly, we want the DER bytes which we then pass thru our own DN validator/formatter. This no longer works with OpenSSL 1.1 and I don't see any provided method to return the DER bytes. I don't want a malloc'd copy, I just want read-only access to

Re: [openssl-dev] OpenSSL 1.1 X509_NAME issues

2016-01-26 Thread Howard Chu
Quanah Gibson-Mount wrote: --On Thursday, January 21, 2016 5:58 PM + Howard Chu wrote: In OpenLDAP we reference X509_NAME->bytes->data directly, we want the DER bytes which we then pass thru our own DN validator/formatter. This no longer works with OpenSSL 1.1 and I don't see any provided

Re: [openssl-dev] OpenSSL 1.1 X509_NAME issues

2016-01-26 Thread Quanah Gibson-Mount
--On Thursday, January 21, 2016 5:58 PM + Howard Chu wrote: In OpenLDAP we reference X509_NAME->bytes->data directly, we want the DER bytes which we then pass thru our own DN validator/formatter. This no longer works with OpenSSL 1.1 and I don't see any provided method to return the DER by

Re: [openssl-dev] [openssl.org #4271] Enhancement Request: Support TCP Fast Open

2016-01-26 Thread Salz, Rich via RT
TFO is interesting because it lets UDP-style attacks happen at the TCP level. Normally you can't do a TCP attack unless you have a valid client IP address. Imagine connecting once and then sending the syncookie to the botnet. This might be outside the scope of things OpenSSL cares about and I k

Re: [openssl-dev] [openssl.org #4271] Enhancement Request: Support TCP Fast Open

2016-01-26 Thread Salz, Rich
TFO is interesting because it lets UDP-style attacks happen at the TCP level. Normally you can't do a TCP attack unless you have a valid client IP address. Imagine connecting once and then sending the syncookie to the botnet. This might be outside the scope of things OpenSSL cares about and I k

Re: [openssl-dev] [openssl.org #4271] Enhancement Request: Support TCP Fast Open

2016-01-26 Thread Kurt Roeckx via RT
On Tue, Jan 26, 2016 at 02:17:57PM +, Sara Dickinson via RT wrote: > > > On 25 Jan 2016, at 18:42, Kurt Roeckx via RT wrote: > > > > On Mon, Jan 25, 2016 at 06:24:55PM +, Sara Dickinson via RT wrote: > >> Hi, > >> > >> I would like to request that support be added to OpenSSL to enable c

Re: [openssl-dev] recent EC_PRE_COMP changes

2016-01-26 Thread Salz, Rich
> Well I don't see an ex_data attached to EC_GROUP or EC_METHOD. No, do you need those? We can add them. > When I look at ec_lib.c, pre_comp_type is only being checked in switch > statements in _free and _dup style wrappers. Seems out of place and oddly > specific. Just one dude's opinion :) Th

Re: [openssl-dev] recent EC_PRE_COMP changes

2016-01-26 Thread Billy Brumley
>> That commit caused EC_PRE_COMP to lose a lot of generality. Was a function >> pointer approach like below considered? I'm not trying to resurrect >> EC_EXTRA_DATA, but a *little* flexibility would be nice. > > What functionality was lost that isn't available in the public and standard > EX_DATA

[openssl-dev] [openssl.org #4273] explicitText encoding

2016-01-26 Thread Klein Marek via RT
Hello, I came across a problem while I was creating a certificate. I tried to set encoding type of the explicitText in Certificate Policies to utf-8 by prependig a corresponding tag in my .cnf file, as shown in the following example. ... userNotice.1=@noticesec1 [ noticesec1 ] expli

Re: [openssl-dev] recent EC_PRE_COMP changes

2016-01-26 Thread Salz, Rich
> That commit caused EC_PRE_COMP to lose a lot of generality. Was a function > pointer approach like below considered? I'm not trying to resurrect > EC_EXTRA_DATA, but a *little* flexibility would be nice. What functionality was lost that isn't available in the public and standard EX_DATA model?

Re: [openssl-dev] [openssl.org #4272] [BUG/PATCH] Unit tests fail when DTLS is disabled

2016-01-26 Thread Short, Todd via RT
Pull request for RT4272: https://github.com/openssl/openssl/pull/589 -- -Todd Short // tsh...@akamai.com // "One if by land, two if by sea, three if by the Internet." ___ openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo

[openssl-dev] [openssl.org #4272] [BUG/PATCH] Unit tests fail when DTLS is disabled

2016-01-26 Thread Short, Todd via RT
Hello: When DTLS is disabled in master (./config no-dtls) the corresponding unit tests fail. The same thing would happen if TLS were disabled. The issue is in the ’TLS Version min/max tests’ and DTLS Version min/max tests’. The skip function is not called within a SKIP: { } block, causing the t

Re: [openssl-dev] [openssl.org #4271] Enhancement Request: Support TCP Fast Open

2016-01-26 Thread Sara Dickinson via RT
> On 25 Jan 2016, at 18:42, Kurt Roeckx via RT wrote: > > On Mon, Jan 25, 2016 at 06:24:55PM +, Sara Dickinson via RT wrote: >> Hi, >> >> I would like to request that support be added to OpenSSL to enable client >> applications to make use use of TCP Fast Open >> (https://tools.ietf.org/h

Re: [openssl-dev] OpenSSL 1.1 SSL_CTX issues

2016-01-26 Thread Matt Caswell
On 21/01/16 17:57, Viktor Dukhovni wrote: > On Thu, Jan 21, 2016 at 05:33:51PM +, Howard Chu wrote: > >> In OpenLDAP we've been using >> CRYPTO_add(&ctx->references, 1, CRYPTO_LOCK_SSL_CTX) >> to manage our own SSL_CTXs but this is not possible with current 1.1. Making >> the structures op