mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
Make DTLS_HELLO_VERIFY a compile option
This commit is contained in:
committed by
Paul Bakker
parent
98545f128a
commit
82202f0a9c
@ -923,6 +923,23 @@
|
||||
*/
|
||||
#define POLARSSL_SSL_ALPN
|
||||
|
||||
/**
|
||||
* \def POLARSSL_SSL_DTLS_HELLO_VERIFY
|
||||
*
|
||||
* Enable support for HelloVerifyRequest on DTLS servers.
|
||||
*
|
||||
* This feature is highly recommended to prevent DTLS servers being used as
|
||||
* amplifiers in DoS attacks against other hosts. It should always be enabled
|
||||
* unless you know for sure amplification cannot be a problem in the
|
||||
* environment in which your server operates.
|
||||
*
|
||||
* Requires: POLARSSL_SSL_SRV_C
|
||||
* POLARSSL_POLARSSL_PROTO_DTLS
|
||||
*
|
||||
* Comment this to disable support for HelloVerifyRequest.
|
||||
*/
|
||||
#define POLARSSL_SSL_DTLS_HELLO_VERIFY
|
||||
|
||||
/**
|
||||
* \def POLARSSL_SSL_SESSION_TICKETS
|
||||
*
|
||||
|
Reference in New Issue
Block a user