Skip to content

Can't prevent client renegotiation like you could 1.0.2 #4739

@mattcaswell

Description

@mattcaswell

This post to openssl-users points out that we have removed the ability to turn off client renegotiation as a result of the opacity work:

https://mta.openssl.org/pipermail/openssl-users/2017-November/006922.html

The text from that email:

I am referring to the DoS via repeated SSL session renegotiations (http://kalilinuxtutorials.com/thc-ssl-dos/).

Prior to OpenSSL 1.1.0 the approach to deactivate client renegotiation was to set the corresponding flag via a callback function, e.g. :

SSL *connection;
...
connection->s3->flags |= SSL3_FLAGS_NO_RENEGOTIATE_CIPHERS;

The problem now is, that this approach does not work for OpenSSL 1.1.0, because the "flags" are not accessible any longer.
It also seems that there is no *_set_flags() function for deactivating client renegotiation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions