[openssl-dev] frequency and size of heartbeat requests

Salz, Rich rsalz at akamai.com
Tue Dec 5 19:21:50 UTC 2017


The purpose of the HEARTBEAT message is for DTLS applications to determine the maximum packet size and tune the application records accordingly. There is never any reason to use this in TCP-based TLS; that was an OpenSSL bug that enabled it there.

The usefulness of HEARTBEAT even in DTLS is probably pretty small and it is probably safer to just turn it off. Spending time and code to “protect it” is probably not worth the effort.



More information about the openssl-dev mailing list