Re: [MMUSIC] ICE/DTLS optimization (was: Merging ICE aggressive and regular nomination)

Iñaki Baz Castillo <ibc@aliax.net> Mon, 04 August 2014 13:31 UTC

Return-Path: <ibc@aliax.net>
X-Original-To: mmusic@ietfa.amsl.com
Delivered-To: mmusic@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 585B01B2AED for <mmusic@ietfa.amsl.com>; Mon, 4 Aug 2014 06:31:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.678
X-Spam-Level:
X-Spam-Status: No, score=-1.678 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-0.7] autolearn=no
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 XefyTQXSgN-G for <mmusic@ietfa.amsl.com>; Mon, 4 Aug 2014 06:31:48 -0700 (PDT)
Received: from mail-pd0-f172.google.com (mail-pd0-f172.google.com [209.85.192.172]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0AAFE1B2AF2 for <mmusic@ietf.org>; Mon, 4 Aug 2014 06:31:47 -0700 (PDT)
Received: by mail-pd0-f172.google.com with SMTP id ft15so9690264pdb.31 for <mmusic@ietf.org>; Mon, 04 Aug 2014 06:31:47 -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:content-transfer-encoding; bh=E7DvO25TQ0vPogBKdsSyP1fJPIa6njyLO5sdCaflUKM=; b=aSDkkUa0LQTu5mP8ICbdvN1kVB30iS/ehmgUMgSNli6rk04MckZRgh4eofpQb/qUDS qPYqRNoS9qCXL6R8ahsXSTx4Tp/ku13kiJ+N3F8AyEHuByjWLdzZF0o2euI6/WCKsuG5 aHujZRfDhLW39beLvb67sF5A5KcqVbTOogrHHcoFy0BGSBxdkF2TvIjFGV1bEZtxVJOI QxP42x4A+xn2C0dsqbkIg4e2CcGMoCPjQX9yNIGpqGyHgbnpDjJ4eXikxBdX9J+JXtRC zw8fjk49xvqjNwa1hH9A8B8fR5eVupwksxivXqSw9QV2Trq7UBHhWydpK787uKtGZjit Y79w==
X-Gm-Message-State: ALoCoQlIlQJCeEFaIFYSR7PhAhpIWNz8PWBMn0XJfwgwjmZiMBWE1L1rhj6sxRexh8JGhVCsq9W7
X-Received: by 10.70.89.139 with SMTP id bo11mr24122048pdb.50.1407159107680; Mon, 04 Aug 2014 06:31:47 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.70.61.40 with HTTP; Mon, 4 Aug 2014 06:31:27 -0700 (PDT)
In-Reply-To: <53DF8904.6070904@jive.com>
References: <CAOJ7v-03iSNNNVMV=1vM1nUuwgCsk6JkyxPcrDEpk7MTr1LmBQ@mail.gmail.com> <53DF85B4.6060600@jive.com> <CALiegfkbxVeiUfMw2AQ=Qt=Meihq1Nxv3CDSgvN+nEc9RyCo5w@mail.gmail.com> <53DF8904.6070904@jive.com>
From: Iñaki Baz Castillo <ibc@aliax.net>
Date: Mon, 04 Aug 2014 15:31:27 +0200
Message-ID: <CALiegf=d8Sxvh73k7jpoZ2bhYv8j32th6=i6h1YVZRowSXFTwQ@mail.gmail.com>
To: Simon Perreault <sperreault@jive.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/mmusic/ShuNFTc-JERe0XdHvpGNGhlJoLA
Cc: "mmusic@ietf.org" <mmusic@ietf.org>
Subject: Re: [MMUSIC] ICE/DTLS optimization (was: Merging ICE aggressive and regular nomination)
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Multiparty Multimedia Session Control Working Group <mmusic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mmusic>, <mailto:mmusic-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/mmusic/>
List-Post: <mailto:mmusic@ietf.org>
List-Help: <mailto:mmusic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mmusic>, <mailto:mmusic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Aug 2014 13:31:49 -0000

2014-08-04 15:22 GMT+02:00 Simon Perreault <sperreault@jive.com>:
> Le 2014-08-04 09:11, Iñaki Baz Castillo a écrit :
>
>>> Another idea: put the DTLS and STUN next to each other. Since the STUN
>>> header contains the STUN message length, you can put data after it in the
>>> same UDP packet.
>>>
>>> Not saying it's a better idea, just something we could consider doing.
>>
>>
>> Please don't forget STUN and DTLS over TCP, which is carried as per
>> http://tools.ietf.org/html/rfc4571.
>
>
> Assuming you meant RTP over TCP...
>
> As this optimization would be for DTLS, I was assuming UDP only...

No, I mean STUN, DTLS and RTP over TCP.

http://tools.ietf.org/html/rfc6544

Section 3:

                     +----------+
                     |          |
                     |    App   |
          +----------+----------+     +----------+----------+
          |          |          |     |          |          |
          |   STUN   |  (D)TLS  |     |   STUN   |    App   |
          +----------+----------+     +----------+----------+
          |                     |     |                     |
          |      RFC 4571       |     |      RFC 4571       |
          +---------------------+     +---------------------+
          |                     |     |                     |
          |         TCP         |     |         TCP         |
          +---------------------+     +---------------------+
          |                     |     |                     |
          |         IP          |     |         IP          |
          +---------------------+     +---------------------+

           Figure 1: ICE TCP Stack with and without (D)TLS



-- 
Iñaki Baz Castillo
<ibc@aliax.net>