Re: [TLS] I-D Action:draft-ietf-tls-dtls-heartbeat-01.txt

Michael Tüxen <> Thu, 10 February 2011 15:56 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id 8445A3A69C8 for <>; Thu, 10 Feb 2011 07:56:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -2.299
X-Spam-Status: No, score=-2.299 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, MIME_8BIT_HEADER=0.3]
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id Dz0pC60GTes1 for <>; Thu, 10 Feb 2011 07:56:12 -0800 (PST)
Received: from ( [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) by (Postfix) with ESMTP id 715B53A6886 for <>; Thu, 10 Feb 2011 07:56:12 -0800 (PST)
Received: from [] ( []) (Authenticated sender: macmic) by (Postfix) with ESMTP id F0CF11C0B4619; Thu, 10 Feb 2011 16:56:22 +0100 (CET)
Mime-Version: 1.0 (Apple Message framework v1082)
Content-Type: text/plain; charset=us-ascii
From: =?iso-8859-1?Q?Michael_T=FCxen?= <>
In-Reply-To: <>
Date: Thu, 10 Feb 2011 16:56:21 +0100
Content-Transfer-Encoding: 7bit
Message-Id: <>
References: <>
X-Mailer: Apple Mail (2.1082)
Subject: Re: [TLS] I-D Action:draft-ietf-tls-dtls-heartbeat-01.txt
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Thu, 10 Feb 2011 15:56:13 -0000

On Feb 10, 2011, at 2:56 PM, Martin Rex wrote:

> =?iso-8859-1?Q?Michael_T=FCxen?= wrote:
>>>>>> The intention of the sentence in the ID is that you can not send
>>>>>> multiple HeartbeatRequest out.
>>> Duplicates can result from other phenomena, not just deliberate
>>> retransmission.
>> What is the point here? The rule is to protect the network.
>> The receiver has to handle any kind of duplication, but that
>> is not the point here.
> An over-simplified statement like
>   There MUST NOT be more than one HeartbeatRequest message in flight at
>   a time.
> is inappropiate for the stated purpose.
> This single statement does not differentiate between compliant behaviour
> for the sender and compliant behaviour for the receiver.
> If it is necessary for the _receiver_ to handle duplicates gracefully
> then this _must_ be spelled out seperately.
> As it is, the wording of the spec implies that the receiver of duplicated
> HeartbeatRequest messages needs to abort the connection with a
> fatal error in order to comply with the specification.
But that is not written anywere. The ID states clearly:

When a HeartbeatRequest message is received, a corresponding
HeartbeatResponse message MUST be sent carrying an exact copy of the
payload of the HeartbeatRequest.  The padding of the received
HeartbeatRequest message MUST be ignored.  It MUST NOT be included in
the HeartbeatResponse message, i.e. the padding field of the
HeartbeatResponse message MUST have a length of zero.

In general it is a bad idea to send a fatal error when you receive
any DTLS packet twice.

Best regards
> -Martin