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

Christer Holmberg <christer.holmberg@ericsson.com> Sat, 14 April 2018 06:51 UTC

Return-Path: <christer.holmberg@ericsson.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 156E3126DFF for <ice@ietfa.amsl.com>; Fri, 13 Apr 2018 23:51:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.33
X-Spam-Level:
X-Spam-Status: No, score=-4.33 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.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 J_Ccd9yL3Jgg for <ice@ietfa.amsl.com>; Fri, 13 Apr 2018 23:51:30 -0700 (PDT)
Received: from sesbmg23.ericsson.net (sesbmg23.ericsson.net [193.180.251.37]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 25DAB126DFB for <ice@ietf.org>; Fri, 13 Apr 2018 23:51:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/simple; q=dns/txt; i=@ericsson.com; t=1523688688; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:CC:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=IIuTBBd2XUuI7ZFJEgVE2MpubXTD4J9w1NGDCsXVPMk=; b=ah7VEqHVXiZfioOOKM6xBrSP2OXpk+eC/wOcY8uqI/BrNPXexNQJs/3bQgaVtdcJ b/yFXOTTT7N+EtFgYWOnoKRJt7xiwJfkGvptVTQgJEwAA5y1We4MjKu1vaDEFtb0 j2AgH0wgNzYn8FAIcYcTBvkKhbFDuasmI9/S9pQJDkA=;
X-AuditID: c1b4fb25-1dfff7000000522b-e8-5ad1a4ef74e1
Received: from ESESSHC010.ericsson.se (Unknown_Domain [153.88.183.48]) by sesbmg23.ericsson.net (Symantec Mail Security) with SMTP id 14.5F.21035.FE4A1DA5; Sat, 14 Apr 2018 08:51:28 +0200 (CEST)
Received: from ESESSMB109.ericsson.se ([169.254.9.34]) by ESESSHC010.ericsson.se ([153.88.183.48]) with mapi id 14.03.0382.000; Sat, 14 Apr 2018 08:51:27 +0200
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Peter Saint-Andre <stpeter@mozilla.com>
CC: "ice@ietf.org" <ice@ietf.org>
Thread-Topic: [Ice] I-D Action: draft-ietf-ice-trickle-20.txt
Thread-Index: AQHT0FxykGJyvcuBZU2kFPjVPCB3lKP49tsAgAL+wgCAARF2gIACKEcAgACp8Vs=
Date: Sat, 14 Apr 2018 06:51:26 +0000
Message-ID: <258159C1-72E1-4DFF-8415-FE451E3807E0@ericsson.com>
References: <152331734608.13396.14003423726113423470@ietfa.amsl.com> <14262ab0-2247-4938-7d66-4dc28ad37474@mozilla.com> <b011715c-08f8-0394-238e-cd7922def27e@mozilla.com> <D6F50EE2.2DD77%christer.holmberg@ericsson.com>, <9f4b0044-a872-1604-b82d-a65b5166c3b1@mozilla.com>
In-Reply-To: <9f4b0044-a872-1604-b82d-a65b5166c3b1@mozilla.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Content-Type: multipart/alternative; boundary="_000_258159C172E14DFF8415FE451E3807E0ericssoncom_"
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmplkeLIzCtJLcpLzFFi42KZGbHdQPfDkotRBvcms1l8u1Br8WzlKUYH Jo8lS34yefQd6GINYIrisklJzcksSy3St0vgyrjV0c9UMDO04sT2hewNjGc9uhg5OSQETCTO 7PvO2sXIxSEkcIRR4s/dKawgCSGBxYwSq96GdTFycLAJWEh0/9MGCYsIaEvcPLSXBSTMLKAo 8XKvGkhYWMBG4tHaJYwQJbYSX5sWs0LYfhJHbvezgNgsAqoSXz9dAYvzCthLbFh6mQ1i7WQm iXMP/rOBzOQESrxeDTaTUUBM4vupNUwgNrOAuMStJ/OZIE4WkFiy5zwzhC0q8fLxP1aImmSJ pW132CHmC0qcnPmEZQKj8Cwk7bOQlM1CUgYRN5B4f24+M4StLbFs4WsoW19i45ezjMjiCxjZ VzGKFqcWJ+WmGxnrpRZlJhcX5+fp5aWWbGIERs7BLb9VdzBefuN4iFGAg1GJh3fZrItRQqyJ ZcWVuYcYJTiYlUR4V6UChXhTEiurUovy44tKc1KLDzFKc7AoifM+NN8cJSSQnliSmp2aWpBa BJNl4uCUamCU2u+Txr63M9LYVaCUk6vEYm6oy5kPx/bsDfXvW7FcRj/4oewleX8J41l5Vv5a Bz157a+/XSC4iy9Psvxx517F4/zG+Y95byc/dYqYtnXm/U49g2/6S4Ty/064+qR8c+X8JVkR H26rdG55nne7UdPwerCcgciRpCt7Ys9KiB2e7MUX4+RUoKzEUpyRaKjFXFScCABDL6p2mAIA AA==
Archived-At: <https://mailarchive.ietf.org/arch/msg/ice/y_-UvHGZhb-fjUCNynzf9IXJ4Ys>
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: Sat, 14 Apr 2018 06:51:32 -0000

Hi Peter,

It’s up to you how to handle the administrative, but I think it would be useful to be able to see your suggested changes (e.g., using a pull request, or an email describing the changes) before submitting a new version of the draft.

Regards,

Christer


Sent from my iPhone

On 14 Apr 2018, at 1.43, Peter Saint-Andre <stpeter@mozilla.com<mailto:stpeter@mozilla.com>> wrote:

On 4/12/18 4:44 AM, Christer Holmberg wrote:

Hi,

I had a look at this, and I think there are another issues regarding
referencing section 5.1.3 (in addition to the fact that section 5.1.3 of
5245bis talks about candidates - not candidates pairs- as I mentioned in
another reply).

Section 5.1.3 defines procedures when gathering local candidates - NOT
when receiving remote candidates. And, as far as I remember, 5245bis does
not talk about eliminating of remote candidates (it does talk about check
list pruning, but that¹s a separate thing).

So, I think the text in bullet 4 of section 11 is wrong - it should not
reference section 5.1.3 of 5245bis. Instead it should say something like:

   4. The agent prunes the updated check list by following the rules
   in Section 6.1.2.4 of [rfc5245bis], but only checks existing pairs
   if they have a state of Waiting or Frozen (thus avoiding removal of
   pairs for which connectivity checks are in flight or for which
   connectivity checks have already yielded a definitive result).

Agreed, this shouldn't reference 5.1.3 at all.

In general, when we talk about removing redundant pairs, I think we should
use ³prune² terminology.

Agreed.

Also, I don¹t think ³in flight checks² is terminology defined in ICE, or
STUN in general.

Does that matter?

* 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.

So, what change do you suggest?

Most likely swap the order of 4 and 5, with some slight wordsmithing.

* 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.

Do we want to discard lower-priority pairs even if they are in ³Succeeded²
or ³In-Progress² state?

No, those pairs are already carved out by the rule that the agent "only
checks existing pairs if they have a state of Waiting or Frozen".

I'll work on specific text and perhaps publish -21 over the weekend.

Peter