diff options
author | Fred Hebert <[email protected]> | 2015-06-02 10:51:22 -0400 |
---|---|---|
committer | Fred Hebert <[email protected]> | 2015-06-03 11:58:41 -0400 |
commit | 916226427901f40d695d0d7d91106b0188900055 (patch) | |
tree | 73be5bfe291c530a46dd6486a07724c287d80087 /lib/hipe | |
parent | 21b8941d83516e381000387c47758bc7f040ae8b (diff) | |
download | otp-916226427901f40d695d0d7d91106b0188900055.tar.gz otp-916226427901f40d695d0d7d91106b0188900055.tar.bz2 otp-916226427901f40d695d0d7d91106b0188900055.zip |
Add disable client-initiated renegotiation option
Client-initiated renegotiation is more costly for the server than the
client, and this feature can be abused in denial of service attempts.
Although the ssl application already takes counter-measure for these
(via cooldown periods between renegotiations), it can be useful to
disable the feature entirely.
This patch adds the `{client_renegotiation, boolean()}' option to the
server-side of the SSL application (defaulting to `true' to be
compatible with the current behaviour).
The option disables the ability to do any renegotiation at all in the
protocol's state, reusing the existing denial code, but without opening
the code path that sets up a timed message to eventually reopen it up.
Diffstat (limited to 'lib/hipe')
0 files changed, 0 insertions, 0 deletions