Re: [TLS] DTLS epoch and resume session/handshake

Eric Rescorla <ekr@rtfm.com> Mon, 17 August 2015 14:25 UTC

Return-Path: <ekr@rtfm.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 51D5A1A1A8D for <tls@ietfa.amsl.com>; Mon, 17 Aug 2015 07:25:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level:
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id njYorOsq-SNO for <tls@ietfa.amsl.com>; Mon, 17 Aug 2015 07:25:09 -0700 (PDT)
Received: from mail-io0-f173.google.com (mail-io0-f173.google.com [209.85.223.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 168761A1A86 for <tls@ietf.org>; Mon, 17 Aug 2015 07:25:09 -0700 (PDT)
Received: by iodb91 with SMTP id b91so152388570iod.1 for <tls@ietf.org>; Mon, 17 Aug 2015 07:25:08 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=eaVwe8vKjnM/hQT8syP3TiPmuTuuo+7HzbhNEW5DROc=; b=j+KqzYjvf4aJSV9LbnFXFx6mXaDP4TQm9UGf0dpV/iytC9i+eURK9fGbk+kHjjKYd3 GmgnENyXCrNOqDG2h5j4lNUTMgd78o67ezGBWaA3XZ+aSizGxWUkH91Py6z6R1Wa+3RD iFUSUfJVdrEzOvREkkwI5lJ+1XLr4yq4K6tRCIQMSZYSyLLxRr7An07p/RWujGyvASs8 7Ydeya6aaAEgEm/1eoRSKK830hMv47NTF1WkcUnsrzuShNqDD8J6JCp9O5mMJReCYB8R BFpjkbStAUvO1mZva9SrsxE6iM2c6EIVau5F9bco5N8DkQZWnkv4+3rNq07t2Fe4xJ7q JZUQ==
X-Gm-Message-State: ALoCoQmPP8nrRP3NVlYPfEnkfPe97oEIfE5LsCV9TmcFnm07zJM1JJRsoXNu6LADBob6KqmqUXe3
X-Received: by 10.107.153.5 with SMTP id b5mr1900859ioe.143.1439821508518; Mon, 17 Aug 2015 07:25:08 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.36.79.79 with HTTP; Mon, 17 Aug 2015 07:24:29 -0700 (PDT)
In-Reply-To: <55D1EDC5.1010106@simonbernard.eu>
References: <55BB88FD.4060901@simonbernard.eu> <CABcZeBN5Sz1WSmbvOh2RJ=6r4K8VCDDp41L6CGkctFawC50pew@mail.gmail.com> <55BBA7DA.8000806@simonbernard.eu> <CABcZeBOzGz2mB8BLxcZAHu=XCSuwpOCNDpmAyQ2FdPcZD=bkbA@mail.gmail.com> <55D1EDC5.1010106@simonbernard.eu>
From: Eric Rescorla <ekr@rtfm.com>
Date: Mon, 17 Aug 2015 07:24:29 -0700
Message-ID: <CABcZeBM88ASJ0rjxBunnLQYJ+idosKydLrp8g5wUFhoNLOmaFw@mail.gmail.com>
To: Simon Bernard <contact@simonbernard.eu>
Content-Type: multipart/alternative; boundary="001a1140eaaa8ea6d7051d82917b"
Archived-At: <http://mailarchive.ietf.org/arch/msg/tls/CHVOqL0zM1iETxJsyTJd27JLwjU>
Cc: "tls@ietf.org" <tls@ietf.org>
Subject: Re: [TLS] DTLS epoch and resume session/handshake
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 17 Aug 2015 14:25:13 -0000

Please see RFC 6347 S 4.2.8

-Ekr


On Mon, Aug 17, 2015 at 7:20 AM, Simon Bernard <contact@simonbernard.eu>
wrote:

> I'm sorry to insist, but What did you mean by transport level connection ?
> For me UDP was a connectionless protocol.
>
> Simon
>
>
> Le 31/07/2015 18:53, Eric Rescorla a écrit :
>
>
>
> On Fri, Jul 31, 2015 at 6:52 PM, Simon Bernard <contact@simonbernard.eu>
> wrote:
>
>> Thx.
>> What did you mean by connection ?
>>
>
> transport level connection.
>
>
>
>> A resume handshake is a new connection ?
>
>
> You can also resume when you renegotiate.
>
> -Ekr
>
>
>> Le 31/07/2015 16:54, Eric Rescorla a écrit :
>>
>>> The epoch is set to 0 at the start of each connection and then
>>> incremented
>>> with each handshake on that connection.
>>>
>>> -Ekr
>>>
>>> On Fri, Jul 31, 2015 at 4:41 PM, Simon Bernard <contact@simonbernard.eu
>>> <mailto:contact@simonbernard.eu>> wrote:
>>>
>>>     Hi,
>>>
>>>       I search in DTLS RFC 6347 if the epoch should be (re)set to 0
>>>     when we start a resume handshake, or if we keep the last used
>>>     value, or the last used value+1 ? I can not any clue of that in
>>>     the spec.
>>>       Any idea ?
>>>
>>>     Thx
>>>     Simon
>>>
>>>     _______________________________________________
>>>     TLS mailing list
>>>     TLS@ietf.org <mailto:TLS@ietf.org>
>>>     https://www.ietf.org/mailman/listinfo/tls
>>>
>>>
>>>
>>
>
>