mbedtls_ssl_conf_dtls_badmac_limit() is only used within mbedTLS.
 
Symbols
loading...
Files
loading (2/5)...
SummarySyntaxArgumentsRelatedReferencesData Use

Notes

If the limit is N, then the connection is terminated when the Nth non-authentic record is seen. Records with an invalid header are not counted, only the ones going through the authentication-decryption phase. This is a security trade-off related to the fact that it's often relatively easy for an active attacker to inject UDP datagrams. On one hand, setting a low limit here makes it easier for such an attacker to forcibly terminated a connection. On the other hand, a high limit or no limit might make us waste resources checking authentication on many bogus packets.

References