News for hackers. Stuff that matters.
Re:OpenBSD disables Heartbeat in libssl, questions IETF by tptacek on Thursday April 10, 2014 @06:25PM (#7570087)
It's worse than that. Keepalives are only really useful for (a) long-lived connections that (b) are expensive (usually: requiring manual intervention or renumbering) to reestablish.

Those parameters describe no connection made by browsers.

In other words: application-layer keepalives are only valuable to applications that already have the freedom to define their own truly application-layer keepalive anyways.

Re:OpenBSD disables Heartbeat in libssl, questions IETF by eternalban on Thursday April 10, 2014 @08:07PM (#7570480)
And that still leaves the question of why spec a payload (much less 64k "for flexibility") in a TCP heartbeat exchange.
Re:OpenBSD disables Heartbeat in libssl, questions IETF by tptacek on Thursday April 10, 2014 @08:19PM (#7570531)
Because it's the same heartbeat message used for DTLS, where the heartbeat and padding allows for variable-length probes with request and response having varying size.
Re:OpenBSD disables Heartbeat in libssl, questions IETF by eternalban on Thursday April 10, 2014 @08:46PM (#7570615)
That is understood, Tom. The question remains why spec the same for two distinct transport layer protocols.

[edit: actually I was under the impression that the payload addressed response order concerns in UDP.]

Re:OpenBSD disables Heartbeat in libssl, questions IETF by tptacek on Thursday April 10, 2014 @10:00PM (#7570864)
(It's Thomas). Because it would have made even less sense to define a TLS-specific heartbeat and a DTLS-specific heartbeat.

In the hierarchy of sensible TLS decisions, you have, from most to least reasonable:

1. Not adding new heartbeat extensions to DTLS or TLS.

2. Adding new heartbeat extensions to DTLS only.

3. Adding the same new heartbeat extensions to DTLS and TLS.

4. Adding two different new heartbeat extensions, one for DTLS and the other TLS.

Re:OpenBSD disables Heartbeat in libssl, questions IETF by tinco on Friday April 11, 2014 @07:19AM (#7572229)
Not that I'm disagreeing with you, but aren't SSL connections rather expensive to establish because of the public key encrypted key exchange? Ofcourse anno 2014 that doesn't matter, but the whole library seems a bit engineered for 1998 when establishing SSL was probably a pretty significant thing.
Re:OpenBSD disables Heartbeat in libssl, questions IETF by chalst on Friday April 11, 2014 @08:39AM (#7572494)
They should be regarded as expensive today, because key exchange is one of distinct parts of the attack surface of an SSL implementation. The less often this exchange is visible to eavesdroppers, the better.
Re:OpenBSD disables Heartbeat in libssl, questions IETF by tptacek on Friday April 11, 2014 @01:20PM (#7574198)
Repeated TLS reconnections do not necessarily invoke the entire key exchange.
Re:OpenBSD disables Heartbeat in libssl, questions IETF by tinco on Friday April 11, 2014 @10:23AM (#7572986)
.. I don't think that's a very realistic concern, is it?
Re:OpenBSD disables Heartbeat in libssl, questions IETF by general_failure on Thursday April 10, 2014 @08:04PM (#7570474)
Aren't websockets ping/pong messages similar?
Re:OpenBSD disables Heartbeat in libssl, questions IETF by tptacek on Thursday April 10, 2014 @08:20PM (#7570533)
Websockets messages are happening two layers up from TLS.
Re:OpenBSD disables Heartbeat in libssl, questions IETF by midas007 on Friday April 11, 2014 @12:47AM (#7571261)
IOW: totally worthless.

The penalty for security fails of useless features should be a slow, painful, humiliating death.