Re:OpenBSD disables Heartbeat in libssl, questions IETF
by Jare on Thursday April 10, 2014 @06:34PM
(#7570131)
The payload is meant to let you distinguish responses to different Heartbeats, right? I'm no expert, but sounds reasonable enough. I could see a lower limit on max payload size, but could you please elaborate a more detailed explanation why it's unnecessary and useless?
[ Parent
| on HN ]
Re:OpenBSD disables Heartbeat in libssl, questions IETF
by gpvos on Friday April 11, 2014 @05:02AM
(#7571877)
Okay, that explains things a bit. Could be done with a fixed-size payload though. Also I understand that the flexible size is intended to help with MTU discovery, but I think that would be a separate thing from a heartbeat.
Re:OpenBSD disables Heartbeat in libssl, questions IETF
by kevingadd on Thursday April 10, 2014 @07:24PM
(#7570333)
Why would you need to send multiple different heartbeats over one connection? It's for keeping the connection alive.
Re:OpenBSD disables Heartbeat in libssl, questions IETF
by pwg on Thursday April 10, 2014 @09:16PM
(#7570713)
If you are using data-grams (i.e., UDP) you have no guarantees of ordering or delivery, so you have no way to determine which transmission the echo reply you just received corresponds to without a payload that is returned to you.
Now, a 64kbyte payload, that's unnecessary for simply making each packet unique. That size was likely chosen to allow for the path MTU discovery aspects.
One could argue, however, that "keepalive" and "path MTU discovery" should not have been commingled, but they were.