Re: [Ice] I-D Action: draft-ietf-ice-trickle-20.txt

Peter Saint-Andre <stpeter@mozilla.com> Wed, 11 April 2018 21:28 UTC

Return-Path: <stpeter@mozilla.com>
X-Original-To: ice@ietfa.amsl.com
Delivered-To: ice@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2D91D12895E for <ice@ietfa.amsl.com>; Wed, 11 Apr 2018 14:28:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.701
X-Spam-Level:
X-Spam-Status: No, score=-2.701 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=mozilla.com
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 ddmw-cn6jpBx for <ice@ietfa.amsl.com>; Wed, 11 Apr 2018 14:28:18 -0700 (PDT)
Received: from mail-it0-x22f.google.com (mail-it0-x22f.google.com [IPv6:2607:f8b0:4001:c0b::22f]) (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 03FAD12D885 for <ice@ietf.org>; Wed, 11 Apr 2018 14:27:50 -0700 (PDT)
Received: by mail-it0-x22f.google.com with SMTP id 19-v6so4459647itw.3 for <ice@ietf.org>; Wed, 11 Apr 2018 14:27:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mozilla.com; s=google; h=subject:from:to:references:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ViaMZcC9/M3fPWSOUZobPOa7UuY9HAlUBXl2VxqCZIg=; b=bw9P58Xt8YXIq7c2gxTIjeUOXRxexOfQ2owZGB9Wl3sqRwcAeZhJv4qAUw29k58/2i wZgH8TrLmt33yqtTplkTTJxTnLfH7c5X+lSTW9Rs7YS7qi72KvJ6LYNmN3fpo2N51sdB Dg8II30Tfq9uf+rWXsiSik3EELKGz0jOaB8Fg=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:references:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=ViaMZcC9/M3fPWSOUZobPOa7UuY9HAlUBXl2VxqCZIg=; b=ejmcAL4KVwvNxjKGMh2j3uX5aZTYA7bncZH8PoeRXxA9L3lIpDTBfgPt9jLOheLRLu 2IlXJ5naPW9f1UoIRGwq0ZhMqbQfZxOTZWIK/ZrVn2oYwSGa4H8DDLvR1QzAqtVHoy23 ptgxXRvvsYvvJxlGMZf+WWj+/LIygGZ0GA3wa4x/JHL6C4CFvSqwgqapdVIwUltoAXsT KXLofp5FGsiVdBSVmJlnFHh47gM8IaPQXo9yyVANDAEB4iNnzPKkfwf3Brn/yhmcttwi cCtl+iuR+elHrRMau37PYH649Hqyrs9Qrb/Cmhoqo0NSsrrOO3Vl/35eGMk1Pf3uABLx d+Wg==
X-Gm-Message-State: ALQs6tDnftHUv6FTW2rQMR29+cF9RztYOHYYX4WdaJmItNe+n+VqK0OX 2Ibl8VIMOpjI4bSrBOst9QyDgt/QaqI=
X-Google-Smtp-Source: AIpwx48vxW/406lhCJHpH1KeX31inbfRdguGc/+B//c1wxN0cT5P9TK2uMOwUGvAngpxb9kLNLmkAg==
X-Received: by 2002:a24:c301:: with SMTP id s1-v6mr6202237itg.100.1523482068164; Wed, 11 Apr 2018 14:27:48 -0700 (PDT)
Received: from dragon.local ([76.25.3.152]) by smtp.gmail.com with ESMTPSA id 72-v6sm1137490itg.36.2018.04.11.14.27.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Apr 2018 14:27:47 -0700 (PDT)
From: Peter Saint-Andre <stpeter@mozilla.com>
To: ice@ietf.org
References: <152331734608.13396.14003423726113423470@ietfa.amsl.com> <14262ab0-2247-4938-7d66-4dc28ad37474@mozilla.com>
Openpgp: preference=signencrypt
Autocrypt: addr=stpeter@mozilla.com; prefer-encrypt=mutual; keydata= xsFNBFonEf4BEADvZ+RGsJoOyZaw2rKedB9pBb2nNXVGgymNS9+FAL/9SsfcrKaGYSiWEz7P Lvc97hWH3LACFAHvnzoktv+4IWHjItvhdi9kUQ3Gcbahe55OcdZuSXXH3w5cHF0rKz9aYRpN jENqXM5dA8x4zIymJraqYvHlFsuuPB8rcRIV9SKsvcy14w9iRqu770NjXfE/aIsyRwwmTPiU FQ0fOSDPA/x2DLjed/GYHem90C5vF4Er9InMqH5KAMLnjIYZ9DbPx5c5EME4zW/d648HOvPB bm+roZs4JTHBhjlrTtzDDpMcxHq1e8YPvSdDLPvgFXDcTD4+ztkdO5rvDkbc61QFcLlidU8H 3KBiOVMA/5Rgl4lcWZzGfJBnwvSrKVPsxzpuCYDg01Y/7TH4AuVkv5Na6jKymJegjxEuJUNw CBzAhxOb0H9dXROkvxnRdYS9f0slcNDBrq/9h9dIBOqLhoIvhu+Bhz6L/NP5VunQWsEleGaO 3gxGh9PP/LMyjweDjPz74+7pbyOW0b5VnIDFcvCTJKP0sBJjRU/uqmQ25ckozuYrml0kqVGp EfxhSKVqCFoAS4Q7ux99yT4re2X1kmlHh3xntzmOaRpcZsS8mJEnVyhJZBMOhqE280m80ZbS CYghd2K0EIuRbexd+lfdjZ+t8ROMMdW5L51CJVigF0anyYTcAwARAQABzSdQZXRlciBTYWlu dC1BbmRyZSA8c3RwZXRlckBtb3ppbGxhLmNvbT7CwZQEEwEIAD4WIQQ1VSPTuPTvyWCdvvRl YYwYf2gUqQUCWicR/gIbIwUJCWYBgAULCQgHAgYVCAkKCw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SLAMgp7eihF0kGf2S2CmpIFYXGb61hAD8SqSY7 Fn7V
Message-ID: <b011715c-08f8-0394-238e-cd7922def27e@mozilla.com>
Date: Wed, 11 Apr 2018 15:27:46 -0600
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
MIME-Version: 1.0
In-Reply-To: <14262ab0-2247-4938-7d66-4dc28ad37474@mozilla.com>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ice/Tdy7l7FZUPYL-IIPiQm3-r_-0ko>
Subject: Re: [Ice] I-D Action: draft-ietf-ice-trickle-20.txt
X-BeenThere: ice@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Interactive Connectivity Establishment \(ICE\)" <ice.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ice>, <mailto:ice-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ice/>
List-Post: <mailto:ice@ietf.org>
List-Help: <mailto:ice-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ice>, <mailto:ice-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Apr 2018 21:28:21 -0000

Ekr and I looked at the peer reflexive text and found two things that
are easily fixed with some wordsmithing:

* In §11, the order of points 4 and 5 could be interpreted to mean that
a Trickle ICE agent aapplies the redundancy checking rules from 5245bis
and only then applies the rule in point 5 about pairs with peer
reflexive candidates.

* Also in §11 (and §10 too), point 6 says:

   6.  If after the relevant redundancy tests the check list where the
       pair is to be added already contains the maximum number of
       candidate pairs (100 by default as per [rfc5245bis]), the agent
       SHOULD discard any pairs in the Failed state to make room for the
       new pair.  If there are no such pairs, the agent SHOULD discard
       the new pair.

Discarding the new pair is not consistent with §6.1.2.5 of 5245bis;
instead, we should discard lower-priority pairs to prune things down to
the maximum number of candidate pairs.

Peter

On 4/9/18 5:43 PM, Peter Saint-Andre wrote:
> Some further edits along the lines discussed on list...
> 
> On 4/9/18 5:42 PM, internet-drafts@ietf.org wrote:
>>
>> A New Internet-Draft is available from the on-line Internet-Drafts directories.
>> This draft is a work item of the Interactive Connectivity Establishment WG of the IETF.
>>
>>         Title           : Trickle ICE: Incremental Provisioning of Candidates for the Interactive Connectivity Establishment (ICE) Protocol
>>         Authors         : Emil Ivov
>>                           Eric Rescorla
>>                           Justin Uberti
>>                           Peter Saint-Andre
>> 	Filename        : draft-ietf-ice-trickle-20.txt
>> 	Pages           : 33
>> 	Date            : 2018-04-09
>>
>> Abstract:
>>    This document describes "Trickle ICE", an extension to the
>>    Interactive Connectivity Establishment (ICE) protocol that enables
>>    ICE agents to begin connectivity checks while they are still
>>    gathering candidates, by incrementally exchanging candidates over
>>    time instead of all at once.  This method can considerably accelerate
>>    the process of establishing a communication session.
>>
>>
>> The IETF datatracker status page for this draft is:
>> https://datatracker.ietf.org/doc/draft-ietf-ice-trickle/
>>
>> There are also htmlized versions available at:
>> https://tools.ietf.org/html/draft-ietf-ice-trickle-20
>> https://datatracker.ietf.org/doc/html/draft-ietf-ice-trickle-20
>>
>> A diff from the previous version is available at:
>> https://www.ietf.org/rfcdiff?url2=draft-ietf-ice-trickle-20
>>
>>
>> Please note that it may take a couple of minutes from the time of submission
>> until the htmlized version and diff are available at tools.ietf.org.
>>
>> Internet-Drafts are also available by anonymous FTP at:
>> ftp://ftp.ietf.org/internet-drafts/
>>
>> _______________________________________________
>> Ice mailing list
>> Ice@ietf.org
>> https://www.ietf.org/mailman/listinfo/ice
>>