Re: [Ice] ICE Generation clarification questions

Thomas Stach <thomass.stach@gmail.com> Wed, 01 March 2017 07:02 UTC

Return-Path: <thomass.stach@gmail.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 330AC1294B5 for <ice@ietfa.amsl.com>; Tue, 28 Feb 2017 23:02:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 4AdbFzrN3rOl for <ice@ietfa.amsl.com>; Tue, 28 Feb 2017 23:02:01 -0800 (PST)
Received: from mail-wm0-x241.google.com (mail-wm0-x241.google.com [IPv6:2a00:1450:400c:c09::241]) (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 3A6661294A7 for <ice@ietf.org>; Tue, 28 Feb 2017 23:02:01 -0800 (PST)
Received: by mail-wm0-x241.google.com with SMTP id v77so5638267wmv.0 for <ice@ietf.org>; Tue, 28 Feb 2017 23:02:01 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=5v0nRPVpDKeQZPIMzK4hW3gt1bIx0Zpddyo8NqpHOCQ=; b=bPDVQAAvN9lxubgEILbOO6kQ0MJv+QirfDq6aOPqE4M0DA2nRRNt7kt1c6Nec2mQfu PoYwr55p0Ku7wbpmqO2BCwENSrv5JGNDtFiquz+YmfvLgaPpyLkCEQ7ZJLXIjhLFApxN b1MR6OoNBnBxSUePNnk4xU+eAjB1wkGTQxqEhUnEmufFTZ9kG1O0eDHosj7Vu6FxC9T3 5em+XxuG3Ds0gb1PY6szwuq/3VUa2kCa7Lbf7IW280f3BweOMKQGdk2RuWTUGpuyBG2P dgeO3jFnBrplTvJScCH9bMW1hkmCOxsy83mCJ3AWgft4PPfoDtTtrLdOnrRJ1DO1m64d WemA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=5v0nRPVpDKeQZPIMzK4hW3gt1bIx0Zpddyo8NqpHOCQ=; b=QMX9jf77+dN8+CjsQuacNHatsvBpVJONq47iapNhMXBPjNYaeu2JwD4WqhxpP9hw7Q x/7rtWPs2sWD8xO5ns+gcCEk2ycfKynDb5h2sJkIpl9mTFVKh6qh23INzr5QSzSYykE8 6AQOHPn3WEpFKBzaf3VkHyT5vgtmna1rR/Pe/o8HWxbFC3qAVVMi9j3Bh03zj6IUMxAa 5DIU5Mqhw6aZMi8LTdXto06nzdVWfZojlKLKmPFWJ1L1TGwmwTjliHS92v9Y8x7lXANM hpqJ5MdAnliVLskBvk2y0ydmeKdSxKAieG5tszJmLLRP7lmHQCdgXQuSkPnFeC1ZGgR/ K7Jw==
X-Gm-Message-State: AMke39kdMSYw6s9Mh5/YHqbZjDu8FMO67hByXwhl0m+K8JqC/Y0MrW84G7ohc1gyh0XoFQ==
X-Received: by 10.28.226.215 with SMTP id z206mr1756029wmg.92.1488351719581; Tue, 28 Feb 2017 23:01:59 -0800 (PST)
Received: from [192.168.2.114] (dsl-linz7-19-68.utaonline.at. [81.189.19.68]) by smtp.googlemail.com with ESMTPSA id y1sm5591679wme.15.2017.02.28.23.01.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Feb 2017 23:01:58 -0800 (PST)
To: Peter Saint-Andre <stpeter@stpeter.im>, Taylor Brandstetter <deadbeef@google.com>
References: <148779754359.31167.11057689797490201951.idtracker@ietfa.amsl.com> <ca682f16-d926-d11e-ae03-6a84dfa84b68@gmail.com> <a0ca345c-75dd-002d-edc3-e829b5a60869@stpeter.im> <CAK35n0abCrm2WDd8PfQmnDBNrwf4vdCTUL9+TXSZkobATGs-cw@mail.gmail.com> <73898e41-dd66-e0be-0415-e5753880f0d1@stpeter.im> <CAK35n0ZyQBa2jttppGzVaKnfUTR1uTUCCtRfLQced+MpAmXQUA@mail.gmail.com> <2156e67b-7711-691e-2a47-9445646fab9d@gmail.com> <52d540f2-806d-4a42-1b63-acee92238e33@stpeter.im>
From: Thomas Stach <thomass.stach@gmail.com>
Message-ID: <c48f6b65-3946-40bf-2767-3cc4459cd4d0@gmail.com>
Date: Wed, 01 Mar 2017 08:01:57 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0
MIME-Version: 1.0
In-Reply-To: <52d540f2-806d-4a42-1b63-acee92238e33@stpeter.im>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ice/rmxT9usILKtCc4yrO2LxzVchHOE>
Cc: ice@ietf.org
Subject: Re: [Ice] ICE Generation clarification questions
X-BeenThere: ice@ietf.org
X-Mailman-Version: 2.1.17
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, 01 Mar 2017 07:02:03 -0000

Peter,

this addresses my comments.

"something less than a full generation" is probably not the most elegant 
term, but it does the job.

Thanks

Thomas


On 2017-02-28 21:58, Peter Saint-Andre wrote:
> Hi Thomas, please check the diff to see if I've addressed your concerns:
>
> https://tools.ietf.org/rfcdiff?url2=draft-ietf-ice-trickle-07.txt
>
> Thanks!
>
> Peter
>
> On 2/27/17 11:43 PM, Thomas Stach wrote:
>> +1
>>
>>
>> On 2017-02-27 23:38, Taylor Brandstetter wrote:
>>> Noting the connection sounds good.
>>>
>>> On Mon, Feb 27, 2017 at 1:57 PM, Peter Saint-Andre <stpeter@stpeter.im
>>> <mailto:stpeter@stpeter.im>> wrote:
>>>
>>>      Exactly. Would it help to describe it that way or at least note the
>>>      connection?
>>>
>>>      On 2/27/17 2:55 PM, Taylor Brandstetter wrote:
>>>      > Another way of looking at it is that a given generation is
>>>      identified by
>>>      > a local/remote ufrag pair, which will change on ICE restart.
>>>      >
>>>      > On Mon, Feb 27, 2017 at 1:53 PM, Peter Saint-Andre
>>>      <stpeter@stpeter.im <mailto:stpeter@stpeter.im>
>>>      > <mailto:stpeter@stpeter.im <mailto:stpeter@stpeter.im>>> wrote:
>>>      >
>>>      >     On 2/27/17 2:13 AM, Thomas Stach wrote:
>>>      >     > Hi,
>>>      >     >
>>>      >     > I'm a bit confused about the definition of an ICE
>>>      Generation and how it
>>>      >     > is used in Section 14
>>>      >
>>>      >     To be clear for folks on the list, this is in reference to
>>>      the trickle
>>>      >     draft.
>>>      >
>>>      >     >    Generation:  The complete set of candidates sent within
>>>      an ICE
>>>      >     >       negotiation session.
>>>      >     >
>>>      >     >
>>>      >     >
>>>      >     > Section 14 and the definition of Half/Full Trickle then
>>>      uses terms like
>>>      >     > "first generation"
>>>      >     > "complete generation",
>>>      >
>>>      >     For half trickle purposes, I think it would be best to use
>>>      the phrase
>>>      >     "full generation" or even "complete set of candidates". That
>>>      is: under
>>>      >     half trickle, in the initial ICE description the initiator
>>>      sends all the
>>>      >     candidates it might possibly send.
>>>      >
>>>      >     > "the responder can respond with an incomplete generation
>>>      of candidates",
>>>      >     >
>>>      >     > "full generation"
>>>      >     >
>>>      >     > This seems to imply that the generation is not necessarily
>>>      the complete
>>>      >     > set of candidates,
>>>      >
>>>      >     The generation is as defined above: the complete set of
>>>      candidates sent
>>>      >     within an ICE negotiation session. It would be better here
>>>      to use the
>>>      >     phrase "incomplete set of candidates".
>>>      >
>>>      >     > but could grow during aICE Negotiation Session until
>>>      end-of-candidates
>>>      >     > is signalled.
>>>      >     > So the generation rather seems to be the extensible set of
>>>      currently
>>>      >     > known/exchanged candidates.
>>>      >
>>>      >     No, the generation is everything sent before an ICE restart
>>>      (if any). In
>>>      >     trickle the set can grow over time, whereas in regular ICE
>>>      it can't.
>>>      >
>>>      >     > It is also not clear to me if the candidates sent by the
>>>      ICE initiator
>>>      >     > and the ICE responder
>>>      >     > belong to  different generations or if the generation is
>>>      the union of
>>>      >     > both candidate sets.
>>>      >
>>>      >     It is the union.
>>>      >
>>>      >     Peter
>>>      >
>>>      >
>>>      >     _______________________________________________
>>>      >     Ice mailing list
>>>      >     Ice@ietf.org <mailto:Ice@ietf.org> <mailto:Ice@ietf.org
>>>      <mailto:Ice@ietf.org>>
>>>      >     https://www.ietf.org/mailman/listinfo/ice
>>>      <https://www.ietf.org/mailman/listinfo/ice>
>>>      >     <https://www.ietf.org/mailman/listinfo/ice
>>>      <https://www.ietf.org/mailman/listinfo/ice>>
>>>      >
>>>      >
>>>
>>>
>