Skip to content

Support disabling client-side SSL renegotiation #53

Open

Description

@chrisglass

Letting clients initiate SSL renegotiation is a know vector for CPU-based DoS attacks.

relayd has configruation syntax and code to remediate this problem, by allowing adminstrators to disable client-initiated renegotiation entirely (see patch against relayd here http://article.gmane.org/gmane.os.openbsd.tech/37341):

- ssl [no] client-renegotiation
  -> allows the interception of ("secure") client initiated
     renegotioations, which are considered a risk in DDoS scenarios
     because many CPU cycles can be burned this way on a single TCP
     connection without an obvious way for the administrator to 
     immediately know what's happening.

httpd should ideally support the same feature to mitigate against this type of attack. Perhaps renegotiation should be off by default, as applications using client-side certificates for authentication are a minority.

Activity

  1. chrisglass commented on Jul 22, 2015

    @chrisglass
    Author

    This is probably going to fall in the "featuritis" bucket, but if there is interest I can try to port the patch (although it would be my first contribution, so bear with me).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions