mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-22 05:46:41 +01:00
Make DTLS_HELLO_VERIFY a compile option
This commit is contained in:
parent
98545f128a
commit
82202f0a9c
6 changed files with 52 additions and 19 deletions
|
|
@ -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
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue