Add config flag for support of client port reuse

This commit is contained in:
Manuel Pégourié-Gonnard 2015-09-04 10:53:25 +02:00
parent dbd23079d0
commit 26d227ddfc

View file

@ -1134,6 +1134,20 @@
*/
#define MBEDTLS_SSL_DTLS_HELLO_VERIFY
/**
* \def MBEDTLS_SSL_DTLS_CLIENT_PORT_REUSE
*
* Enable server-side support for clients that reconnect from the same port.
*
* Some clients unexpectedly close the connection and try to reconnect using the
* same source port. This needs special support from the server to handle the
* new connection securely, as described in section 4.1.8 of RFC 6347. This
* flag enables that support.
*
* Comment this to disable support for clients reusing the source port.
*/
#define MBEDTLS_SSL_DTLS_CLIENT_PORT_REUSE
/**
* \def MBEDTLS_SSL_DTLS_BADMAC_LIMIT
*